@charset "UTF-8";





.terms-modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    background-color: rgba(32, 33, 34, 0.6);
}

.terms-modal-container.on {
    display: flex;
}

@media screen and (max-width: 1024px) {
    .terms-modal-container {
        align-items: flex-end;
        padding: 28px 20px;
    }
}

.terms-modal-container .modal-wrapper {
    max-width: 500px;
    width: 100%;
    padding: 50px 45px 30px;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
    .terms-modal-container .modal-wrapper {
        padding: 35px 25px 30px;
    }
}





.terms-modal-container .modal-wrapper .terms-title-box {
    margin-bottom: 40px;
    color: #545969;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.terms-modal-container .modal-wrapper .terms-title-box .required-text {
    color: #F75967;
}

@media screen and (max-width: 1024px) {
    .terms-modal-container .modal-wrapper .terms-title-box {
        margin-bottom: 35px;
        font-size: 14px;
        letter-spacing: -0.35px;
        line-height: 1.5;
    }
}





.terms-modal-container .modal-wrapper .terms-contents-box {
    max-height: 250px;
    height: auto;
    overflow: hidden;
    overflow-y: auto;
    margin-bottom: 30px;
    padding: 20px 30px;
    background-color: #F8F9FB;
    border: 1px solid #F4F5F7;
    border-radius: 10px;
    color: #545969;
    font-size: 14px;
    line-height: 1.5;
}

.terms-modal-container .modal-wrapper .terms-contents-box::-webkit-scrollbar {
    width: 5px;
}

.terms-modal-container .modal-wrapper .terms-contents-box::-webkit-scrollbar-thumb {
    height: 30%;
    background-color: #9EA4A9;
    border-radius: 20px;
    background-clip: padding-box;
}

.terms-modal-container .modal-wrapper .terms-contents-box::-webkit-scrollbar-track {
    background-color: #dbdde1;
    border-radius: 20px;
}

@media screen and (max-width: 1024px) {
    .terms-modal-container .modal-wrapper .terms-contents-box {
        padding: 10px 20px;
    }
}





.terms-modal-container .modal-wrapper .close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: #e9ecef;
    border-radius: 10px;
    color: #757a8a;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.6px;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .terms-modal-container .modal-wrapper .close-btn {
        height: 55px;
    }
}





/*****
서비스 이용약관 모달 css
*****/
#serviceTermsModal .modal-wrapper {
    max-width: 800px;
    width: 100%;
    height: 100%;
}

#serviceTermsModal .modal-wrapper .terms-contents-box {
    max-height: calc(100% - 158px);
}

@media screen and (max-width: 1024px) {
    #serviceTermsModal .modal-wrapper .terms-contents-box {
        max-height: calc(100% - 141px);
    }
}
/*****
서비스 이용약관 모달 css END
*****/





/*****
개인정보 처리방침 모달 css
*****/
#privacyTermsModal .modal-wrapper {
    max-width: 800px;
    width: 100%;
    height: 100%;
}

#privacyTermsModal .modal-wrapper .terms-contents-box {
    max-height: calc(100% - 158px);
}

@media screen and (max-width: 1024px) {
    #privacyTermsModal .modal-wrapper .terms-contents-box {
        max-height: calc(100% - 141px);
    }
}
/*****
개인정보 처리방침 모달 css END
*****/