.ww-auth-shell {
  --ww-auth-accent: #a67328;
  --ww-auth-accent-dark: #84561b;
  --ww-auth-ink: #24313a;
  --ww-auth-muted: #727a83;
  --ww-auth-line: #e5e7eb;
  --ww-auth-soft: #f7f4ee;
  box-sizing: border-box;
  width: 100%;
  color: var(--ww-auth-ink);
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  text-align: left;
}
.ww-auth-shell *, .ww-auth-shell *::before, .ww-auth-shell *::after { box-sizing: border-box; }
.ww-auth-shell .ww-auth-header { padding: 0; margin: 0 0 24px; background: none; }
.ww-auth-shell .ww-auth-brand {
  color: var(--ww-auth-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ww-auth-shell .ww-auth-title { margin: 0 0 6px; color: var(--ww-auth-ink); font-size: 26px; font-weight: 700; line-height: 1.25; text-transform: none; }
.ww-auth-shell .ww-auth-intro { margin: 0; color: var(--ww-auth-muted); font-size: 14px; line-height: 1.6; }
.ww-auth-shell .ww-auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; margin: 0 0 22px; background: #f2f3f5; border-radius: 12px; }
.ww-auth-shell .ww-auth-tabs[hidden] { display: none; }
.ww-auth-shell .ww-auth-tab {
  display: block;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  box-shadow: none;
  background: transparent;
  color: var(--ww-auth-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.ww-auth-shell .ww-auth-tab[aria-selected="true"] { color: var(--ww-auth-accent-dark); background: #fff; box-shadow: 0 2px 6px #20304012; }
.ww-auth-shell .ww-auth-tab[hidden], .ww-auth-shell .ww-auth-panel[hidden] { display: none !important; }
.ww-auth-shell .ww-auth-tabs:has(.ww-auth-tab[hidden]) { grid-template-columns: 1fr; }
.ww-auth-shell .ww-auth-tab:focus-visible, .ww-auth-shell button:focus-visible, .ww-auth-shell a:focus-visible { outline: 2px solid var(--ww-auth-accent); outline-offset: 3px; }
.ww-auth-shell.ww-auth-enhanced #customer_login { display: block; margin: 0; width: 100%; }
.ww-auth-shell.ww-auth-enhanced .ww-auth-panel { float: none; width: 100%; max-width: 100%; flex-basis: 100%; padding: 0; margin: 0; border: 0; }
.ww-auth-shell.ww-auth-enhanced .account-container, .ww-auth-shell.ww-auth-enhanced .account-login-inner, .ww-auth-shell.ww-auth-enhanced .account-register-inner { padding: 0; margin: 0; }
.ww-auth-shell.ww-auth-enhanced .ww-auth-panel::before, .ww-auth-shell.ww-auth-enhanced .ww-auth-panel::after { display: none; }
.ww-auth-shell.ww-auth-enhanced .ww-auth-panel > h2, .ww-auth-shell.ww-auth-enhanced .ww-auth-panel > h3 { display: none; }
.ww-auth-shell.ww-auth-enhanced .account-login-inner > h2, .ww-auth-shell.ww-auth-enhanced .account-login-inner > h3, .ww-auth-shell.ww-auth-enhanced .account-register-inner > h2, .ww-auth-shell.ww-auth-enhanced .account-register-inner > h3 { display: none; }
.ww-auth-shell form.login, .ww-auth-shell form.register { padding: 0; margin: 0; border: 0; border-radius: 0; text-align: left; }
.ww-auth-shell form .form-row { margin: 0 0 16px; padding: 0; width: 100%; float: none; }
.ww-auth-shell form label { display: block; margin: 0 0 7px; color: var(--ww-auth-ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.ww-auth-shell .required { color: var(--ww-auth-accent); }
.ww-auth-shell .ww-auth-optional { font-size: 11px; font-weight: 400; color: var(--ww-auth-muted); white-space: nowrap; }
.ww-auth-shell input[type="text"], .ww-auth-shell input[type="email"], .ww-auth-shell input[type="tel"], .ww-auth-shell input[type="password"] {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 11px 13px;
  color: var(--ww-auth-ink);
  border: 1px solid #dfe2e6;
  border-radius: 9px;
  box-shadow: none;
  background: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.ww-auth-shell input::placeholder { color: #9da3aa; font-size: 13px; }
.ww-auth-shell input:focus { outline: 0; border-color: var(--ww-auth-accent); box-shadow: 0 0 0 3px #a6732814; }
.ww-auth-shell .ww-auth-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ww-auth-shell form .password-input, .ww-auth-shell .ww-auth-password-wrap { display: block; position: relative; width: 100%; }
.ww-auth-shell form .password-input input, .ww-auth-shell .ww-auth-password-wrap input { padding-right: 44px; }
.ww-auth-shell .ww-auth-password-toggle { position: absolute; right: 5px; top: 5px; display: grid; place-items: center; width: 36px; height: 36px; min-height: 0; padding: 7px; margin: 0; border: 0; border-radius: 6px; color: #79818a; background: transparent; box-shadow: none; line-height: 1; }
.ww-auth-shell .ww-auth-password-toggle svg { width: 20px; height: 20px; }
.ww-auth-shell .ww-auth-password-toggle:hover { color: var(--ww-auth-accent); background: var(--ww-auth-soft); }
.ww-auth-shell form .show-password-input { top: 10px; right: 12px; }
.ww-auth-shell .ww-auth-password-note { display: block; color: var(--ww-auth-muted); font-size: 11px; line-height: 1.5; margin-top: 7px; }
.ww-auth-shell .woocommerce-password-strength, .ww-auth-shell .woocommerce-password-hint { font-size: 12px; line-height: 1.5; }
.ww-auth-shell form .woocommerce-form-login__rememberme, .ww-auth-shell form label.inline { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; margin: 0 0 15px; }
.ww-auth-shell input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--ww-auth-accent); }
.ww-auth-shell form button[type="submit"], .ww-auth-shell form input[type="submit"] {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 18px;
  border: 1px solid var(--ww-auth-accent);
  border-radius: 9px;
  background: var(--ww-auth-accent);
  color: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.ww-auth-shell form button[type="submit"]:hover { background: var(--ww-auth-accent-dark); border-color: var(--ww-auth-accent-dark); }
.ww-auth-shell form button[type="submit"]:disabled { opacity: .55; cursor: not-allowed; }
.ww-auth-shell .lost_password { margin: 13px 0 0; text-align: right; font-size: 13px; line-height: 1.5; }
.ww-auth-shell .lost_password a, .ww-auth-shell .woocommerce-privacy-policy-text a { color: var(--ww-auth-accent-dark); }
.ww-auth-shell .woocommerce-privacy-policy-text { color: var(--ww-auth-muted); font-size: 12px; line-height: 1.6; }
.ww-auth-shell .woocommerce-privacy-policy-text p { margin: 0 0 16px; }
.ww-auth-shell .ww-auth-switch { margin: 20px 0 0; text-align: center; color: var(--ww-auth-muted); font-size: 13px; line-height: 1.6; }
.ww-auth-shell .ww-auth-switch button { min-height: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--ww-auth-accent-dark); font: inherit; font-weight: 600; line-height: inherit; text-transform: none; letter-spacing: 0; }
.ww-auth-shell .ww-auth-social { margin-top: 23px; }
.ww-auth-shell .ww-auth-separator { display: flex; align-items: center; gap: 13px; color: #90969d; font-size: 12px; line-height: 1.5; margin-bottom: 17px; }
.ww-auth-shell .ww-auth-separator::before, .ww-auth-shell .ww-auth-separator::after { content: ""; height: 1px; flex: 1; background: var(--ww-auth-line); }
.ww-auth-shell .nsl-container:not(.ww-auth-social .nsl-container) { display: none !important; }
.ww-auth-shell .ww-auth-social .nsl-container { display: block; padding: 0; }
.ww-auth-shell .ww-auth-social .nsl-container-buttons { display: grid !important; grid-template-columns: 1fr; padding: 0; gap: 10px; }
.ww-auth-shell .ww-auth-social .nsl-container-buttons a { display: block; width: 100%; margin: 0 !important; }
.ww-auth-shell .ww-auth-social .nsl-button { min-height: 44px; border-radius: 8px; box-shadow: none; }
.ww-auth-shell .woocommerce-error { margin: 0 0 18px; padding: 12px 15px; border-radius: 8px; color: #a32525; background: #fff3f3; font-size: 13px; line-height: 1.5; list-style: none; }
.ww-auth-account { padding: 0 !important; }
.ww-auth-legacy-social { display: none !important; }
.ww-auth-modal { width: min(100%, 520px) !important; margin: 24px auto !important; padding: 0 !important; border-radius: 20px !important; background: #fff !important; box-shadow: 0 24px 80px #14212b40; overflow: auto; max-height: calc(100dvh - 48px); }
.ww-auth-modal .mfp-close { right: 8px; top: 7px; color: #6d737b; }
@media (max-width: 549px) {
  .ww-auth-shell { padding: 27px 21px; border-radius: 15px; }
  .ww-auth-shell .ww-auth-title { font-size: 24px; }
  .ww-auth-shell .ww-auth-brand { padding-right: 20px; }
  .ww-auth-shell .ww-auth-field-grid { grid-template-columns: 1fr; gap: 0; }
  .ww-auth-shell input[type="text"], .ww-auth-shell input[type="email"], .ww-auth-shell input[type="tel"], .ww-auth-shell input[type="password"] { font-size: 16px; }
  .ww-auth-modal { width: calc(100% - 26px) !important; margin: 16px auto !important; border-radius: 15px !important; max-height: calc(100dvh - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .ww-auth-shell input { transition: none; }
}
