.authForm{
    padding: 153px 0 137px;
    background: url(../images/authImg/bgImage.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.formWrap{
    max-width: 465px;
    width:100%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 15px;
    padding: 60px 27px 47px; 
    box-shadow: 0px 4px 60px 0px #58585826;
    height: 588.47px;
}
.formWrap.h-auto{
    height: auto;
}
.formWrap .formHead{
    font-size: var(--auth-form-head);
    font-weight: 700;
    line-height: 26px;
    color:var(--secondary-color);
    padding-bottom: 8px;
}

.formWrap .formDesc{
    font-size: var(--auth-form-desc);
    font-weight: 400;
    line-height: 16px;
    padding-bottom: 41px;
    color:var(--text-color);
}
.formWrap .inputGroup{
    position: relative;
}
.formWrap .passwordsFlex,
.formWrap .inputGroup + .inputGroup{
    margin-top: 10px;
}
.formWrap .passwordsFlex .inputGroup{
    margin-top: 0;
}
.formWrap .inputGroup input{
    font-size: 13px;
    font-weight: 400;
    line-height: 15.73px;
    height: 45px;
    width: 100%;
    background-color: #fff;
    outline: none;
    border: 1px solid #F5EFFF;
    border-radius: 4px;
    padding: 14px;
}
#r_phone{
    padding-left: 78px;
}
.formWrap .inputGroup input:hover{
    border-color: #DDC9FF;
}
.formWrap .inputGroup input:focus{
    border-color:#5B0BE1;
}
.formWrap .inputGroup input.invalid{
    border-color:#E20707;
}
.formWrap .inputGroup .errorMsg{
    color: #E20707;
    font-size: 13px;
    font-weight: 400;
    line-height: 16.44px;
    position: relative;
    padding: 5px 0 2px;
    display: none;
}
.formWrap .inputGroup .errorMsg::before{
    content:'';
    background: url('../images/authImg/error-icon.svg');
    width:14px;
    height: 14px;
    display: inline-block;
    margin-right:7px;
    position: relative;
    top: 2px;
}
.formWrap .errorMsg.invalidPhone,
.formWrap input.invalid~.errorMsg,.formWrap select.invalid~.errorMsg {
    display: block;
}
.formWrap .inputGroup label {
    position: absolute;
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    color: #929292;
    z-index: 1;
    top: 14px;
    left: 14px;
    margin-bottom: 0;
    transition: all ease .3s;
}
.formWrap .inputGroup label[for="r_phone"] {
    left: 78px;
}
.formWrap .inputGroup label[for="r_phone"].invalid{
    color: #E20707;
}
.formWrap .inputGroup input:focus~label,
.formWrap .inputGroup label.focused {
    left: 14px;
    top: -9px;
    font-size: 13px;
    padding: 0 5px;
    background: #fff;
    color: #5B0BE1;
}
.formWrap .inputGroup label[for="r_phone"].focused{
 
    left: 78px;
} 
.formWrap .inputGroup input.invalid~label{
    color:#E20707;
}
.flexInput {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    column-gap: 15px;
}
.loginForm .flexInput div {
    max-width: 200px;
}
input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid #646464;
    border-radius: 2px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}
input[type=checkbox].invalid{
    border-color: #E20707;
}
input[type=checkbox]:checked::after {
    content: '✓';
    color: #fff;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.showPassCheck:hover input, input[type=checkbox]:hover {
    border-color: #5B0BE1;
}
input[type=checkbox]:checked {
    background-color: #5B0BE1;
    border-color: #5B0BE1;
}
.showPassCheck{
    display: flex;
    align-items: center;
}
.formWrap p.showPassTxt{
    margin-left: 7px;
    font-size: 13px;
    font-weight: 400;
    line-height: 15.73px;
    text-align: center;
    color: #1F1F1F;
    display: inline-block;
}
.forgotPass{
font-size: 13px;
font-weight: 400;
line-height: 15.73px;
text-align: center;
color:#5B0BE1;
cursor: pointer;
display: inline-block;
}
.forgotPass:hover{
    text-decoration: underline;
}
.authBtn{
    width: 100%;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 18.97px;
    text-align: center;
    background: linear-gradient(135.29deg, #812BE3 25.65%, #4C01E0 94.74%);
    outline: none;
    border-radius: 5px;
    color: #fff;
    border: 1px solid transparent;
    margin-top:42px;
}
.authBtn:hover{
    background: linear-gradient(124.72deg, #812BE3 13.9%, #4C01E0 65.96%);
}
.loginRedirect{
    font-size: 13px;
    font-weight: 400;
    line-height: 15.73px;
    text-align: center;
    margin-top: 12px;
    color:#585858;
}
.loginRedirect a{
    color: #5B0BE1;
}
.loginRedirect a:hover{
    text-decoration: underline;
}
.active{
    display: block;
}
.formWrap .forgetPass,
.formWrap .loginForm{
    display: none;
}
.formWrap .active{
    display: block;
}
.formWrap .termSec{
    margin-top: 16px;
}
.formWrap .termSec .termsHead{
    font-family: Inter;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #727272;
}
.formWrap .termBody{
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
}
.formWrap .termText{
font-size: 12px;
font-weight: 400;
line-height: 16px;
color: #727272;
}
.formWrap .termText a{
    color: var(--text-cta);
}
.formWrap .termText a:hover{
    text-decoration: underline;
}
/* Phone intlTel */
.formWrap .iti--allow-dropdown {
    display: block;
}
.formWrap .iti__selected-flag{
    width: 64px;
    background-color: #FBF9FF;
    border-radius: 4px 0px 0px 4px;
    justify-content: center;
}

.custom-alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    text-align: center;
    font-weight: 500;
    margin-bottom: 25px;
    display: none;
}
.custom-alert-success {
    color: #3AAF48;
    background-color: #EDFAE7;
    border-color: #EDFAE7;
    display: block;
}
.custom-alert-error{
    color: #CF1322;
    background-color: #FFEDED;
    border-color: #FFEDED;
    display: block;
}
/* Modal */
.forgotModal{
    display: none;
}
.forgotModal.show{
    display: block;
}
.forgotModalbody{
    box-shadow: 0px 4px 34.5px 0px #73737326;
    background-color: #fff;
    border-radius: 8px;
    padding: 32px 49px 42px;
    text-align: center;
    max-width: 443px;
    width: 100%;
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: 111;
}
.forgotModalbody p{
    font-size: 15px;
    font-weight: 400;
    line-height: 18.15px;
    text-align: center;
    color: #585858;
    padding-bottom: 28px;
}
.forgotModalbody p span{
    color: #1F1F1F;
}
.modalBtn{
    background:linear-gradient(135.29deg, #812BE3 25.65%, #4C01E0 94.74%);
    max-width: 158px;
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 500;
    line-height: 17.71px;
    outline: none;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
}
@media(max-width:575px){
    .formWrap .formHead{
        font-size: 18px;
        line-height: 21px;
        padding-bottom: 7px;
    }
    .formWrap .formDesc{
        font-size: 13px;
        line-height: 16px;
        padding-bottom: 35px;
    }
    .formWrap .inputGroup input{
        height: 45px;
    }
    .formWrap{
        padding: 40px 15px 35px; 
        height: 544.47px;
    }
    .forgotModalbody{
        width: calc(100% - 30px);
    }
}
 
 


