@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/inter/InterVariable.woff2") format("woff2");
}
@font-face {
    font-family: Inter;
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/inter/InterVariable-Italic.woff2") format("woff2");
}

:root {
    --text-color: #fff;
    --text-color-invert: #000;
    --text-color-muted: rgba(188, 190, 192, 1);
    --input-color:black;
}
.dark {
    --text-color: #000;
    --text-color-invert: #fff;
    --text-color-muted: rgba(188, 190, 192, 1);
    --input-color:white;
}
.auth{
    padding: 0;
    margin: 0;
    font-family: 'Inter' !important;
    background-size: contain;
}
.auth.dark{
    background: url("/images/auth/bg2.png") no-repeat center;
    background-size: cover;
}
@supports (-moz-appearance: none) {
    .auth{
        min-height: 100vh;
    }
}
.auth:not(.dark){
    background: url("/images/auth/bg.png") no-repeat center;
    background-size: cover;
}
.auth .container{
    width: 485px;
    /*min-height: 760px;*/
    height: auto;
    border-radius: 28.5px;
    background: rgba(88, 130, 193, 0.28);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.auth .b-space{
    margin-bottom: 1.25rem;
 }
.auth .container .content{
    position: relative;
    padding: 2.25rem;
}
.auth .container .content .head .exit{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: block;
    position: absolute;
    margin-top: -12px;
    margin-left: 0px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}
.auth .container .content .head .exit:after{
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url("/images/auth/exit_dark.svg") no-repeat center;
    background-size: 24px;
    width: 16px;
    height: 16px;
}
.auth .container .content .head .exit:hover{
    background: rgba(218, 218, 218, 0.08);
}
.auth .container .content .head .logo-container{
    width: 150px;
    margin: 0 auto;
    margin-top: 10px;
}
.auth .container .content .head .logo-container .logo{
    width: 150px;
    width: 150px;
}
.auth .container .content .body{
    display: flex;
    width: auto;
    flex-direction: column;
    margin-top: 1.4rem;
    gap: 17px;
    padding: 0 2rem;
}
.auth .container .content .body .title::before,
.auth .container .content .body .title::after{
    content: '';
    width: 100%;
    height: 1px;
    background: white;
    display: block;

}
.auth .container .content .body .title{
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth .container .content .body .title span{
    padding: 0 1px;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--text-color-invert);
}
.auth .a-input-container{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.auth .a-input-container label{
    font-weight: bold;
    font-size: 15px;
    color: var(--text-color-invert);
    text-transform: capitalize;
}
.auth label{
    margin-left: 5px;
}
.auth .a-input-container input{
    border-radius: 30px;
    padding: 13px;
    /*min-width: 325px;*/
    width: auto;
    height: 45px;
    font-weight: 600;
    font-size: 16px;
    color: rgba(45, 45, 45, 1);
    outline: none;
    border: none;
}
.auth .a-input-container input::-webkit-input-placeholder {
    color: var(--text-color-muted);
    font-size: 16px;
    font-weight: 400;
}

.auth .a-input-container input:-ms-input-placeholder {
    color: var(--text-color-muted);
    font-size: 16px;
    font-weight: 400;
}

.auth .a-input-container input::-ms-input-placeholder {
    color: var(--text-color-muted);
    font-size: 16px;
    font-weight: 400;
}
.auth .body .links{
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color-invert);
    text-decoration: none;
    margin-left: 5px;
    width: max-content;
    transition: all 0.3s ease;
}
.auth .body a.switch-links{
    font-weight: lighter;
    -webkit-text-stroke: 0.5px;
    color: var(--text-color-invert);
}
.auth .body a.links:hover{
    color: #4747ef;
}
.auth .body .mt-n{
    margin-top: -8px;
}
.auth .body .a-checkbox{
    font-weight: 400;
    font-size: 14px;
    color: var(--text-color-invert);
    line-height: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}
.auth .body .a-checkbox input{
    display: none;
}
.auth .body .a-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(144, 163, 187, 1);
    border-radius: 4px;
    position: relative;
    display: block;
    margin-top: -1px;
    cursor: pointer;
}

/* Check mark */
.auth .body .a-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;

    left: 6px;
    top: 1px;
    width: 5px;
    height: 10px;

    border: solid var(--text-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Show check when checked */
.auth .body .a-checkbox input:checked + .checkmark::after {
    display: block;
}

.auth .body .a-checkbox input:checked + .checkmark {
    background: rgba(255, 171, 0, 1);
    border-color: #333;
}
.auth .body .submit-btn{
    width: 100%;
    height: 48px;
    border-radius: 20px;
    background: rgba(255, 171, 0, 1);
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    color: var(--text-color-invert);
    margin: 0 auto;
    transition: all 0.3s ease;
    border: none;
}
.auth .body .submit-btn img{
    display: none;
}
.auth .body .submit-btn:hover{
    background: rgba(173, 173, 173, 1);
}
.auth .body .submit-btn:disabled{
    background: rgba(173, 173, 173, 1);
}
.auth .body .mt-20{
    margin-top: 20px;
}
.auth .body p{
    color: var(--text-color-invert);
    font-size: 12px;
    text-align: center;
    font-weight: lighter;
    -webkit-text-stroke: 0.2px;
}
.auth .body .social-media-container{
    display: flex;
    margin-top: -0.75rem;
    justify-content: space-between;
}
.auth .body .social-media-container a{
    width: 96px;
    height: 36px;
    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}
.auth .body .social-media-container a img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.auth .body .social-media-container a.disabled{
    background: #c2c0c0;
    cursor: initial;
}
.auth .body .social-media-container a:not(.disabled):hover{
    background:  rgba(255, 171, 0, 1);
    cursor: pointer;
}
.auth .body .footer-links{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.auth .body .reg-error{
    color: red;
    border: 2px solid red;
    border-radius: 8px;
    padding: 8px;
    background: #ebc8ce;
    font-weight: 400;
    font-size: 16px;
    display: none;
}
.auth .body .reg-msg{
    color: darkgreen;
    border: 2px solid green;
    border-radius: 8px;
    padding: 8px;
    background: lightgreen;
    font-weight: 400;
    font-size: 16px;
    display: none;
}
.auth .body .back-link{
    color:white;
    display: flex;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    align-items: center;
    margin: 0;
}
.auth .body .back-link:before{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: url("/images/auth/back_link.svg") no-repeat center;

}
.auth .body .rediretable{
    color: gold !important;
}
.auth .reset-password{
    padding: 0 2.5rem !important;
}
@media (min-width: 1200px) and (max-width: 1600px) {
    .auth .container{
        transform: translate(-50%, -50%) scale(0.8);
    }
}
@media(max-width: 800px){
    .auth{
        background-size: cover;
        height: 100vh;
    }
    .auth .container{
        transform: translate(-50%, -50%)  scale(1) !important;
        width: 90%;
        min-height: initial;
    }
    .auth .container .content{
        position: initial;
    }
    .auth .container .content .head .exit{
        height: 40px;
        width: 40px;
        position: absolute;
        left: 35px;
        top: 45px;
    }
    .auth .container .content .head .exit:after{
        width: 18px;
        height: 18px;
    }
    .auth .container .content .head .logo-container{
        width: 120px;
        margin-top: 2.2rem;
    }
    .auth .container .content .head .logo-container img{
        width: 120px !important;
        height: 120px;
    }
    .auth .container .content{
        padding: 0;
    }
    .auth .a-input-container input{
        min-width: initial  ;
    }
    .auth .body .footer-links{
        margin-bottom: 2.5rem;
    }
}
