/*General*/
@font-face {
    font-family: 'Averta';
    src: url(../fonts/Averta-Regular.otf);
    font-weight: normal;
}
@font-face {
    font-family: 'Averta';
    src: url(../fonts/Averta-Semibold.otf);
    font-weight: 600;
}
@font-face {
    font-family: 'Averta';
    src: url(../fonts/Averta-Bold.otf);
    font-weight: 700;
}
.custom-popup.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.custom-popup .modal-wrapper{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Averta', sans-serif !important;
    line-height: 1.125rem;
    width: 438px;
    border-radius: 16px;
    background-color: #F6F6F6;
    color: #111111;
}
.custom-popup .modal-content{
    
    text-align: center;
    padding: 35px;
}
.custom-popup .modal-content input{
    width: 100%; 
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
}
.custom-popup .modal-content h2 {
    margin-bottom: 15px;
    margin-top: 0;;
    font-size: 24px;
    color: #383838;
    text-align: left;
    font-family: Averta, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.25rem;
}
.custom-popup label{
    color: #383838;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    opacity: 1;
    pointer-events: none;
    transition: .24s;
    font-family: Averta, sans-serif;
    margin-bottom: 4px;
    display: inline-block;
}
.custom-popup form{
    margin-bottom: 0;
}
.custom-popup input{
    background: #fbfbfb;
    border: 1px solid #d6d6d6 !important;
    border-radius: 6px !important;
    color: #383838 !important;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400;
    height: 44px !important;
    line-height: 23px;
    outline: 0;
    padding: 10px 12px !important;
    width: 100% !important;
    margin-bottom: 0;
    box-shadow: none !important;
}
.custom-popup input:focus{
    border: solid 1px #de0d3e;
}
.custom-popup .form-group {
    text-align: left;
    margin-bottom: 15px;
}
.modal a.button {
    color: #b21c4b;
    text-decoration: none;
}
.modal a.modal-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #333;
    text-decoration: none;
}
.existing-user {
    margin-bottom: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.125rem;
    text-align: left;
}
.existing-user a{
    color: #b22260;
    text-decoration: none;
}
a {
    color: #000;
}
.register-confirm-btn,
.login-confirm-btn, .support-confirm-btn, .custom-popup button[type="submit"] {
    background-color: #b22260;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-family: Averta, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4375rem;
    padding: 10px 12px;
    position: relative;
    transition: all .4s ease;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 0;
    text-transform: none;
    margin-right: 0;;
}

.custom-popup .xac-nhan{
    color: #706f6f;
    font-family: Averta, sans-serif;
    font-size: .875rem;
    line-height: 1.125rem;
    margin-bottom: 20px;
    text-align: left;
}

.custom-popup button[type="submit"] .spinner{
    width: 20px;
    height: 20px;
    display: none;
    position: absolute;
    top: 50%;
    transform: translate(10px, -50%);
}

.info-content {
    margin-bottom: 20px;
}

.info-content p {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.125rem;
}

.info-content .btn {
    margin: 0;
    background-color: #b22260;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#thank-you-modal > .modal-content {
    padding: 60px;
}

@media (max-width: 767px){
    .custom-popup .modal-wrapper{
        width: 90vw;
    }
}