/* Native WooCommerce auth forms, presentation only. Scoped to guest My Account. */
body.tdwc-auth-enabled.woocommerce-account .woocommerce:has(> #customer_login),
body.tdwc-auth-enabled.woocommerce-account .woocommerce:has(> form.woocommerce-form-login),
body.tdwc-auth-enabled.woocommerce-account .woocommerce:has(> form.woocommerce-ResetPassword){width:100%;}
body.tdwc-auth-enabled.woocommerce-account #customer_login{display:block!important;max-width:var(--tdwc-auth-width,460px);margin:28px auto 48px!important;}
body.tdwc-auth-enabled.woocommerce-account #customer_login .u-column1,
body.tdwc-auth-enabled.woocommerce-account #customer_login .u-column2{width:100%!important;float:none!important;margin:0!important;padding:0!important;}
body.tdwc-auth-enabled.woocommerce-account #customer_login[data-tdwc-auth-view="login"] .u-column2,
body.tdwc-auth-enabled.woocommerce-account #customer_login[data-tdwc-auth-view="register"] .u-column1{display:none!important;}
body.tdwc-auth-enabled.woocommerce-account #customer_login > .u-column1 > h2,
body.tdwc-auth-enabled.woocommerce-account #customer_login > .u-column2 > h2,
body.tdwc-auth-enabled.woocommerce-account .woocommerce > h2:has(+ form.woocommerce-form-login){display:none!important;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce form.woocommerce-form-login,
body.tdwc-auth-enabled.woocommerce-account .woocommerce form.woocommerce-form-register,
body.tdwc-auth-enabled.woocommerce-account .woocommerce form.woocommerce-ResetPassword{
 box-sizing:border-box;display:block;max-width:var(--tdwc-auth-width,460px);width:100%;margin:28px auto 48px!important;padding:var(--tdwc-auth-padding,32px)!important;
 border:1px solid var(--tdwc-auth-border,#dce8f3)!important;border-radius:16px!important;background:var(--tdwc-auth-surface,#fff)!important;
 color:var(--tdwc-auth-text,#0b2b5f)!important;box-shadow:0 12px 36px rgba(25,49,85,.07);
}
body.tdwc-auth-enabled.woocommerce-account #customer_login form.woocommerce-form-login,
body.tdwc-auth-enabled.woocommerce-account #customer_login form.woocommerce-form-register{margin:0!important;}
body.tdwc-auth-enabled .tdwc-auth__heading{text-align:center;margin:0 0 25px;color:var(--tdwc-auth-text,#0b2b5f);}
body.tdwc-auth-enabled .tdwc-auth__symbol{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;background:var(--tdwc-auth-subtle,#edf6ff);color:var(--tdwc-auth-primary,#0b2b5f);border-radius:50%;margin:0 auto 14px;}
body.tdwc-auth-enabled .tdwc-auth__title{font-size:23px;line-height:1.3;font-weight:700;padding:0;margin:0 0 7px;color:inherit;}
body.tdwc-auth-enabled .tdwc-auth__description{font-size:14px;line-height:1.6;margin:0;color:var(--tdwc-auth-muted,#5f7698);}
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(form.login,form.register,form.woocommerce-ResetPassword) .form-row{float:none;width:100%;margin:0 0 18px;padding:0;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(form.login,form.register,form.woocommerce-ResetPassword) label{display:block;margin:0 0 8px;color:var(--tdwc-auth-text,#0b2b5f);font-weight:600;font-size:13px;line-height:1.5;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(form.login,form.register,form.woocommerce-ResetPassword) input.input-text{width:100%;min-height:46px;border:1px solid var(--tdwc-auth-border,#dce8f3);background:#fff;border-radius:9px;padding:11px 13px;font:inherit;font-size:15px;color:var(--tdwc-auth-text,#0b2b5f);box-shadow:none;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(form.login,form.register,form.woocommerce-ResetPassword) input.input-text:focus-visible{outline:2px solid var(--tdwc-auth-primary,#0b2b5f);outline-offset:1px;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(form.login,form.register,form.woocommerce-ResetPassword) input.input-text:-webkit-autofill{box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:var(--tdwc-auth-text,#0b2b5f);}
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(form.login,form.register,form.woocommerce-ResetPassword) button.woocommerce-button,
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(form.login,form.register,form.woocommerce-ResetPassword) button[type="submit"]{display:block;float:none;width:100%;min-height:46px;background:var(--tdwc-auth-primary,#0b2b5f)!important;border:1px solid var(--tdwc-auth-primary,#0b2b5f)!important;color:#fff!important;font-size:15px;font-weight:600;border-radius:9px;padding:10px 18px;cursor:pointer;transition:background-color .15s;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(form.login,form.register,form.woocommerce-ResetPassword) button[type="submit"]:hover{background:var(--tdwc-auth-primary-hover,#123f82)!important;}
body.tdwc-auth-enabled .tdwc-auth__switch{margin:18px 0 0!important;text-align:center;}
body.tdwc-auth-enabled .tdwc-auth__switch button{border:0;background:none;padding:6px;color:var(--tdwc-auth-primary,#0b2b5f);font-weight:600;cursor:pointer;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce form.login .woocommerce-LostPassword{margin:13px 0 0;text-align:center;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce form.login .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:7px;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce form.login .woocommerce-form-login__rememberme input{margin:0;}
body.tdwc-auth-enabled.woocommerce-account .tdwc-auth__password-wrap{position:relative;}
body.tdwc-auth-enabled.woocommerce-account .tdwc-auth__password-wrap input{padding-right:54px!important;}
body.tdwc-auth-enabled.woocommerce-account .tdwc-auth__password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:none;min-width:36px;min-height:36px;display:flex;align-items:center;justify-content:center;color:var(--tdwc-auth-primary,#0b2b5f);border-radius:6px;cursor:pointer;}
body.tdwc-auth-enabled.woocommerce-account .tdwc-auth__password-toggle svg{width:20px;height:20px;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce :is(.woocommerce-error,.woocommerce-message,.woocommerce-info){max-width:var(--tdwc-auth-width,460px);margin:12px auto 16px!important;border-radius:10px;}
@media(max-width:767px){body.tdwc-auth-enabled.woocommerce-account .woocommerce form.woocommerce-form-login,body.tdwc-auth-enabled.woocommerce-account .woocommerce form.woocommerce-form-register,body.tdwc-auth-enabled.woocommerce-account .woocommerce form.woocommerce-ResetPassword{width:calc(100% - 32px);margin:22px auto 36px!important;padding:min(var(--tdwc-auth-padding,32px),22px)!important;}body.tdwc-auth-enabled.woocommerce-account #customer_login{width:calc(100% - 32px);margin:22px auto 36px!important;}}
/* WooCommerce lost-password/reset-password hooks run before their form. Keep the native
   forms and combine the hook heading visually into the same card. */
body.tdwc-auth-enabled.woocommerce-account .woocommerce > .tdwc-auth__heading{max-width:var(--tdwc-auth-width,460px);box-sizing:border-box;background:var(--tdwc-auth-surface,#fff);border:1px solid var(--tdwc-auth-border,#dce8f3);border-bottom:0;border-radius:16px 16px 0 0;padding:var(--tdwc-auth-padding,32px) var(--tdwc-auth-padding,32px) 0;margin:24px auto 0;box-shadow:0 -4px 18px rgba(25,49,85,.03);}
body.tdwc-auth-enabled.woocommerce-account .woocommerce > .tdwc-auth__heading + form.woocommerce-ResetPassword{margin-top:0!important;border-top:0!important;border-radius:0 0 16px 16px!important;padding-top:0!important;}
body.tdwc-auth-enabled.woocommerce-account .woocommerce > .tdwc-auth__heading + form.woocommerce-ResetPassword > p:first-child:not(.form-row){color:var(--tdwc-auth-muted,#5f7698);font-size:13px;line-height:1.6;margin-top:0;}
@media(max-width:767px){body.tdwc-auth-enabled.woocommerce-account .woocommerce > .tdwc-auth__heading{width:calc(100% - 32px);padding:min(var(--tdwc-auth-padding,32px),22px) min(var(--tdwc-auth-padding,32px),22px) 0;}}
body.tdwc-auth-enabled.woocommerce-account :is(form.login,form.register,form.woocommerce-ResetPassword) .password-input > .show-password-input{display:none!important;}
@media(max-width:767px){body.tdwc-auth-enabled.woocommerce-account #customer_login :is(form.woocommerce-form-login,form.woocommerce-form-register){width:100%!important;}}
