/* BRNPWR — Auth & Dashboard styles
   Brutalist aesthetic: silver/navy panels, Input Mono, beveled buttons.
   Relies on CSS variables from styles.css (--electric-blue, --font-mono, etc.) */

/* ───────────────────────────────────────────────────────────────────────
   AUTH PAGES (signup, login, forgot, reset)
   ─────────────────────────────────────────────────────────────────────── */
.auth-section {
  min-height: calc(100dvh - 120px);
  padding: 100px 24px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

/* Brain flanks on signup/login/forgot/reset pages */
.auth-flank {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: clamp(440px, 44vw, 720px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}
.auth-flank--left { left: clamp(0%, 3vw, 6%); }
.auth-flank--right { right: clamp(0%, 3vw, 6%); }
@media (max-width: 1024px) { .auth-flank { display: none; } }
.auth-card { position: relative; z-index: 1; }
@media (min-width: 1024px) {
  .auth-section { padding: 140px 48px 120px; }
}
/* Shorter top space on the light auth pages (signup / login) */
body.auth-light .auth-section { padding-top: 56px; }
@media (min-width: 1024px) {
  body.auth-light .auth-section { padding-top: 80px; }
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(135deg, #2a2a2d 0%, #18181b 50%, #0a0a0c 100%);
  border-top: 4px solid #4a4a4e;
  border-left: 4px solid #4a4a4e;
  border-right: 4px solid #050507;
  border-bottom: 4px solid #050507;
  padding: 32px;
  position: relative;
  box-shadow: 8px 8px 0px 0px #a8adff;
}
.auth-card--narrow { max-width: 440px; }
@media (min-width: 1024px) { .auth-card { padding: 48px; } }

.auth-card__header { margin-bottom: 28px; }
.auth-card__title {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 16px 0 12px;
  color: #F4F4F4;
}
@media (min-width: 1024px) { .auth-card__title { font-size: 3rem; } }
.auth-card__sub {
  color: rgba(244,244,244,0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.auth-card__body { }

/* Plan picker */
.auth-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
@media (max-width: 480px) { .auth-plans { grid-template-columns: 1fr; } }
.auth-plan { position: relative; cursor: url('../img/aero-link.cur'), pointer; }
.auth-plan input { position: absolute; opacity: 0; pointer-events: none; }
.auth-plan__card {
  border: 1px solid rgba(244,244,244,0.15);
  padding: 16px;
  transition: border-color 0.15s, background 0.15s;
}
.auth-plan input:checked + .auth-plan__card {
  border-color: #a8adff;
  background: rgba(168,173,255,0.08);
}
.auth-plan__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.auth-plan__badge {
  font-size: 9px;
  background: #a8adff;
  color: #fff;
  padding: 2px 6px;
  letter-spacing: 0.08em;
}
.auth-plan__price {
  font-size: 1.6rem;
  font-weight: 500;
  color: #F4F4F4;
  letter-spacing: -0.02em;
}
.auth-plan__price-sub {
  font-size: 12px;
  color: rgba(244,244,244,0.5);
  font-weight: 400;
}
.auth-plan__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(244,244,244,0.5);
  margin-top: 6px;
}

/* Referral banner */
.referral-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(168,173,255,0.12);
  border: 1px solid rgba(168,173,255,0.3);
  color: #F4F4F4;
  font-size: 13px;
  line-height: 1.5;
}
.referral-banner[hidden] { display: none; }
.auth-error[hidden],
.auth-success[hidden] { display: none; }
.referral-banner__icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #a8adff;
  color: #fff;
  flex-shrink: 0;
}

/* Google button container — stretch to match form input width */
.auth-google {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  min-height: 44px;
}
/* Force every wrapper Google injects (div + iframe) to match the container width,
   so the Google button is exactly as wide as the email/name inputs below it. */
.auth-google > div,
.auth-google > div > div,
.auth-google iframe {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: rgba(244,244,244,0.4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(244,244,244,0.15);
}

/* Form */
.auth-form { }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .form-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.7);
  margin-bottom: 6px;
}
.form-label__link {
  font-size: 10px;
  color: #a8adff;
  text-transform: none;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.form-label__link:hover { text-decoration: underline; }
.auth-form .form-input,
.auth-form .form-select,
.auth-form textarea.form-input {
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid rgba(244,244,244,0.2);
  color: #F4F4F4;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.auth-form textarea.form-input { resize: vertical; min-height: 100px; font-family: Geist, sans-serif; }
.auth-form .form-input:focus,
.auth-form .form-select:focus { outline: none; border-color: #a8adff; }
.auth-form .form-input::placeholder { color: rgba(244,244,244,0.3); }
.auth-form .form-select { appearance: none; cursor: url('../img/aero-link.cur'), pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.auth-form .form-select option { background: #101011; color: #F4F4F4; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: rgba(244,244,244,0.7); line-height: 1.5; }
.form-checkbox input { margin-top: 3px; accent-color: #a8adff; }
.form-checkbox a { color: #a8adff; text-decoration: none; }
.form-checkbox a:hover { text-decoration: underline; }

.form-help { font-size: 11px; color: rgba(244,244,244,0.5); margin: 4px 0 0; font-family: var(--font-mono); }

.auth-error {
  padding: 10px 12px;
  background: rgba(255,60,60,0.12);
  border: 1px solid rgba(255,60,60,0.35);
  color: #ff7070;
  font-size: 12px;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}
.auth-success {
  padding: 10px 12px;
  background: rgba(60,220,120,0.12);
  border: 1px solid rgba(60,220,120,0.35);
  color: #7cdc99;
  font-size: 12px;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.auth-form .btn-cta { display: inline-flex; margin-top: 6px; }
.auth-form .btn-cta:disabled { opacity: 0.55; cursor: default; pointer-events: none; }

/* Auth + booking submit buttons — stretch to match form input width */
#login-form .btn-cta,
#signup-form .btn-cta,
#forgot-form .btn-cta,
#reset-form .btn-cta,
#bookingForm .btn-cta {
  display: flex;
  width: 100%;
}
#login-form .btn-cta .label,
#signup-form .btn-cta .label,
#forgot-form .btn-cta .label,
#reset-form .btn-cta .label,
#bookingForm .btn-cta .label {
  flex: 1;
  justify-content: center;
}

.auth-switch {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(244,244,244,0.6);
  font-family: var(--font-mono);
}
.auth-switch a { color: #a8adff; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* ───────────────────────────────────────────────────────────────────────
   DASHBOARD
   ─────────────────────────────────────────────────────────────────────── */
body:has(.dashboard-shell) { background: #0a0a0c; }
.dashboard-shell {
  min-height: 100dvh;
  background: #0a0a0c;
  color: #F4F4F4;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(244,244,244,0.08);
  background: rgba(10,10,12,0.98);
  position: sticky; top: 0;
  z-index: 50;
}
.dashboard-topbar__logo {
  height: 135px !important;
}
.dashboard-topbar__right { display: flex; align-items: center; gap: 14px; }
.dashboard-user { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.dashboard-user__name { font-size: 13px; font-weight: 500; }
.dashboard-user__plan { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,244,244,0.5); }
.dashboard-logout {
  background: none;
  border: 1px solid rgba(244,244,244,0.2);
  color: rgba(244,244,244,0.7);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: url('../img/aero-link.cur'), pointer;
  transition: border-color 0.15s, color 0.15s;
}
.dashboard-logout:hover { border-color: #F4F4F4; color: #F4F4F4; }

.dashboard-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.dashboard-mobile-menu span { display: block; width: 22px; height: 2px; background: #F4F4F4; }
@media (max-width: 900px) {
  .dashboard-mobile-menu { display: flex; }
  .dashboard-user { display: none; }
}

/* Layout */
.dashboard-layout {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Sidebar */
.dashboard-sidebar {
  width: 240px;
  flex-shrink: 0;
  padding: 24px 0;
  border-right: 1px solid rgba(244,244,244,0.08);
  background: #0a0a0c;
  position: sticky;
  top: 68px;
  align-self: flex-start;
  height: calc(100dvh - 68px);
  overflow-y: auto;
}
.dashboard-nav { display: flex; flex-direction: column; gap: 2px; }
.dashboard-nav__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  color: rgba(244,244,244,0.65);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.dashboard-nav__item:hover { color: #F4F4F4; background: rgba(244,244,244,0.03); }
.dashboard-nav__item.active {
  color: #F4F4F4;
  border-left-color: #a8adff;
  background: rgba(168,173,255,0.06);
}
.dashboard-nav__icon { display: inline-flex; align-items: center; justify-content: center; color: inherit; }

/* Main content */
.dashboard-main {
  flex: 1;
  min-width: 0;
  padding: 32px 32px 80px;
  max-width: 1100px;
}
@media (max-width: 900px) {
  .dashboard-main { padding: 24px 20px 60px; }
}

/* Section switching */
.dashboard-section { display: none; }
.dashboard-section.active { display: block; animation: dashFadeIn 0.25s ease; }
@keyframes dashFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.dashboard-section__header { margin-bottom: 32px; }
.dashboard-section__title {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 16px 0 8px;
  line-height: 1.1;
}
@media (min-width: 1024px) { .dashboard-section__title { font-size: 2.6rem; } }
.dashboard-section__sub { color: rgba(244,244,244,0.6); font-size: 14px; line-height: 1.6; max-width: 640px; }

/* Grid of summary cards */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (max-width: 1100px) { .dashboard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .dashboard-grid { grid-template-columns: 1fr; } }

.dash-card {
  padding: 18px;
  background: linear-gradient(180deg, #15161a 0%, #0e0f12 100%);
  border: 1px solid rgba(244,244,244,0.08);
}
.dash-card--primary { border-color: rgba(168,173,255,0.4); background: linear-gradient(180deg, rgba(168,173,255,0.08) 0%, #0e0f12 100%); }
.dash-card__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,244,244,0.5); margin-bottom: 8px; }
.dash-card__value { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.dash-card__value--ok { color: #7cdc99; }
.dash-card__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: rgba(244,244,244,0.5); margin-top: 10px; }
.dash-card__meta a { color: #a8adff; text-decoration: none; }

/* Subsection */
.dashboard-subsection { margin-bottom: 40px; }
.dashboard-subsection__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.7);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244,244,244,0.1);
}
.dashboard-subsection__text { color: rgba(244,244,244,0.65); font-size: 13px; line-height: 1.6; margin: 0 0 14px; max-width: 640px; }
.dashboard-subsection--danger .dashboard-subsection__title { color: #ff7070; }

/* Quick actions list */
.dashboard-quick-actions { display: flex; flex-direction: column; gap: 2px; }
.dash-action {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  background: rgba(244,244,244,0.02);
  border: 1px solid rgba(244,244,244,0.06);
  color: #F4F4F4;
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.15s, background 0.15s;
}
.dash-action:hover { border-color: rgba(168,173,255,0.5); background: rgba(168,173,255,0.05); }
.dash-action__arrow { color: rgba(244,244,244,0.4); font-family: var(--font-mono); }

/* Panel (key-value list) */
.dashboard-panel {
  background: #0e0f12;
  border: 1px solid rgba(244,244,244,0.08);
  margin-bottom: 24px;
}
.dashboard-panel__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(244,244,244,0.06);
  gap: 16px;
}
.dashboard-panel__row:last-child { border-bottom: none; }
.dashboard-panel__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,244,244,0.55); flex-shrink: 0; }
.dashboard-panel__value { font-size: 14px; color: #F4F4F4; text-align: right; }

/* Status pills */
.status-pill {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.status-pill--ok { color: #7cdc99; }
.status-pill--warn { color: #ffc071; }
.status-pill--danger { color: #ff7070; }

/* Button row */
.dashboard-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Tables */
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  background: #0e0f12;
  border: 1px solid rgba(244,244,244,0.08);
  font-size: 13px;
}
.dashboard-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.55);
  border-bottom: 1px solid rgba(244,244,244,0.08);
  background: rgba(244,244,244,0.02);
}
.dashboard-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(244,244,244,0.05);
  vertical-align: middle;
}
.dashboard-table tr:last-child td { border-bottom: none; }
.dashboard-table a { color: #a8adff; text-decoration: none; }
.dashboard-table a:hover { text-decoration: underline; }
.dashboard-table__empty td { text-align: center; color: rgba(244,244,244,0.45); padding: 24px 16px !important; font-style: italic; }
.dashboard-link-btn { background: none; border: none; color: #ff7070; cursor: pointer; font-size: 12px; padding: 0; }
.dashboard-link-btn:hover { text-decoration: underline; }

/* Payment methods */
.payment-methods { margin-bottom: 14px; }
.payment-method {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: #0e0f12;
  border: 1px solid rgba(244,244,244,0.08);
  margin-bottom: 6px;
  font-size: 13px;
}
.payment-method__brand { font-weight: 500; text-transform: capitalize; min-width: 50px; }
.payment-method__digits { font-family: var(--font-mono); color: rgba(244,244,244,0.7); letter-spacing: 0.05em; }
.payment-method__exp { font-family: var(--font-mono); font-size: 11px; color: rgba(244,244,244,0.5); flex: 1; }
.payment-method__default { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #7cdc99; padding: 3px 8px; border: 1px solid #7cdc99; }
.payment-method__btn { background: none; border: 1px solid rgba(244,244,244,0.2); color: rgba(244,244,244,0.7); padding: 5px 10px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.payment-method__btn:hover { border-color: #F4F4F4; color: #F4F4F4; }
.payment-method__btn--danger { color: #ff7070; border-color: rgba(255,112,112,0.3); }
.payment-method__btn--danger:hover { border-color: #ff7070; color: #ff7070; }
.payment-method-empty { padding: 20px; text-align: center; color: rgba(244,244,244,0.45); font-style: italic; background: rgba(244,244,244,0.02); border: 1px dashed rgba(244,244,244,0.12); }

/* Credentials rows */
.credential-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: #0e0f12;
  border: 1px solid rgba(244,244,244,0.08);
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.credential-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,244,244,0.55); min-width: 90px; }
.credential-value { flex: 1; font-family: var(--font-mono); font-size: 12px; color: #F4F4F4; background: rgba(244,244,244,0.03); padding: 6px 10px; border-radius: 2px; word-break: break-all; }
.credential-copy { background: none; border: 1px solid rgba(244,244,244,0.2); color: rgba(244,244,244,0.7); padding: 6px 12px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.credential-copy:hover { border-color: #a8adff; color: #F4F4F4; }

/* Install steps */
.dashboard-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.dashboard-steps li { position: relative; padding: 12px 16px 12px 48px; background: #0e0f12; border: 1px solid rgba(244,244,244,0.06); margin-bottom: 4px; font-size: 13px; counter-increment: step; }
.dashboard-steps li::before { content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: #a8adff; color: #fff; font-family: var(--font-mono); font-size: 10px; font-weight: 600; }
.dashboard-steps code { background: rgba(244,244,244,0.08); padding: 1px 6px; font-size: 12px; }

/* Download grid */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 640px) { .download-grid { grid-template-columns: 1fr; } }
.download-card {
  padding: 20px;
  background: linear-gradient(180deg, #15161a 0%, #0e0f12 100%);
  border: 1px solid rgba(244,244,244,0.08);
  text-decoration: none;
  color: #F4F4F4;
  transition: border-color 0.15s, background 0.15s;
}
.download-card:hover { border-color: #a8adff; background: rgba(168,173,255,0.06); }
.download-card__icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(168,173,255,0.15); color: #a8adff; margin-bottom: 12px; }
.download-card__label { font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.download-card__desc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: rgba(244,244,244,0.5); }

/* Resources */
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .resource-grid { grid-template-columns: 1fr; } }
.resource-card {
  display: block;
  padding: 16px;
  background: #0e0f12;
  border: 1px solid rgba(244,244,244,0.08);
  text-decoration: none;
  color: #F4F4F4;
  transition: border-color 0.15s;
}
.resource-card:hover { border-color: #a8adff; }
.resource-card__title { font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.resource-card__desc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: rgba(244,244,244,0.5); }

/* Referral link box */
.referral-link-box { display: flex; gap: 8px; margin-bottom: 14px; }
.referral-link-input {
  flex: 1;
  padding: 12px 14px;
  background: #0e0f12;
  border: 1px solid rgba(244,244,244,0.15);
  color: #F4F4F4;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.referral-link-input:focus { outline: none; border-color: #a8adff; }
.referral-share-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Toggle switch */
.toggle-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(244,244,244,0.06); }
.toggle-row:last-child { border-bottom: none; }
.toggle-row__body { flex: 1; }
.toggle-row__title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.toggle-row__desc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.03em; color: rgba(244,244,244,0.5); }

.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__slider { position: absolute; inset: 0; background: rgba(244,244,244,0.1); border: 1px solid rgba(244,244,244,0.15); cursor: pointer; transition: 0.2s; }
.toggle__slider::before { content: ''; position: absolute; left: 2px; top: 2px; height: 18px; width: 18px; background: #F4F4F4; transition: 0.2s; }
.toggle input:checked + .toggle__slider { background: #a8adff; border-color: #a8adff; }
.toggle input:checked + .toggle__slider::before { transform: translateX(20px); }
.toggle input:disabled + .toggle__slider { opacity: 0.5; cursor: not-allowed; }

/* Override electric-blue blink dots on dark backgrounds */
.dashboard-shell .blink-dot,
.auth-card .blink-dot { background: #a8adff; }

/* ───────────────────────────────────────────────────────────────────────
   LIGHT AUTH PAGE (login)
   ─────────────────────────────────────────────────────────────────────── */
body.auth-light .dot-grid-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect x='7' y='7' width='2' height='2' fill='rgba(30,33,40,0.2)'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-color: #e7e7e7;
}
/* Navbar always in "scrolled" state on light auth pages (solid bg + blur) */
body.auth-light .navbar-wrap .navbar {
  border: 1px solid rgba(244,244,244,0.4);
  background: rgba(5,5,7,0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
body.auth-light .navbar-wrap .navbar::after { opacity: 1; }
body.auth-light .navbar-wrap {
  padding: 5px 16px 0;
}
body.auth-light .navbar-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,5,7,0.25);
  -webkit-mask-image: linear-gradient(to top, transparent, black);
  mask-image: linear-gradient(to top, transparent, black);
  pointer-events: none;
  z-index: -1;
}
@media (min-width: 1024px) { body.auth-light .navbar-wrap { padding: 8px 24px 0; } }
body.auth-light .navbar-wrap .navbar-logo__img { height: clamp(84px, 8.24vw, 138px); }
/* Mobile: match the default mobile navbar logo size on the rest of the site */
@media (max-width: 899px) {
  body.auth-light .navbar-wrap .navbar-logo__img { height: 108px; }
}

/* Dashboard / auth buttons — use the website's beveled silver .btn-cta style.
   Icon-wrap stays electric blue (it's a small accent inside a silver button, not
   a dark-blue swath on the dark page background). Animations inherit from .btn-cta. */

/* Ghost variant = default btn-cta silver style (no override needed) */
.btn-cta--ghost {
  /* Inherits base .btn-cta silver gradient + beveled borders + light blue shadow + hover/click animations */
}

/* Upsize dashboard form buttons to match the website's .hero-cta size.
   Referral section buttons keep the smaller default size. */
.dashboard-shell .btn-cta,
.auth-card .btn-cta {
  font-size: 13px;
  box-shadow: 4px 4px 0px 0px #a8adff;
  border-top-width: 4px;
  border-left-width: 4px;
  border-right-width: 4px;
  border-bottom-width: 4px;
}
.dashboard-shell .btn-cta .icon-wrap,
.auth-card .btn-cta .icon-wrap {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
}
.dashboard-shell .btn-cta .label,
.auth-card .btn-cta .label {
  padding: 13.8px 24px;
}
.dashboard-shell .btn-cta:active,
.dashboard-shell .btn-cta.clicked,
.auth-card .btn-cta:active,
.auth-card .btn-cta.clicked {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 0px #a8adff;
}

/* Referrals section — smaller font/padding but bevel-matched shadow */
#section-referrals .btn-cta {
  font-size: 11px;
  box-shadow: 4px 4px 0px 0px #a8adff;
  border-top-width: 4px;
  border-left-width: 4px;
  border-right-width: 4px;
  border-bottom-width: 4px;
}
#section-referrals .btn-cta .icon-wrap {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
}
#section-referrals .btn-cta .label {
  padding: 8px 14px;
}
#section-referrals .btn-cta:active,
#section-referrals .btn-cta.clicked {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 0px #a8adff;
}

/* Danger button variant — silver button with red-tinted icon wrap + red text */
.btn-cta--danger .icon-wrap {
  background: #c14545 !important;
}
.btn-cta--danger .label {
  color: #a02020;
  font-weight: 600;
}

/* Mobile sidebar */
@media (max-width: 900px) {
  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    height: 100dvh;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    padding-top: 72px;
  }
  body.dashboard-mobile-open .dashboard-sidebar { transform: translateX(0); }
  body.dashboard-mobile-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 99; }
}

/* Help text color override for account email status */
.form-help { color: rgba(244,244,244,0.45); }
