.lcdp-auth {
    --lcdp-ink: #242424;
    --lcdp-teal: #128c7e;
    color: var(--lcdp-ink);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.lcdp-auth .wd-registration-page,
.lcdp-auth #customer_login { margin: 0; width: 100%; }
.lcdp-auth #customer_login { display: flex; flex-direction: column; gap: 0; }
.lcdp-auth #customer_login > .wd-col { width: 100%; max-width: none; flex: auto; padding: 0; border: 0; }
.lcdp-auth .wd-login-title {
    text-align: center;
    font-size: clamp(28px, 6vw, 36px);
    line-height: 1.2;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: -.6px;
    margin: 0 0 14px;
}
.lcdp-auth-subtitle { text-align: center; font-size: 15px; line-height: 1.65; margin: 0 0 30px; color: #50565a; }
.lcdp-auth form.login,
.lcdp-auth form.register { padding: 0; margin: 0; border: 0; box-shadow: none; }
.lcdp-google-region { padding: 12px 0 0; }
.lcdp-google-title { margin: 0 0 24px; text-align: center; font-size: 18px; line-height: 1.4; font-weight: 600; color: #1f3c62; }
.lcdp-google-shell { position: relative; isolation: isolate; margin: 0; }
.lcdp-google-shell::before {
    content: '';
    position: absolute;
    inset: -7px -6px;
    z-index: -1;
    border: 2px solid #4285f4;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 0 0 8px #eaf2ff, 0 4px 14px rgb(66 133 244 / 14%);
    pointer-events: none;
}
.lcdp-google-shell:focus-within::before { border-color: #0b57d0; box-shadow: 0 0 0 8px #dceaff; }
.lcdp-auth .googlesitekit-sign-in-with-google__frontend-output-button { display: flex; align-items: center; justify-content: center; min-height: 40px; max-width: 100% !important; width: 100%; margin: 0 auto; }
/* GIS includes its own margin/overlay around the requested button width. */
.lcdp-auth .googlesitekit-sign-in-with-google__frontend-output-button iframe { max-width: none; }
.lcdp-google-help { text-align: center; font-size: 14px; line-height: 1.7; margin: 26px 2px 0; color: #505b66; }
.lcdp-auth-divider { display: flex; align-items: center; gap: 18px; margin: 26px 0 22px; font-size: 16px; font-weight: 600; }
.lcdp-auth-divider::before,
.lcdp-auth-divider::after { content: ''; flex: 1; height: 1px; background: #dfe3e5; }
.lcdp-credentials-title { text-align: center; font-size: 16px; font-weight: 600; margin: 0 0 22px; }
.lcdp-auth form .form-row { margin: 0 0 18px; }
.lcdp-auth form label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 8px; color: #484e52; }
.lcdp-auth form input.input-text,
.lcdp-auth form input[type=email],
.lcdp-auth form input[type=text],
.lcdp-auth form input[type=password] {
    width: 100%;
    box-sizing: border-box;
    height: 52px;
    border: 1px solid #cdd4d7;
    border-radius: 12px;
    padding: 0 16px;
    font: inherit;
    font-size: 16px;
    color: #242424;
    background: #fff;
    box-shadow: none;
}
.lcdp-auth input:focus-visible,
.lcdp-auth button:focus-visible,
.lcdp-auth a:focus-visible { outline: 3px solid #128c7e; outline-offset: 3px; }
.lcdp-auth .required { color: #b73535; }
.lcdp-auth .form-row-btn { margin-top: 24px; }
.lcdp-auth form.login .woocommerce-form-login__submit,
.lcdp-auth form.register .woocommerce-form-register__submit {
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: #242424;
    color: #fff;
    text-transform: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: none;
}
.lcdp-auth form.login .woocommerce-form-login__submit:hover,
.lcdp-auth form.register .woocommerce-form-register__submit:hover { background: #128c7e; color: #fff; }
.lcdp-auth .login-form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 22px 0 30px; font-size: 14px; }
.lcdp-auth .login-form-footer > a { color: var(--lcdp-teal); order: 2; text-decoration: none; }
.lcdp-auth .login-form-footer > label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.lcdp-auth input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: #128c7e; }
.lcdp-auth .col-register-text { border-top: 1px solid #e7e9eb !important; margin: 4px 0 0; padding-top: 23px !important; text-align: center; }
.lcdp-auth .col-register-text > :not(.wd-switch-to-register) { display: none; }
.lcdp-auth .col-register-text .wd-switch-to-register { background: none; border: 0; padding: 10px 0; color: var(--lcdp-teal); text-transform: none; font-size: 14px; font-weight: 600; text-decoration: underline; white-space: normal; box-shadow: none; }
.lcdp-auth .active-register .col-login { display: none !important; }
.lcdp-auth .active-register .col-register { display: block !important; }
.lcdp-auth .col-register .wd-login-title { margin-bottom: 26px; }
.login-form-side.lcdp-auth--sidebar { width: min(440px, 100vw); max-width: 100vw; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; }
.lcdp-auth--sidebar .wd-heading { position: sticky; top: 0; z-index: 3; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; background: #fff; }
.lcdp-auth--sidebar .wd-heading > .title { font-size: 24px; line-height: 1.3; font-weight: 600; }
.lcdp-auth--sidebar .close-side-widget a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.lcdp-auth--sidebar > .lcdp-auth-subtitle { margin: 20px 24px 0; }
.login-form-side.lcdp-auth--sidebar form.login { flex: none; overflow: visible; box-sizing: border-box; padding: 24px; }
.lcdp-auth--sidebar .create-account-question { margin: 0 24px 80px; padding: 20px 0; border-top: 1px solid #e7e9eb; text-align: center; }
.lcdp-auth--sidebar .create-account-question::before,
.lcdp-auth--sidebar .create-account-question > p { display: none; }
.lcdp-auth--sidebar .create-account-question .create-account-button { display: inline-block; padding: 10px 0; border: 0; background: none; color: #128c7e; font-size: 15px; line-height: 1.6; text-transform: none; text-decoration: underline; white-space: normal; }
@media (min-width: 768px) { .lcdp-auth { margin-top: 20px; } }
@media (min-width: 768px) { .login-form-side.lcdp-auth--sidebar { margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .lcdp-auth *, .lcdp-auth *::before { transition: none !important; animation: none !important; } }
