/* ============================================================
   KnownBoost Authentication V5
   Same site header, cleaner desktop alignment, mobile-first form.
   All custom rules stay scoped to authv2 classes.
   ============================================================ */

.authv2-body-root {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: #080b11;
  color: #f7f8fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.authv2-body-root *,
.authv2-body-root *::before,
.authv2-body-root *::after { box-sizing: border-box; }

.authv2-body-root a,
.authv2-body-root button,
.authv2-body-root input { font: inherit; }

.authv2-page {
  --auth-bg: #080b11;
  --auth-panel: #101620;
  --auth-panel-2: #131b27;
  --auth-input: #0b111a;
  --auth-border: rgba(148, 163, 184, .19);
  --auth-border-soft: rgba(255, 255, 255, .075);
  --auth-text: #f7f8fb;
  --auth-muted: #9ca7b8;
  --auth-dim: #6f7a8d;
  --auth-success: #4ade80;
  --auth-danger: #ff7180;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 16% 14%, rgba(244, 180, 0, .055), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(124, 106, 247, .055), transparent 30rem),
    linear-gradient(180deg, #0a0e15 0%, #070a0f 72%, #090c12 100%);
}

.authv2-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 0 1px, transparent 1.5px);
  background-size: 42px 42px;
}

/* ------------------------------------------------------------
   Header: intentionally uses the same base classes as the site.
   ------------------------------------------------------------ */
.authv2-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  flex: 0 0 auto;
  background: rgba(18, 22, 34, .94);
  border-bottom: 1px solid var(--border2);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(0,0,0,.32);
}

.authv2-navbar-inner {
  height: 64px;
  max-width: 1240px;
  padding: 0 24px;
  gap: 20px;
}

.authv2-navbar-logo-image {
  display: block;
  width: auto;
  max-width: 164px;
  height: 32px;
  object-fit: contain;
}

.authv2-navbar-nav { min-width: 0; }

.authv2-navbar-actions .authv2-nav-login,
.authv2-navbar-actions .authv2-nav-signup {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
}

.authv2-navbar-actions .authv2-nav-login.active {
  color: var(--gold);
  border-color: rgba(245, 200, 66, .48);
  background: rgba(245, 200, 66, .055);
}

.authv2-navbar-actions .authv2-nav-signup.active {
  box-shadow: 0 0 0 2px rgba(245, 200, 66, .18), 0 8px 20px rgba(0,0,0,.2);
}

.authv2-nav-toggle { display: none; }
.authv2-mobile-home { display: none; }
.authv2-theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1);
  background: transparent; color: #d8dce6; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.authv2-theme-toggle:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
[data-theme="light"] .authv2-theme-toggle { color: #3c4260; border-color: rgba(0,0,0,.1); }
[data-theme="light"] .authv2-theme-toggle:hover { background: rgba(0,0,0,.05); }

/* ------------------------------------------------------------
   Main layout
   ------------------------------------------------------------ */
.authv2-main {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 0 auto;
  padding: 34px 24px 26px;
}

.authv2-layout {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

/* ------------------------------------------------------------
   Left marketing panel
   ------------------------------------------------------------ */
.authv2-brand-panel {
  overflow: hidden;
  border: 1px solid var(--auth-border-soft);
  border-radius: 18px;
  background: rgba(13, 18, 27, .9);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.authv2-brand-visual {
  --auth-brand-image: none;
  position: relative;
  min-height: 402px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image: var(--auth-brand-image);
  background-repeat: no-repeat;
  background-position: center 12%;
  background-size: cover;
}

.authv2-brand-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,13,.04) 22%, rgba(5,8,13,.42) 61%, rgba(8,11,17,.96) 100%),
    linear-gradient(90deg, rgba(8,11,17,.14), rgba(8,11,17,.02) 50%, rgba(8,11,17,.15));
}

.authv2-brand-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 24px 25px;
}

.authv2-brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  color: #e8ecf3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.authv2-brand-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-shadow: 0 10px 28px rgba(0,0,0,.54);
}

.authv2-brand-copy h1 span {
  display: block;
  margin-top: 6px;
  color: var(--gold);
}

.authv2-brand-copy p {
  max-width: 270px;
  margin: 15px 0 0;
  color: #bac3d0;
  font-size: 13px;
  line-height: 1.6;
}

.authv2-feature-list {
  display: grid;
  gap: 4px;
  padding: 13px 14px 9px;
  border-top: 1px solid var(--auth-border-soft);
}

.authv2-feature {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 11px;
  transition: background .18s ease;
}

.authv2-feature:hover { background: rgba(255,255,255,.035); }

.authv2-feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(245, 200, 66, .2);
  border-radius: 9px;
  background: rgba(245, 200, 66, .065);
}

.authv2-feature > div { min-width: 0; }
.authv2-feature strong {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.authv2-feature small {
  display: block;
  margin-top: 4px;
  color: #8995a7;
  font-size: 10.5px;
  line-height: 1.45;
}

.authv2-community {
  min-height: 55px;
  padding: 13px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--auth-border-soft);
  color: #9aa6b7;
  font-size: 11px;
}

.authv2-community strong { color: var(--gold); font-size: 13px; }
.authv2-community small { color: #667286; font-size: 10px; }

/* ------------------------------------------------------------
   Authentication shell and tabs
   ------------------------------------------------------------ */
.authv2-auth-shell {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--auth-border);
  border-radius: 18px;
  background: rgba(14, 20, 30, .94);
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
}

.authv2-tabs {
  min-height: 61px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  border-bottom: 1px solid var(--auth-border-soft);
  background: rgba(12, 17, 26, .76);
}

.authv2-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aab4c3;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.authv2-tab:hover { color: #fff; background: rgba(255,255,255,.018); }
.authv2-tab.active { color: var(--gold); }
.authv2-tab.active::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(245, 200, 66, .25);
}

.authv2-auth-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(380px, 1fr) 310px;
  align-items: stretch;
}

.authv2-auth-grid-standalone { grid-template-columns: minmax(380px, 1fr) 310px; }

.authv2-card {
  min-width: 0;
  border-right: 1px solid var(--auth-border-soft);
  background: rgba(14,20,30,.58);
}

.authv2-form-area {
  width: min(470px, 100%);
  margin: 0 auto;
  padding: 39px 34px 36px;
}

.authv2-form-title {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.authv2-form-sub {
  margin: 9px 0 28px;
  color: var(--auth-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ------------------------------------------------------------
   Form controls
   ------------------------------------------------------------ */
.authv2-field { margin-bottom: 18px; }

.authv2-field > label {
  display: block;
  margin-bottom: 8px;
  color: #f1f4f8;
  font-size: 12px;
  font-weight: 750;
}

.authv2-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  background: var(--auth-input);
  box-shadow: inset 0 1px rgba(255,255,255,.018);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.authv2-input-wrap:focus-within {
  border-color: rgba(245, 200, 66, .67);
  background: #0d141e;
  box-shadow: 0 0 0 3px rgba(245, 200, 66, .09);
}

.authv2-input-icon {
  width: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #8390a2;
}

.authv2-input-wrap input {
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0 13px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f8fafc;
  font-size: 13px;
}

.authv2-input-wrap.has-toggle input { padding-right: 48px; }
.authv2-input-wrap input::placeholder { color: #687487; opacity: 1; }

.authv2-pw-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8f9bae;
  cursor: pointer;
}

.authv2-pw-toggle:hover { background: rgba(255,255,255,.045); color: #fff; }

.authv2-row {
  margin: 1px 0 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.authv2-checkbox,
.authv2-terms {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #aab4c3;
  font-size: 11.5px;
  line-height: 1.5;
  cursor: pointer;
}

.authv2-checkbox { align-items: center; }
.authv2-checkbox input,
.authv2-terms input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--gold);
}

.authv2-terms { margin: 4px 0 21px; }
.authv2-terms a,
.authv2-link,
.authv2-switch a {
  color: var(--gold);
  font-weight: 750;
  text-decoration: none;
}

.authv2-terms a:hover,
.authv2-link:hover,
.authv2-switch a:hover { text-decoration: underline; }

.authv2-link { font-size: 11.5px; white-space: nowrap; }

.authv2-submit,
.authv2-secondary-action {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.authv2-submit {
  border: 1px solid rgba(255, 219, 91, .82);
  background: linear-gradient(180deg, #ffd54f, #f5b900);
  color: #181100;
  box-shadow: 0 9px 24px rgba(245, 184, 0, .14), inset 0 1px rgba(255,255,255,.42);
}

.authv2-submit:hover { transform: translateY(-1px); filter: brightness(1.035); }
.authv2-submit:active { transform: translateY(0); }
.authv2-submit:disabled { opacity: .72; cursor: wait; transform: none; }

.authv2-secondary-action {
  margin-top: 12px;
  border: 1px solid var(--auth-border);
  background: rgba(255,255,255,.025);
  color: #e7ebf1;
}

.authv2-secondary-action:hover { border-color: rgba(245,200,66,.45); background: rgba(245,200,66,.045); }

.authv2-divider {
  margin: 25px 0 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #747f90;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.authv2-divider::before,
.authv2-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--auth-border-soft);
}

.authv2-social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.authv2-social-single { grid-template-columns: 1fr; }

.authv2-social-btn {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--auth-border);
  border-radius: 9px;
  background: rgba(8, 13, 20, .72);
  color: #e7ebf1;
  font-size: 11.5px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.authv2-social-btn:hover { transform: translateY(-1px); border-color: rgba(245,200,66,.38); background: rgba(255,255,255,.035); }

.authv2-switch {
  margin-top: 24px;
  color: #929daf;
  font-size: 11.5px;
  text-align: center;
}

.authv2-alert {
  margin: 0 0 15px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid;
  border-radius: 9px;
  font-size: 11.5px;
  line-height: 1.45;
}

.authv2-alert-error { border-color: rgba(255,113,128,.31); background: rgba(255,113,128,.075); color: #ffc2c8; }
.authv2-alert-info { border-color: rgba(96,165,250,.28); background: rgba(96,165,250,.075); color: #c7ddff; }

.authv2-pw-strength { margin-top: 8px; }
.authv2-pw-strength-track { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.07); }
.authv2-pw-strength-fill { width: 0; height: 100%; border-radius: inherit; transition: width .2s ease, background .2s ease; }
.authv2-pw-strength-label { margin-top: 5px; color: #6f7a8d; font-size: 10px; }
.authv2-field-message { min-height: 15px; margin-top: 5px; color: var(--auth-danger); font-size: 10px; }

.authv2-center { text-align: center; }
.authv2-center .authv2-form-sub { max-width: 390px; margin-left: auto; margin-right: auto; }
.authv2-success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 50%;
  background: rgba(74,222,128,.075);
}

.authv2-spinner { animation: authv2-spin .8s linear infinite; }
@keyframes authv2-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------
   Security panel
   ------------------------------------------------------------ */
.authv2-security-panel {
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: rgba(8, 13, 20, .54);
}

.authv2-security-art {
  --auth-security-image: none;
  min-height: 210px;
  border: 1px solid rgba(245, 200, 66, .24);
  border-radius: 13px;
  background-image:
    linear-gradient(180deg, rgba(8,11,17,.02), rgba(8,11,17,.18)),
    var(--auth-security-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.authv2-security-content { padding: 22px 8px 7px; }
.authv2-security-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 12px;
  background: rgba(245,200,66,.06);
}

.authv2-security-content h2 {
  margin: 17px 0 10px;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.authv2-security-content p {
  margin: 0;
  color: #9aa5b6;
  font-size: 11.5px;
  line-height: 1.58;
}

.authv2-security-list { margin-top: 19px; display: grid; gap: 12px; }
.authv2-security-list > div { display: flex; align-items: center; gap: 10px; color: #e1e6ed; font-size: 11.5px; }
.authv2-security-list svg { color: #dfe5ed; }

/* ------------------------------------------------------------
   Trust bar and footer
   ------------------------------------------------------------ */
.authv2-trustbar {
  width: min(1240px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--auth-border-soft);
  border-radius: 13px;
  background: rgba(13,18,27,.72);
  overflow: hidden;
}

.authv2-trust-card {
  min-width: 0;
  min-height: 72px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--auth-border-soft);
}

.authv2-trust-card:last-child { border-right: 0; }
.authv2-trust-card > svg { flex: 0 0 auto; }
.authv2-trust-card span { min-width: 0; }
.authv2-trust-card strong { display: block; color: #f2f5f8; font-size: 10.5px; font-weight: 800; }
.authv2-trust-card small { display: block; margin-top: 3px; color: #778295; font-size: 9.5px; line-height: 1.35; }

.authv2-footer {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 19px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #707c8f;
  font-size: 10px;
}

.authv2-footer nav { display: flex; align-items: center; gap: 17px; }
.authv2-footer a { color: #8792a4; text-decoration: none; }
.authv2-footer a:hover { color: #fff; }

/* ------------------------------------------------------------
   Tablet
   ------------------------------------------------------------ */
@media (max-width: 1120px) {
  .authv2-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 18px; }
  .authv2-brand-visual { min-height: 350px; }
  .authv2-brand-copy h1 { font-size: 34px; }
  .authv2-auth-grid,
  .authv2-auth-grid-standalone { grid-template-columns: minmax(0, 1fr); }
  .authv2-card { border-right: 0; }
  .authv2-security-panel { display: none; }
  .authv2-form-area { width: min(510px, 100%); padding: 38px 38px 36px; }
}

@media (max-width: 900px) {
  .authv2-navbar-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: auto;
    max-height: calc(100vh - 64px);
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    overflow-y: auto;
    border-top: 1px solid var(--border2);
    background: rgba(18,22,34,.985);
    box-shadow: 0 16px 30px rgba(0,0,0,.36);
  }
  .authv2-navbar-nav.open { display: flex; }
  .authv2-navbar-nav a { min-height: 44px; padding: 11px 13px; }
  .authv2-nav-toggle { display: flex; }

  .authv2-main { padding-top: 22px; }
  .authv2-layout { width: min(620px, 100%); grid-template-columns: 1fr; }
  .authv2-brand-panel { display: none; }
  .authv2-auth-shell { border-radius: 16px; }
  .authv2-form-area { width: min(520px, 100%); }
  .authv2-trustbar { width: min(620px, 100%); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .authv2-trust-card:nth-child(2) { border-right: 0; }
  .authv2-trust-card:nth-child(-n+2) { border-bottom: 1px solid var(--auth-border-soft); }
  .authv2-footer { width: min(620px, calc(100% - 48px)); }
}

/* ------------------------------------------------------------
   Mobile: deliberately simple. Art, security and trust panels are hidden.
   ------------------------------------------------------------ */
@media (max-width: 640px) {
  .authv2-navbar-inner { height: 58px; padding: 0 15px; gap: 10px; }
  .authv2-navbar-logo { gap: 8px; font-size: 17px; }
  .authv2-navbar-logo svg { width: 23px; height: 23px; }
  .authv2-navbar-logo-image { max-width: 132px; height: 28px; }
  .authv2-navbar-actions .authv2-nav-login,
  .authv2-navbar-actions .authv2-nav-signup,
  .authv2-nav-toggle { display: none; }
  .authv2-mobile-home {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border2);
    border-radius: 9px;
    background: var(--surface2);
    color: var(--text2);
    text-decoration: none;
  }

  .authv2-main { padding: 14px 12px 12px; }
  .authv2-layout { display: block; width: 100%; }
  .authv2-auth-shell {
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0,0,0,.28);
  }
  .authv2-tabs { min-height: 52px; }
  .authv2-tab { font-size: 13px; }
  .authv2-tab.active::after { left: 30%; right: 30%; }
  .authv2-form-area { width: 100%; padding: 25px 18px 23px; }
  .authv2-form-title { font-size: 23px; }
  .authv2-form-sub { margin: 7px 0 22px; font-size: 12px; }
  .authv2-field { margin-bottom: 15px; }
  .authv2-input-wrap { min-height: 48px; }
  .authv2-input-wrap input { height: 46px; font-size: 16px; }
  .authv2-row { margin-bottom: 18px; }
  .authv2-checkbox,
  .authv2-link,
  .authv2-terms { font-size: 11px; }
  .authv2-submit { min-height: 48px; }
  .authv2-social { grid-template-columns: 1fr; }
  .authv2-security-panel,
  .authv2-trustbar { display: none; }
  .authv2-footer {
    width: calc(100% - 30px);
    padding: 12px 0 18px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
  .authv2-footer nav { gap: 14px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 390px) {
  .authv2-navbar-logo span { max-width: 156px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .authv2-form-area { padding-left: 15px; padding-right: 15px; }
  .authv2-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .authv2-page *,
  .authv2-page *::before,
  .authv2-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================
   LIGHT THEME
   The branding panel (left) and security panel (right) keep their
   dark styling regardless of theme — same reasoning as the homepage
   hero: they're built around a photo/artwork backdrop (or a dark
   gradient standing in for one), and forcing them light would fight
   the image's own contrast rather than complement it. The actual
   form — the part people are reading and typing into — gets full
   light-theme support below, since there's no such justification for
   a plain surface staying dark.
   ========================================================== */
[data-theme="light"] .authv2-page { background: #f0f2f8; }
[data-theme="light"] .authv2-topbar { }
[data-theme="light"] .authv2-logo-text strong { color: #1a1d2e; }
[data-theme="light"] .authv2-logo-text small { color: #6b7290; }
[data-theme="light"] .authv2-back { color: #4a4f6a; border-color: rgba(0,0,0,.1); }
[data-theme="light"] .authv2-back:hover { color: #1a1d2e; border-color: var(--gold); }

[data-theme="light"] .authv2-card { background: #ffffff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] .authv2-tabs { background: #eaecf6; border-color: rgba(0,0,0,.06); }
[data-theme="light"] .authv2-tab { color: #6b7290; }
[data-theme="light"] .authv2-tab:hover { color: #1a1d2e; }
[data-theme="light"] .authv2-form-title { color: #1a1d2e; }
[data-theme="light"] .authv2-form-sub { color: #6b7290; }

[data-theme="light"] .authv2-field label { color: #3c4260; }
[data-theme="light"] .authv2-input-wrap input,
[data-theme="light"] .authv2-input-wrap select { background: #f4f5fb; border-color: rgba(0,0,0,.1); color: #1a1d2e; }
[data-theme="light"] .authv2-input-wrap input::placeholder { color: #8890b8; }
[data-theme="light"] .authv2-input-wrap input:focus,
[data-theme="light"] .authv2-input-wrap select:focus { background: #fff; border-color: var(--gold); }
[data-theme="light"] .authv2-input-icon { color: #8890b8; }
[data-theme="light"] .authv2-pw-toggle { color: #8890b8; }
[data-theme="light"] .authv2-pw-toggle:hover { color: #1a1d2e; }

[data-theme="light"] .authv2-checkbox { color: #4a4f6a; }
[data-theme="light"] .authv2-switch { color: #6b7290; }
[data-theme="light"] .authv2-divider { color: #8890b8; }
[data-theme="light"] .authv2-divider::before,
[data-theme="light"] .authv2-divider::after { background: rgba(0,0,0,.08); }
[data-theme="light"] .authv2-social-btn { background: #f4f5fb; border-color: rgba(0,0,0,.1); color: #1a1d2e; }
[data-theme="light"] .authv2-social-btn:hover { background: #eaecf6; border-color: rgba(0,0,0,.2); }

[data-theme="light"] .authv2-trust-card { background: #fff; border-color: rgba(0,0,0,.07); }
[data-theme="light"] .authv2-trust-card strong { color: #1a1d2e; }
[data-theme="light"] .authv2-trust-card small { color: #6b7290; }
[data-theme="light"] .authv2-footer { color: #8890b8; border-color: rgba(0,0,0,.07); }
[data-theme="light"] .authv2-footer a { color: #4a4f6a; }
[data-theme="light"] .authv2-footer a:hover { color: #1a1d2e; }

[data-theme="light"] .authv2-alert-error { background: rgba(231,76,60,.08); }
[data-theme="light"] .authv2-alert-success { background: rgba(46,204,113,.08); }
