.modal-overlay {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.modal-box {
    background: white;
    border-radius: 10px;
    /* width: 420px; */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
}

.modal-header {
    padding: 16px;
    font-weight: bold;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-family: Pretendard;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-align: left;
    color: #171717;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 17px;
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.modal-body {
    text-align: center;
    color: #333;
    font-family: Pretendard;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.67;
    letter-spacing: -1.3px;
    color: #333;
    padding: 56px 60px;
}

.modal-footer {
    text-align: center;
    /* width: 420px; */
    height: 56px;
    background-color: #0468ff;
    display: flex;
}

.modal-button {
    width: 100%;
    border: none;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
    font-family: Pretendard;
    font-size: 18px;
    letter-spacing: -0.36px;
    color: #fff;
}



/*로딩 애니메이션*/
.loading-animation{
    display:none;
    top:0;
    left:0;
    width:100%;
    height:100%;
    position:fixed;
    z-index:10;
    background-color:rgba(0,0,0,0.2);
}
.loading-animation.active{
    display:block;
}
.loading-animation .loading-animation__box{
    width:calc(100% - 30px);
    height:250px;
    max-width:400px;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -125px);
    background:#fff;
    border-radius:12px;
}
.loading-animation .loading-animation__box h2{
    font-size: 24px;
    margin-top:36px;
    font-weight: bold;
    letter-spacing: -1.68px;
    text-align:center;
    color: #000;
}
.loading-animation .loading-animation__box p{
    margin-top:12px;
    text-align:center;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -1.26px;
    text-align: center;
    color: #000;
}

.loading-animation .loading-animation__box .loading-animation__lottie-player-wrapper{
    position:absolute;
    top:80px;
    width:300px;
    height:168px;
    left:50%;
    transform:translateX(-50%);
}
.loading-animation .loading-animation__box .lottiePlayerWrapper lottie-player{
    width:100%;
    height:100%;
}
/*로딩 애니메이션 끝*/




/*KT 취약계층 모달*/

    .layer-alert2.common-modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 9999;
        letter-spacing : -0.05em;
    }

    .common-modal__wrapper {
        position: absolute;
        max-width:456px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border-radius: 12px;
        width: calc(100% - 30px);
        box-shadow: 0 10px 30px rgba(0,0,0,.25);
        padding: 20px 16px 16px;
        text-align: center;
    }

    .common-modal__title {
        font-size: 24px;
        font-weight: bold;
        letter-spacing: -1.68px;
        text-align: center;
        color: #000;
    }

    .common-modal__box {
        background: #f0f5f5;
        border-radius: 4px;
        padding: 10px 10px;
        margin: 10.5px 0 16px;
    }

    .common-modal__headline {
        font-size: 17px;
        font-weight: 400;
        margin-bottom: 6px;
        color: #191414;
        margin-top:10px;
    }

    .common-modal__content {
        font-size: 17px;
        line-height: 1.55;
        color: #191414;
    }

    .common-modal__actions {
        display: flex;
        gap: 10px;
    }

    .common-modal__btn {
        flex: 1;
        min-height: 50px;
        border-radius: 6px;
        font-size: 12px;
        cursor: pointer;
        font-size: 16px;
        padding: 8px 12px;
        height: auto;
        word-break: keep-all;
        line-height: 1.2 !important;
    }

    .common-modal__btn--cancel {
        border: 1px solid #d6d6d6;
        background: #fff;
        color: #191414;
    }

    .common-modal__btn--ok {
        border: 0;
        background: #006dc1;
        color: #fff;
        font-weight: 300;
        line-height: 1.2;
    }

    .common-modal__desc {
        font-size: 16px;
        letter-spacing: -0.05em;
        text-align: left;
        color: #a8a8a8;
        position: relative;
        padding-left: 0.5rem;
        margin: 16px 0 0;
    }

    .common-modal__desc::before {
        content: "-";
        position: absolute;
        left: 0;
    }

    @media (max-width:450px) {
        .common-modal__desc {
        font-size: 16px;
        }

        .common-modal__btn {
        font-size: 12px;
        }
        .common-modal__title {
        font-size: 16px;
        }

        .common-modal__headline {
        font-size: 13px;
        }

        .common-modal__content {
        font-size: 13px;
    }
}
