/* Registration Form */

.wdt-registration-form{
    padding: 60px 50px;
    background-color: rgba(var(--wdtBodyBGColorRgb),1);
    width: 100%;
    max-width: 620px;
    border-radius: var(--wdtRadius_Zero);
    margin: 150px auto;
    border: 0px solid var(--wdtLinkHoverColor);
    position: relative;
    z-index: 1;

}

.wdt-registration-form form{
    margin-top: clamp(1.875rem, 1.5rem + 1.875vw, 3.75rem);
}

.wdt-registration-form .neera-custom-auth-sc-border-title h2{
    text-align: center;
    margin: 0 0 20px;
    line-height: normal;
    text-transform: uppercase;
}

.wdt-registration-form p{
    text-align: center;
    font-weight: var(--wdtFontWeight_Ext);
    margin: 0;
}

.wdt-registration-form p strong{
    font-weight: var(--wdtFontWeight_Ext);
}

.wdt-registration-form form p{
text-align: left;
color: var(--wdtBodyTxtColor);
}
.wdt-registration-form form p:last-child{
text-align: center;
}
.wdt-registration-form form p a.neera-pro-login-link{
color: var(--wdtLinkHoverColor);
text-decoration: underline;
text-decoration-color: transparent;
}
.wdt-registration-form form p a.neera-pro-login-link:hover{
text-decoration-color: currentColor;
}
.wdt-registration-form form#loginform{
display: block;
}
.neera-pro-login-description {text-align: center;}
.wdt-registration-form input[type="submit"]{
width: 100%;
padding: var(--wdtPadding_MiniBtn);
padding-top: 14px;
padding-bottom: 14px;
}
.wdt-registration-form input[type="submit"]:hover{
background-color: var(--wdtSecondaryColor);
color: var(--wdtAccentTxtColor);
}
.neera-pro-login-form-holder #loginform p {
margin: 0 0 0 0;
}
.neera-pro-login-form-holder #loginform {
display: grid;
grid-template-columns: repeat(1,1fr);
justify-content: space-between;
grid-gap: 20px;
}

/* Login form */

.neera-pro-login-form-container{
    display: block;
    height: 100% !important;
    margin: 0;
    padding: 0;
    pointer-events: none;
    width: 100%;
    z-index: 10000;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

.neera-pro-login-form-overlay{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    background:rgba(var(--wdtBodyBGColorRgb),0);
}

.login-form-custom-logo {
    margin-bottom: 40px;  
    text-align: center;
}
.login-form-custom-logo img {max-width: 200px;}
.neera-pro-login-form-holder >*:not(:last-child),
.neera-pro-login-form-container .neera-pro-login-form >*:not(:last-child) {margin-bottom: 30px;}

.neera-pro-login-form-container .neera-pro-login-form {
    display: grid;
    padding: 0;
    pointer-events: auto;
    position: absolute;
    left: 0;right: 0;
    /* top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%); */
    background-color: rgba(var(--wdtSecondaryColorRgb),1);
    width: 100%;
    margin: auto;
    height: 100%;
    place-content: center;


    /* background-image: url("https://neera.wpengine.com/wp-content/uploads/2024/01/Neera-login-page-bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; */

}

.neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-wrapper {
    padding: 60px 50px;
    border-radius: var(--wdtRadius_Zero);
    border: 0px solid;
    max-width: 620px;
    height: fit-content;
    overflow-y: auto;
    max-height: calc(100vh - 2*1.5em);

    background-color: var(--wdtBodyBGColor);
}

.neera-pro-login-form-container .neera-pro-login-form .neera-pro-title.neera-pro-login-title {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 40px;  
}


#loginform .login-username, #loginform .login-password{
width: 100%;
}

#loginform .login-remember{
text-align: left;
}
#loginform p.login-remember input[type="checkbox"]{
opacity: 1;
-webkit-appearance: none;
appearance: none;
width: 1em;
height: 1em;
border: 1px solid var(--wdtBorderColor);
transform: translateY(-0.075em);
display: inline-grid;
place-content: center;
background: rgba(var(--wdtTertiaryColorRgb),.0);
border-radius: 2px;
padding: 0 0;
}
#loginform p.login-remember input[type="checkbox"]:after{
content: "";
width: 0.65em;
height: 0.65em;
clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
transform: scale(0);
transform-origin: bottom left;
transition: 120ms transform ease-in-out;
box-shadow: inset 1em 1em var(--wdtPrimaryColor);
}
#loginform p.login-remember input[type="checkbox"]:checked:after {
transform: scale(1);
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus{
border-color: var(--wdtSecondaryColor);
}
#loginform .login-submit input[type="submit"]{
width: 100%;
background-color: var(--wdtPrimaryColor);
padding-top: 14px;
padding-bottom: 14px;
}
#loginform .login-submit input[type="submit"]:hover{
background-color: var(--wdtSecondaryColor);
color: var(--wdtAccentTxtColor);
}
.neera-pro-social-logins-divider{
text-align: center;
margin: 40px 0 30px;
}
.neera-pro-title.neera-pro-login-title h2{
text-align: center;
margin-top: 0;
text-transform: uppercase;
}
.neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-holder p.tpl-forget-pwd{
margin-bottom: 0px;
text-align: center;
}
.neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-holder p.tpl-forget-pwd a{
color: var(--wdtLinkHoverColor);
text-decoration: underline;
text-decoration-color: transparent;
transition: all 0.3s linear;
}
.neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-holder p.tpl-forget-pwd a:hover{
text-decoration-color: var(--wdtLinkHoverColor);
}

a.neera-pro-social-facebook-connect,
a.neera-pro-social-google-connect{
    width: 100%;
    padding: var(--wdtPadding_MiniBtn);
    display: inline-block;
    text-align: center;
    /* background: var(--wdtAccentTxtColor); */
    color: var(--wdt-elementor-color-black);
    border-radius: var(--wdtRadius_Zero);
    box-shadow: rgba(var(--wdtLinkHoverColorRgb),1) 0 0 0px;
    border: 1px solid var(--wdtLinkColor);
    margin: 0;
    font-size: var(--wdtFontSize_Ext);
    font-weight: var(--wdtFontWeight_Ext);
}

a.neera-pro-social-facebook-connect:hover,
a.neera-pro-social-google-connect:hover {
background-color: var(--wdtSecondaryColor);
color: rgba(var(--wdtAccentTxtColorRgb),1);
border-color: rgba(var(--wdtSecondaryColorRgb),1);
}
a.neera-pro-social-facebook-connect i,
a.neera-pro-social-google-connect i{
margin-right: 10px;
}

.neera-pro-login-form-container{
    max-width: 100%;
    margin: auto;
}

body.page-template-tpl-registration .container .container {
    padding: 0;
}

@media only screen and (max-width:1540px) {
.neera-pro-title.neera-pro-login-title h2 {font-size: var(--wdtFontSize_H3);}
.neera-pro-login-form #loginform {margin-top: 0;}
.neera-pro-social-logins-divider {margin-top: 20px;margin-bottom: 30px;}
#loginform {
display: grid;
grid-template-columns: repeat(2,1fr);
justify-content: space-between;
grid-gap: 20px;
}

#loginform .login-submit {
margin-bottom: 0;
/* grid-area: 3/1; */
}
}

@media screen and (min-width: 768px) and (max-width: 1540px){
    .neera-pro-login-form-holder #loginform {
        grid-template-columns: repeat(1,1fr);
    }
}

@media screen and (min-width:1281px) and (max-width: 1540px){
    .neera-pro-login-form-container{
        max-width: 100%;
        margin: auto;
}

.neera-pro-login-form-holder >*:not(:last-child),
.neera-pro-login-form-container .neera-pro-login-form >*:not(:last-child) {
margin-bottom: 20px;
}
}

@media screen and (min-width:1025px) and (max-width: 1280px){
    .neera-pro-login-form-container{
        max-width: 100%;
        margin: auto;
}    
}

@media screen and (min-width:768px) and (max-width: 1024px){
    .neera-pro-login-form-container{
        max-width: 100%;
        margin: auto;
    }    
}

@media screen and (max-width: 767px){
    #loginform .login-username, 
    #loginform .login-password{
        margin-bottom: 20px;
    }
    .neera-pro-login-form-container {overflow: scroll;}
    .neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-wrapper{
        padding: 50px 30px;
        max-width: 420px;
        margin: 0 20px;
        width: calc(100% - 40px);
    }
    .neera-pro-title.neera-pro-login-title h2{
        font-size: var(--wdtFontSize_H4);
    }
    .wdt-registration-form{
        padding: 50px 30px;
    }
    .wdt-registration-form .neera-custom-auth-sc-border-title h2{
        font-size: var(--wdtFontSize_H3);
    }
    }
    @media screen and (min-width:480px) and (max-width: 767px){
    .neera-pro-login-form-container{
        margin: auto;
    }    
}

@media screen and (max-width: 479px){
    a.neera-pro-social-facebook-connect, a.neera-pro-social-google-connect {
        padding: 10px;
    }
    .neera-pro-login-form-container{
        max-width: 100%;
        margin: auto;
    }    
    .neera-pro-title.neera-pro-login-title h2{
        font-size: var(--wdtFontSize_H4);
    }
    .wdt-registration-form .neera-custom-auth-sc-border-title h2{
        font-size: var(--wdtFontSize_H4);
    }
    .wdt-registration-form{
        padding: 50px 20px;
    }
    .login-form-custom-logo,
    .neera-pro-login-form-container .neera-pro-login-form .neera-pro-title.neera-pro-login-title {
        margin-bottom: 30px;
    }
}



/* After Registration */

.mu_register{
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
    padding: 50px;
    background: var(--wdtSecondaryColor);
    box-shadow: rgba(0,0,0,.8) 0 0 0;
    border-radius: var(--wdtRadius_Zero);
    color: var(--wdtAccentTxtColor);
    text-align: center;
}

.mu_register h2{
    font-size: clamp(1.5rem, 1.425rem + 0.375vw, 1.875rem); /* Min-24 & Max-30 */ 
    text-align: center;
    color: var(--wdtAccentTxtColor);
    letter-spacing: var(--wdtLetterSpacing_2X);
    margin: 0 0 clamp(1.875rem, 1.75rem + 0.625vw, 2.5rem) 0;
}

.mu_register form input{
    box-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid var(--wdtBorderColor);
    background: transparent;
    font-size: var(--wdtFontSize_Base) !important;
}

.mu_register form input:focus{
border-color: var(--wdtPrimaryColor);
}

.mu_register.wp-signup-container label {
    text-align: left;
    font-weight: var(--wdtFontWeight_Ext);
    font-size: var(--wdtFontSize_Ext);
    margin: 0 0 6px;
}

.mu_register input + p {
    font-size: clamp(0.75rem, 0.725rem + 0.125vw, 0.875rem);
    margin-bottom: clamp(1.25rem, 1.125rem + 0.625vw, 1.875rem);
    text-align: left;
}

.mu_register p strong {
    color: var(--wdtPrimaryColor);
}

.mu_register form .wp-signup-username-description,
.mu_register form .wp-signup-email-description{
margin-bottom: 15px;
}

.mu_register p.submit{
    margin: clamp(1.25rem, 1.125rem + 0.625vw, 1.875rem) 0 0 0;
}

.mu_register form p.submit input[type="submit"] {
    font-size: var(--wdtFontSize_Base);
    background: var(--wdtPrimaryColor);
    border: 0;
}

.mu_register form p.submit input[type="submit"]:hover,
.mu_register form p.submit input[type="submit"]:focus {
    background-color: var(--wdtTertiaryColor);
    color: var(--wdtSecondaryColor);
}

.wp-activate-container h2,
#signup-content .wp-activate-container h2  {
    margin: 0 0 clamp(1.875rem, 1.75rem + 0.625vw, 2.5rem);
} 

.wp-activate-container #signup-welcome > p span.h3 {
    padding: 0 8px 0 0;
    font-weight: var(--wdtFontWeight_Ext);
    font-size: var(--wdtFontSize_H6);
}

.wp-activate-container p.view > a {
    font-weight: var(--wdtFontWeight_Ext);
    text-decoration: underline;
}


/* responsive */

@media screen and (max-width: 479px){
    .neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-wrapper {
        padding: 50px 20px;
        margin: 0 15px;
        width: calc(100% - 30px);
    }
    .mu_register{
        padding: 30px;
    }
}


@media only screen and (min-width:1281px) and (max-width:1540px) { .wdt-registration-form { margin: 100px auto; } }

@media only screen and (min-width:1025px) and (max-width:1280px) { .wdt-registration-form { margin: 80px auto; } }

@media only screen and (min-width:768px) and (max-width:1024px) { .wdt-registration-form { margin: 70px auto; } }

@media only screen and (min-width:480px) and (max-width:767px) { .wdt-registration-form { margin: 60px auto; } }

@media only screen and (max-width: 479px) { .wdt-registration-form { margin: 60px auto; } }




/* -------------------------
Custom styles
---------------------------- */

.page-template-tpl-registration .wrapper .inner-wrapper #main {
    background-image: url("https://neera.wpengine.com/wp-content/uploads/2024/01/Neera-login-page-bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-top: -150px;
}

.page-template-tpl-registration .wrapper .inner-wrapper #main:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background-color: var(--wdtSecondaryColor);
    opacity: 0.8;
    pointer-events: none;
}

.wdt-registration-form form > P:not(:last-child) {
    margin-bottom: clamp(1.25rem, 1.125rem + 0.625vw, 1.875rem);
}

.neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-wrapper {
    display: grid;
}

.neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-wrapper > .neera-pro-social-logins-container {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 0 20px;
}

.neera-pro-social-logins-divider {
    order: 0;
    grid-column: 1/3;
}

a.neera-pro-social-facebook-connect {
    order: 1;
}

a.neera-pro-social-google-connect {
    order: 2;
}

.neera-pro-login-form-holder #loginform p.login-submit {
    margin: 0 0 0 0;
}

.neera-pro-title.neera-pro-login-title h2 .neera-pro-login-title strong {
    font-weight: var(--wdt--wdtFontWeight_Base);
}

/* responsive */

@media (max-width:1540px) {
    .page-template-tpl-registration .wrapper .inner-wrapper #main {
        margin-top: -100px;
    }
}

@media (max-width:1280px) {
    .page-template-tpl-registration .wrapper .inner-wrapper #main {
        margin-top: -80px;
    }
}

@media (max-width:1024px) {
    .page-template-tpl-registration .wrapper .inner-wrapper #main {
        margin-top: -70px;
    }
}

@media (max-width:767px) {
    .page-template-tpl-registration .wrapper .inner-wrapper #main {
        margin-top: -60px;
    }
}

@media (max-width:480px) {
    .page-template-tpl-registration .wrapper .inner-wrapper #main {
        margin-top: -50px;
    }
    .neera-pro-login-form-container .neera-pro-login-form .neera-pro-login-form-wrapper > .neera-pro-social-logins-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .neera-pro-social-logins-divider {
        grid-column: 1;
        margin-bottom: 0;
    }
}