/* auth.css - Gemeinsames Design fuer login_form.php & register_form.php
   Designsprache: Flightbook-Portal (Poppins, Blautoene, Bootstrap-Icons)
   Hintergrund: Telemetrie-/Flugpfad-Elemente (Hoehenprofil, Grid, Waypoints) */

:root {
  --fb-navy-900: #081527;
  --fb-navy-800: #0b1d33;
  --fb-navy-700: #10294a;
  --fb-blue: #1c64d9;
  --fb-blue-soft: #4889cc;
  --fb-sky: #a3d1ff;
  --fb-cyan: #38bdf8;
  --fb-green: #22c55e;
  --fb-text: #17263b;
  --fb-muted: #64748b;
  --fb-border: #dbe4f0;
  --fb-ring: rgba(28, 100, 217, 0.18);
}

* { box-sizing: border-box; }

html { height: 100%; }

body.auth-body {
  margin: 0;
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 32px 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--fb-text);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(28, 100, 217, 0.35), transparent 60%),
    linear-gradient(160deg, var(--fb-navy-800) 0%, var(--fb-navy-900) 55%, #060f1d 100%);
  overflow-x: hidden;
}

/* ---------- Telemetrie-Hintergrund ---------- */

.auth-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.auth-scene .telemetry-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(163, 209, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 209, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 100%);
}

.auth-scene svg.telemetry-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 46vh;
  min-height: 260px;
  display: block;
  opacity: 0.85;
}

.flightpath {
  fill: none;
  stroke: rgba(163, 209, 255, 0.55);
  stroke-width: 2;
  stroke-dasharray: 10 12;
  animation: dashmove 26s linear infinite;
}

.altitude-area { fill: url(#altFill); }

.altitude-line {
  fill: none;
  stroke: var(--fb-cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.55));
}

.waypoint {
  fill: var(--fb-sky);
  filter: drop-shadow(0 0 5px rgba(163, 209, 255, 0.9));
  animation: pulse 3.2s ease-in-out infinite;
}
.waypoint.wp2 { animation-delay: 1s; }
.waypoint.wp3 { animation-delay: 2s; }

@keyframes dashmove { to { stroke-dashoffset: -440; } }
@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}

/* ---------- Layout ---------- */

.auth-wrap {
  position: relative;
  z-index: 1;
  margin: auto;
  width: min(1080px, calc(100% - 32px));
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(3, 10, 22, 0.55);
  min-height: 620px;
}

.auth-wrap.auth-wrap-wide { width: min(1180px, calc(100% - 32px)); }

/* ---------- Linkes Brand-/Feature-Panel ---------- */

.auth-hero {
  flex: 0 0 44%;
  position: relative;
  z-index: 1;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  color: #eaf3ff;
  background:
    radial-gradient(700px 420px at 110% -20%, rgba(56, 189, 248, 0.25), transparent 60%),
    linear-gradient(165deg, #123a6e 0%, var(--fb-navy-700) 45%, var(--fb-navy-800) 100%);
}

.auth-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(163, 209, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 209, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.auth-hero > * { position: relative; z-index: 1; }

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.auth-brand .brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 100, 217, 0.45);
}

.auth-brand .brand-icon img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  display: block;
}

.auth-brand .brand-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.auth-brand .brand-name span { color: var(--fb-sky); }

.auth-hero .hero-tagline {
  margin: 26px 0 6px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
}

.auth-hero .hero-sub {
  margin: 0 0 26px;
  font-size: 14.5px;
  color: rgba(234, 243, 255, 0.75);
}

.hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hero-features .feat-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--fb-sky);
  background: rgba(163, 209, 255, 0.12);
  border: 1px solid rgba(163, 209, 255, 0.22);
}

.hero-features h6 {
  margin: 0 0 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.hero-features p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.45;
  color: rgba(234, 243, 255, 0.68);
}

/* Telemetrie-Karte mit Mini-Charts (Designelement) */
.hero-telemetry {
  margin-top: auto;
  padding-top: 26px;
}

.telemetry-card {
  padding: 14px 16px 12px;
  border-radius: 16px;
  background: rgba(8, 21, 39, 0.6);
  border: 1px solid rgba(163, 209, 255, 0.18);
  backdrop-filter: blur(6px);
}

.telemetry-card .tc-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.telemetry-card .tc-title {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(234, 243, 255, 0.65);
  font-weight: 500;
}

.telemetry-card .tc-rec {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fca5a5;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  animation: recblink 1.6s ease-in-out infinite;
}

@keyframes recblink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.telemetry-card .live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fb-green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: livedot 2s ease-out infinite;
}

@keyframes livedot {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.tc-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tc-chart svg {
  display: block;
  width: 100%;
  height: 44px;
  border-radius: 8px;
  background: rgba(163, 209, 255, 0.05);
}

.tc-gridlines line {
  stroke: rgba(163, 209, 255, 0.1);
  stroke-width: 1;
}

.tc-line {
  fill: none;
  stroke: var(--fb-cyan);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.6));
}

.tc-dot {
  fill: #fff;
  stroke: var(--fb-cyan);
  stroke-width: 1.5;
  animation: pulse 2s ease-in-out infinite;
}

.tc-bars rect {
  fill: rgba(163, 209, 255, 0.4);
}
.tc-bars rect:nth-child(even) { fill: rgba(163, 209, 255, 0.55); }
.tc-bars rect.tc-bar-hot {
  fill: var(--fb-cyan);
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.7));
  animation: pulse 2s ease-in-out infinite;
}

.tc-val {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 6px;
}

.tc-val span {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(234, 243, 255, 0.55);
}

.tc-val strong {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.tc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(163, 209, 255, 0.12);
}

.tc-stats div {
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(234, 243, 255, 0.55);
}

.tc-stats strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  font-weight: 600;
}

/* ---------- Rechte Formular-Karte ---------- */

.auth-card {
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  background: #fbfdff;
  padding: 46px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card .card-head { margin-bottom: 26px; }

.auth-card h1 {
  margin: 0 0 6px;
  font-size: 27px;
  font-weight: 600;
  color: var(--fb-text);
}

.auth-card .card-sub {
  margin: 0;
  font-size: 14px;
  color: var(--fb-muted);
}

/* Felder */
.auth-field { position: relative; margin-bottom: 14px; }

.auth-field > i.bi {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%;
  padding: 13px 15px 13px 44px;
  font-size: 15px;
  font-family: inherit;
  color: var(--fb-text);
  background: #fff;
  border: 1.5px solid var(--fb-border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field input::placeholder { color: #9aa8bd; }

.auth-field input:focus {
  border-color: var(--fb-blue);
  box-shadow: 0 0 0 4px var(--fb-ring);
}

/* Platz fuer den Auge-Button rechts im Feld */
.auth-field:has(.pw-toggle) input {
  padding-right: 44px;
}

.auth-field .pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 6px 8px;
  cursor: pointer;
  color: #94a3b8;
  font-size: 16px;
  border-radius: 8px;
}
.auth-field .pw-toggle:hover { color: var(--fb-blue); }

.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-hint {
  margin: -6px 0 14px;
  padding-left: 4px;
  font-size: 12px;
  color: var(--fb-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Checkboxen */
.auth-consent {
  margin: 4px 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f2f7ff;
  border: 1px solid #dce9fb;
  text-align: left;
}

.auth-consent .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.auth-consent .consent-row + .consent-row { margin-top: 10px; }

.auth-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--fb-blue);
  cursor: pointer;
}

.auth-consent label {
  font-size: 13.5px;
  color: #33445c;
  cursor: pointer;
  line-height: 1.45;
}

.auth-consent a {
  color: var(--fb-blue);
  font-weight: 500;
  text-decoration: none;
}
.auth-consent a:hover { text-decoration: underline; }

/* reCAPTCHA zentrieren */
.auth-recaptcha {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

/* Buttons */
.auth-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--fb-blue) 0%, #2e8ee6 100%);
  box-shadow: 0 10px 24px rgba(28, 100, 217, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.auth-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(28, 100, 217, 0.42);
}
.auth-btn:active { transform: translateY(0); }

.auth-btn.auth-btn-green {
  background: linear-gradient(135deg, #16a34a 0%, var(--fb-green) 100%);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.32);
}
.auth-btn.auth-btn-green:hover { box-shadow: 0 14px 28px rgba(34, 197, 94, 0.4); }

/* Links unter dem Formular */
.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--fb-muted);
}

.auth-links .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 14px;
  color: #9aa8bd;
  font-size: 12px;
}
.auth-links .divider::before,
.auth-links .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--fb-border);
}

.auth-alt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--fb-blue);
  background: #eef5ff;
  border: 1.5px solid #cfe1fa;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.auth-alt-btn:hover { background: #e2eefc; border-color: var(--fb-blue-soft); color: var(--fb-blue); }

.auth-links .small-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--fb-muted);
  text-decoration: none;
  font-size: 13px;
}
.auth-links .small-link:hover { color: var(--fb-blue); }

/* Meldungen */
.auth-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: left;
}
.auth-msg i.bi { font-size: 16px; margin-top: 1px; }

.auth-msg.auth-msg-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.auth-msg.auth-msg-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* Duplikat-Hinweis (bestehendes Profil gefunden) */
.auth-msg.auth-msg-exists {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}
.auth-msg.auth-msg-exists > i.bi { color: var(--fb-blue); }

.auth-msg .exists-body { flex: 1; }
.auth-msg .exists-body strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}
.auth-msg .exists-body p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #37507c;
}

.exists-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exists-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid #cfe1fa;
  background: #fff;
  color: var(--fb-blue);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.exists-btn:hover { background: #f2f7ff; border-color: var(--fb-blue-soft); color: var(--fb-blue); }

.exists-btn.exists-btn-primary {
  background: var(--fb-blue);
  border-color: var(--fb-blue);
  color: #fff;
}
.exists-btn.exists-btn-primary:hover { filter: brightness(1.08); color: #fff; }

.exists-override {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #37507c;
  cursor: pointer;
}
.exists-override input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--fb-blue);
  cursor: pointer;
}

/* ---------- Register-Wizard ---------- */

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.wizard-progress .wp-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-progress .wp-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fb-muted);
  background: #eef2f8;
  border: 1.5px solid var(--fb-border);
  transition: all 0.2s ease;
}

.wizard-progress .wp-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fb-muted);
  transition: color 0.2s ease;
}

.wizard-progress .wp-step.active .wp-dot {
  color: #fff;
  background: var(--fb-blue);
  border-color: var(--fb-blue);
  box-shadow: 0 0 0 4px var(--fb-ring);
}
.wizard-progress .wp-step.active .wp-label { color: var(--fb-text); font-weight: 600; }

.wizard-progress .wp-step.done .wp-dot {
  color: #fff;
  background: var(--fb-green);
  border-color: var(--fb-green);
}

.wizard-progress .wp-line {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--fb-border);
  transition: background 0.2s ease;
}
.wizard-progress .wp-line.done { background: var(--fb-green); }

.wizard-step {
  display: none;
  border: none;
  margin: 0;
  padding: 0;
  min-inline-size: auto;
}
.wizard-step.active {
  display: block;
  animation: stepin 0.25s ease;
}

@keyframes stepin {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

.wizard-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.wizard-nav .auth-btn { flex: 1; }
.wizard-nav .auth-alt-btn {
  flex: 0 0 auto;
  width: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- Vereinsauswahl (admin_club_choice) ---------- */

.club-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  max-height: 320px;
  overflow-y: auto;
}

.club-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--fb-border);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.club-option:hover { border-color: var(--fb-blue-soft); }

.club-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.club-option .club-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--fb-blue);
  background: #eef5ff;
}

.club-option .club-name {
  flex: 1;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fb-text);
}

.club-option .club-check {
  font-size: 18px;
  color: #cbd5e1;
  transition: color 0.12s ease;
}

.club-option:has(input:checked) {
  border-color: var(--fb-blue);
  background: #f5f9ff;
  box-shadow: 0 0 0 4px var(--fb-ring);
}
.club-option:has(input:checked) .club-check { color: var(--fb-blue); }

/* ---------- Bestaetigungs-Panel (z.B. forgot_password_done) ---------- */

.done-panel {
  text-align: center;
  padding: 10px 0;
}

.done-panel .done-icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  border-radius: 50%;
  font-size: 34px;
  color: #16a34a;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.08);
}

.done-panel h1 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 600;
  color: var(--fb-text);
}

.done-panel .done-msg {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #33445c;
}
.done-panel .done-msg strong { color: var(--fb-blue); word-break: break-all; }

.done-panel .done-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  margin: 0 0 24px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #33445c;
  background: #f2f7ff;
  border: 1px solid #dce9fb;
}
.done-panel .done-hint i.bi { color: var(--fb-blue); font-size: 16px; margin-top: 1px; }

.done-panel .done-btn { text-decoration: none; }

/* Bootstrap-Alerts aus message.php ansprechend darstellen */
.auth-card .alert {
  border-radius: 12px;
  font-size: 13.5px;
}

/* Sprache / Footer im Hero */
.hero-foot {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(234, 243, 255, 0.5);
}

.hero-foot .lang-switch a {
  color: rgba(234, 243, 255, 0.7);
  text-decoration: none;
  padding: 3px 7px;
  border-radius: 6px;
}
.hero-foot .lang-switch a:hover { background: rgba(163, 209, 255, 0.14); color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .auth-wrap, .auth-wrap.auth-wrap-wide {
    flex-direction: column;
    width: min(560px, calc(100% - 24px));
    margin: 24px auto;
    min-height: 0;
  }

  .auth-hero {
    flex-basis: auto;
    padding: 30px 28px 24px;
  }

  .hero-features, .hero-telemetry { display: none; }

  .auth-hero .hero-tagline { font-size: 20px; margin-top: 18px; }
  .auth-hero .hero-sub { margin-bottom: 4px; }
  .hero-foot { margin-top: 14px; }

  .auth-card { padding: 30px 26px 34px; }
  .auth-field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 420px) {
  .auth-card { padding: 26px 18px 30px; }
  .auth-card h1 { font-size: 23px; }
}
