@font-face {
    font-family: 'Pretendard';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('./assets/font/PretendardVariable.woff2') format('woff2');
}

.class-save-modal * {
    font-family: Pretendard;
}

.class-save-modal {
    width: min(583px, 80vw);
    height: 80%;

    display: none;
    pointer-events: auto;
    touch-action: auto;
    user-select: auto;

    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 30.45px 4.55px rgba(0, 0, 0, 0.2);
    position: absolute;
    overflow: hidden;



    top: 0px;
    left: 0px;

    .modal-header {
        height: 42px;
        background: linear-gradient(to top, rgb(3, 200, 255), rgb(3, 200, 255));
        display: flex;
        justify-content: space-between;
        padding-left: 15px;
        padding-right: 10px;

        align-items: center;

        box-sizing: border-box;

        .page-name {
            font-size: 19px;
            font-weight: bold;
            color: #ffffff;

            box-sizing: border-box;
        }

        .buttoncluster {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 5px;

            .modal-closing {
                width: 22px;
                height: 23px;
                background: url("./assets/images/icon-close.png") center center no-repeat;
            }
        }
    }

    .modal-content {
        height: calc(100% - 42px);

        .selectable-classes-container {

            flex-direction: column;
            width: 100%;
            overflow: hidden;
            margin-bottom: min(29px, 3vh);
            padding: 18px;

            width: 100%;
            height: 95%;
            display: flex;
            align-items: start;



            .title {
                font-family: Pretendard;
                font-weight: 600;
                font-size: 18px;
                color: rgb(3, 200, 255);
                margin-bottom: min(0.722em, 0.5vh);
            }

            .description {
                font-family: Pretendard;
                font-weight: 400;
                font-size: 16px;
                color: rgb(66, 66, 66);
                margin-bottom: min(30px, 1.5vh);
            }


            .data-listbox-header {
                height: 47px;
                width: 100%;
                display: flex;

                border-color: rgb(91, 91, 91);
                border-width: 2px 0px;
                border-style: solid;
                background-color: rgb(250, 249, 248);

                padding: 0px;
                margin: 0px;
                box-sizing: border-box;

                .header-box {
                    display: flex;
                    justify-content: left;
                    align-items: center;
                    height: calc(100% - 8px);
                    width: calc(100% - 8px);
                    margin: 4px;

                    .check-slot {
                        display: flex;
                        position: relative;
                        cursor: pointer;

                        justify-content: center;
                        vertical-align: middle;
                        align-items: center;
                        margin-left: 2.5%;

                    }

                    .class-name,
                    .saved-page,
                    .saved-date {
                        display: flex;
                        align-items: center;
                        padding: 12px 8px 12px 4px;
                        gap: 4px;

                        text-align: left;
                        vertical-align: middle;

                        span {
                            font-size: 16px;
                        }
                        svg {
                            stroke: #BDC2DB;
                            margin: 0px 4px;
                        }
                        &.sort svg {
                            stroke: #03C8FF;
                        }
                        &.asc svg {
                            transform-origin: center;
                            transform: rotate(180deg);
                        }
                    }
                    
                    .class-name {
                        margin-left: 16px;
                        width: 55%;
                    }

                    .saved-page {
                        width: 20%;
                    }

                    .saved-date {
                        width: 20%;
                        min-width: 90px;
                    }
                }
            }


            .data-listbox {
                display: flex;
                overflow-y: auto;
                justify-content: start;
                align-items: flex-start;
                flex-direction: column;


                width: 100%;
                height: 100%;


                .class-save-element-single:hover {
                    background-color: rgba(0, 0, 0, 0.1)
                }

                .class-save-element-single {
                    height: 47px;
                    width: 100%;
                    display: flex;
                    border-bottom: #cdcdcd 1px solid;


                    .class-save-element-detect {
                        display: flex;
                        justify-content: left;
                        align-items: center;
                        height: calc(100% - 8px);
                        width: calc(100% - 8px);
                        margin: 4px;

                        .check-slot {
                            display: flex;
                            position: relative;
                            cursor: pointer;

                            justify-content: center;
                            vertical-align: middle;
                            align-items: center;
                            margin-left: 2.5%;

                        }

                        .class-name, .saved-page, .saved-date {
                            text-align: left;
                            vertical-align: middle;
                        }

                        .class-name {
                            margin-left: 16px;
                            width: 55%;
                        }

                        .saved-page {
                            width: 20%;
                        }

                        .saved-date {
                            width: 20%;
                            min-width: 90px;
                        }
                    }
                }
            }
        }
    }

    .confirm-form {
        display: flex;
        justify-content: right;
        align-self: flex-end;

        position: relative;
        bottom: 45px;
        right: 10px;

        button:not(:first-child) {
            margin-left: 8px;
        }


        .select-all {
            border-radius: 8px;
            border: 1.5px solid rgb(201, 221, 235);
            background-color: rgb(255, 255, 255);
            color: rgb(19, 23, 31);
            font-family: Pretendard;
            font-weight: 500;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 2px 0px;

            height: 36px;
            width: 100px;
            font-size: 14px;
        }

        .delete-select {
            border-radius: 8px;
            border: transparent;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 2px 0px;
            background-color: #03C8FF;
            color: rgb(255, 255, 255);
            font-family: Pretendard;
            font-weight: 500;

            height: 36px;
            width: 100px;
            font-size: 14px;
        }
    }
}

.check-slot {
    width: 18px;
    height: 18px;
    width: 18px;
    height: 18px;

    overflow: hidden;

    .selector-checkmark {
        background-color: transparent;
    }
}


.fake-check {
    fill: rgb(255, 255, 255);
    position: relative;

    border-radius: 4px;

    width: 16px;
    height: 16px;
    width: 16px;
    height: 16px;


    border: 1.3px solid #c1cfd7;
    align-items: center;
    justify-content: center;

    img {
        position: absolute;
        justify-self: center;
        vertical-align: center;

        transform: translate(-1px, -1px);
    }

}

.fake-check:hover {
    border: 1.3px solid #03C8FF;
    background-color: rgb(255, 255, 255);
}

.fake-check.checked {
    border: 1.3px solid #03C8FF;
    background-color: #03C8FF;

}

.fake-check:not(.checked) {
    background-color: #ffffff;
    background-image: none;
}