.container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow: hidden;
}

.containerTop {
    display: flex;
    align-items: flex-start;
    background-color: rgba(251, 251, 251, 1);
    padding: 6px 0;
    border-bottom: 1px solid rgba(222, 224, 225, 1);
}

.topWrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 20px;
    width: 100%;

    .topBtn {
        .btnImg {
            width: 40px;
            height: 40px;
        }
    }
}

.topBtn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    margin: .3%;
    line-height: 18px;
    cursor: pointer;

    .btnImg {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        border-radius: 6px;
        margin-bottom: 1px;

        &:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }
    }

    .btnImg.btnImgActive {
        background-color: rgba(193, 219, 251, 1);
    }

    .topBtnIcon {
        width: 100%;
        height: 100%;
    }
}


.btnDisabled {
    cursor: not-allowed;
    opacity: .5;
    pointer-events: none;
}

.topDownArrow {
    padding: 20px 10px;
    border-radius: 6px;
    cursor: pointer;

    &:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }

    img {
        width: 10px;
        display: block;
    }
}

.topLine {
    margin: 0 9px;
    width: 1px;
    height: 40px;
    background-color: #DCDADC;
}

.btnPlayMore {
    font-size: 24px;
}

.wrapBox {
    display: flex;
    flex-wrap: wrap;

    .topBtn {
        // width: calc(100% / 4);
        margin: 0 8px 8px;

        .btnImg {
            font-size: 30px;
        }
    }

    .longTopBtn {
        width: calc(100% / 3);

        .btnImg {
            width: 90%;
        }
    }
}

.dropDownWrap {
    width: 330px;
    background: #FFFFFF;
    box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    justify-content: space-between;
}

.content {
    flex: 1;
    display: flex;
    overflow: hidden;

    .slide {
        position: relative;
        padding: 12px 0;
        width: 300px;
        flex-shrink: 0;
        background-color: rgba(251, 251, 251, 1);
        border-right: 1px solid rgba(222, 224, 225, 1);
        overflow-y: auto;

        &::-webkit-scrollbar {
            display: none;
            width: 0;
        }
    }

    .box {
        position: relative;
        flex: 1;
        min-height: 100%;
        overflow: auto;
        padding: 20px;
        padding-bottom: 180px;
    }
}

.value {
    display: block;
    margin: 20px auto;
    width: 80%;
    height: 100Px;
}

:global {
    .deleteDialog.saveDialog {
        width: 338px;

        .n-dialog__title {
            padding-right: 0 !important;
        }

        .n-dialog__content {
            color: #777;
        }
    }

    .abcjs-note-hover {
        &:hover {
            fill: #ffe65948;
            cursor: pointer;
        }
    }

    .abcjs-bar-number {
        font-size: 12px;
        transform: translateY(-5px);
    }



    .ABCJS-cursor {
        stroke: rgba(25, 140, 254, 0.6);
        border-radius: 5px;
    }
}

.instruments {
    padding: 24px;
    background: #FFFFFF;
    box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    border: 1px solid #F5F5F7;
    width: 300px;

    .instrumentTitle {
        font-size: 18px;
        font-family: PingFangSC-Semibold, PingFang SC;
        font-weight: 600;
        color: #131415;
        line-height: 25px;
        margin-bottom: 20px;
    }
}

.titleBox {
    :global {
        .n-input__border {
            border: 1px dashed #ccc;
        }

        .n-input__input {
            text-align: center;
        }
    }
}

.popupWrap:global(.n-popover) {
    padding: 12px !important;
    background: #FFFFFF;
    box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    border: 1px solid #F5F5F7;
    padding-bottom: 20px !important;
}

.btnLineTitle {
    font-size: 16px;
    font-weight: 600;
    color: #131415;
    line-height: 40px;
    height: 40px;
}

.btnItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;


    .btnItemIcon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        font-size: 30px;
        border-radius: 6px;
        cursor: pointer;

        &:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }
    }

    .btnItemName {
        font-size: 12px;
    }

    &.btnItemActive {
        .btnItemIcon {
            background-color: rgba(193, 219, 251, 1);
        }
    }
}

.titleName {
    :global {
        .n-input {
            font-size: 18px;
            font-weight: 600;
            height: 40px;
            line-height: 40px;
        }
    }
}

.selectMearesBox {
    width: 286px;
    position: fixed;
    padding: 12px !important;
    background: #FFFFFF;
    box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    border: 1px solid #F5F5F7;
    // cursor: move;

    .mearesInput {
        display: flex;
        align-items: center;
        flex: 1;
        border: 1px solid rgb(224, 224, 230);
        border-radius: 4px;

        :global {

            .n-input__placeholder,
            .n-input__input-el {
                text-align: center;
            }
        }
    }
}

.selectMearesHidden {
    display: none;
}

.loading {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.exportPng {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -10;
    pointer-events: none;
}