/*==== Registration Common ====*/

.wdt-custom-auth-form #main {
    margin-bottom: 130px;
}

.mu_register h2 {
    font-size: clamp(1.375rem, 1.3462rem + 0.1282vw, 1.5rem);
    /* Min-22 & Max-24 */
}

.yummie-pro-title.yummie-pro-login-title h2,
.wdt-registration-form .yummie-custom-auth-sc-border-title h2 {
    font-size: clamp(1.875rem, 1.7193rem + 0.8589vw, 2.75rem);
    /* 30px to 44px */
}

.wdt-registration-form .yummie-custom-auth-register-alert {
    margin: 15px 0;
    text-align: center;
}

#signup-content .mu_register>h2:first-child {
    margin-top: 0;
}

#signup-content .mu_register>p:last-child {
    margin-bottom: 0;
}

/* Registration Form */

.wdt-registration-form {
    padding: clamp(1.25rem, 0.6731rem + 2.5641vw, 3.75rem)/* 20px to 60px */
    ;
    background-color: var(--wdtBodyBGColor);
    width: 100%;
    max-width: 650px;
    -webkit-border-radius: var(--wdtRadius_2X);
    border-radius: var(--wdtRadius_2X);
    margin: 0 auto;
    margin-bottom: 120px;
    border: 1px solid var(--wdtBorderColor);
}

.wdt-registration-form form {
    margin-top: clamp(1.25rem, 0.9164rem + 1.8405vw, 3.125rem);
    /* 20px to 50px */
}

.wdt-registration-form .yummie-custom-auth-sc-border-title h2 {
    text-align: center;
    margin: 0 0 12px;
}

.wdt-registration-form p {
    text-align: center;
    font-weight: var(--wdtFontWeight_Base);
    margin: 0;
}

.wdt-registration-form p strong {
    font-weight: var(--wdtFontWeight_Base);
}

.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.yummie-pro-login-link {
    color: var(--wdtLinkColor);
    text-decoration: underline;
    text-decoration-color: transparent;
}

.wdt-registration-form form p a.yummie-pro-login-link:hover {
    text-decoration-color: currentColor;
}

.wdt-registration-form form#loginform {
    display: block;
}

.yummie-pro-login-description {
    text-align: center;
}

.wdt-registration-form input[type="submit"] {
    width: 100%;
}

.yummie-pro-login-form-holder #loginform {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-content: space-between;
    grid-gap: 20px;
}

.yummie-pro-login-form-holder #loginform p {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.yummie-pro-login-form-holder #loginform p input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Login form */

html:has(> body > .yummie-pro-login-form-container:not([style="display: none;"])) {
    overflow: hidden;
}

.yummie-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;
}

.yummie-pro-login-form-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.66);
    cursor: url(../images/pop-close.png) 25 25, auto;
}

.yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-login-form-wrapper {
    padding: clamp(1.25rem, 0.6731rem + 2.5641vw, 3.75rem);
    /* 20px to 60px */
    border-radius: var(--wdtRadius_2X);
    border: 1px solid var(--wdtBorderColor);
    max-width: 650px;
    gap: 15px;
    background-color: rgba(var(--wdtBodyBGColorRgb), 1);
    height: fit-content;
    overflow-y: auto;
    max-height: calc(100vh - 2*1.5em);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    pointer-events: all;
}

.yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-login-form-wrapper>div:not([class*="yummie-pro-social"]),
.yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-login-form-wrapper>div.yummie-pro-social-logins-divider {
    order: -1;
    grid-column: 1/3;
}

.yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-login-form-wrapper>div[class*="yummie-pro-social"]>div[class$="-divider"] {
    display: none;
}

.login-form-custom-logo {
    text-align: center;
    margin: 10px 0;
    margin-bottom: clamp(1.25rem, 1rem + 1.25vw, 2.5rem);
    /*min-20px - max-40px*/
}

.login-form-custom-logo img {
    max-width: 170px;
}

.yummie-pro-login-form-holder>*:not(:last-child),
.yummie-pro-login-form-container .yummie-pro-login-form>*:not(:last-child) {
    margin-bottom: clamp(0.625rem, 0.5694rem + 0.3067vw, 0.9375rem);
}

.yummie-pro-login-form-container .yummie-pro-login-form {
    display: grid;
    padding: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    background-color: transparent;
    width: 100%;
    margin: auto;
    height: 100%;
    place-content: center;
}

.yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-title.yummie-pro-login-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(0.625rem, 0.5138rem + 0.6135vw, 1.25rem);
    /*min-10px - max-20px*/
}

#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;
    margin-right: 5px;
}

#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);
}

.yummie-pro-social-logins-divider {
    text-align: center;
    margin: clamp(0rem, -0.2885rem + 1.2821vw, 1.25rem) 0;
    position: relative;
}

.yummie-pro-title.yummie-pro-login-title h2 {
    text-align: center;
    margin-top: 0;
}

.yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-login-form-holder p.tpl-forget-pwd {
    margin-bottom: 0px;
}

.yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-login-form-holder p.tpl-forget-pwd a {
    color: var(--wdtSecondaryColor);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s linear;
}

.yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-login-form-holder p.tpl-forget-pwd a:hover {
    text-decoration-color: var(--wdtSecondaryColor);
}

a.yummie-pro-social-facebook-connect,
a.yummie-pro-social-google-connect {
    width: 100%;
    padding: var(--wdtInputPadding);
    display: inline-block;
    text-align: center;
    /* background: var(--wdtAccentTxtColor); */
    color: var(--wdtAccentTxtColor);
    border-radius: var(--wdtRadius_2X);
    box-shadow: rgba(var(--wdtLinkHoverColorRgb), 1) 0 0 0px;
    border: 1px solid var(--wdtBorderColor);
    margin: 0;
    font-size: clamp(0.875rem, 0.8173rem + 0.2564vw, 1.125rem);
    /* 14px to 18px */
    font-weight: var(--wdtFontWeight_Alt);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(180deg, var(--wdtPrimaryColor) 0%, var(--wdtPrimaryColor) 100%) !important;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: 100% 0%;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

a.yummie-pro-social-facebook-connect:hover,
a.yummie-pro-social-google-connect:hover {
    background-color: transparent;
    color: rgba(var(--wdtHeadAltColorRgb), 1);
    border-color: rgba(var(--wdtPrimaryColorRgb), 1);
    background-size: 100% 100%;
}

a.yummie-pro-social-facebook-connect i,
a.yummie-pro-social-google-connect i {
    margin-right: 10px;
}

.yummie-pro-login-form-container {
    margin: auto;
    max-height: calc(100vh - 2*1.5em);
    pointer-events: none;
}

/* Login and Registor Form Style */

.wdt-registration-form form p:not(:last-child) {
    margin-bottom: 20px;
}

a.yummie-pro-social-google-connect>svg {
    margin-right: 10px;
}

.yummie-pro-social-logins-divider {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.yummie-pro-social-logins-divider:before,
.yummie-pro-social-logins-divider:after {
    content: "";
    position: relative;
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: var(--wdtBorderColor);
}

.yummie-pro-social-logins-divider:before {
    margin-right: 16px;
}

.yummie-pro-social-logins-divider:after {
    margin-left: 16px;
}

@media only screen and (max-width:1540px) {
    .yummie-pro-login-form #loginform {
        margin-top: 0;
    }
}

@media screen and (min-width:1281px) and (max-width: 1540px) {
    .yummie-pro-login-form-holder>*:not(:last-child),
    .yummie-pro-login-form-container .yummie-pro-login-form>*:not(:last-child) {
        margin-bottom: 20px;
    }
}

@media screen and (min-width:1025px) and (max-width: 1280px) {}

@media screen and (min-width:768px) and (max-width: 1024px) {}

@media screen and (max-width: 767px) {
    #loginform .login-username,
    #loginform .login-password {
        margin-bottom: 20px;
    }
    .yummie-pro-login-form-container {
        overflow: scroll;
    }
    .wdt-registration-form {
        padding: 20px;
    }
}

@media screen and (min-width:480px) and (max-width: 767px) {
    .yummie-pro-login-form-container {
        margin: auto;
    }
}

@media screen and (max-width: 479px) {
    a.yummie-pro-social-facebook-connect,
    a.yummie-pro-social-google-connect {
        padding: 10px;
    }
}

/*==== Registration Step-II */

.mu_register {
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
    padding: 50px;
    background: transparent;
    box-shadow: none;
    border-radius: var(--wdtRadius_2X);
    border: 1px solid var(--wdtBorderColor);
}

#signup-content .mu_register input[type="submit"] {
    margin: 0;
}

#signup-content .mu_register #blog_title,
#signup-content .mu_register #user_email,
#signup-content .mu_register #blogname,
#signup-content .mu_register #user_name {
    width: 100%;
    font-size: initial;
    margin: 0 0 18px;
    box-sizing: border-box;
}

.mu_register form .wp-signup-username-description,
.mu_register form .wp-signup-email-description {
    margin-bottom: 15px;
}

.mu_register p.submit {
    margin-top: 20px;
}

.mu_register form p.submit input[type="submit"] {
    font-size: var(--wdtFontSize_Base);
}

@media screen and (max-width: 479px) {
    .yummie-pro-login-form-container .yummie-pro-login-form .yummie-pro-login-form-wrapper {
        padding: 20px;
        margin: 0 15px;
        width: calc(100% - 30px);
    }
    .mu_register {
        padding: 30px;
    }
}

@media only screen and (min-width:1281px) and (max-width:1540px) {
    .wdt-custom-auth-form #main,
    .wdt-registration-form {
        margin-bottom: 100px;
    }
}

@media only screen and (min-width:1025px) and (max-width:1280px) {
    .wdt-custom-auth-form #main,
    .wdt-registration-form {
        margin-bottom: 80px;
    }
}

@media only screen and (min-width:768px) and (max-width:1024px) {
    .wdt-custom-auth-form #main,
    .wdt-registration-form {
        margin-bottom: 70px;
    }
}

@media only screen and (min-width:480px) and (max-width:767px) {
    .wdt-custom-auth-form #main,
    .wdt-registration-form {
        margin-bottom: 60px;
    }
}

@media only screen and (max-width: 479px) {
    .wdt-custom-auth-form #main,
    .wdt-registration-form {
        margin-bottom: 60px;
    }
}