/* ══════════════════════════════════════════════════════
   Patched — Auth Page Styles (Premium Redesign)
   Theme system with 5 variants, Ghost as default
   ══════════════════════════════════════════════════════ */

/* ─── GHOST (Default) ─── */
:root {
  --bg: #050505;
  --bg2: #0a0a0a;
  --card: rgba(12,12,12,0.85);
  --card-border: rgba(200,200,200,0.08);
  --card-shadow: 0 0 60px rgba(180,180,180,0.04), 0 0 120px rgba(140,140,140,0.02);
  --card-inner-glow: inset 0 1px 0 rgba(255,255,255,0.04);
  --accent: #e0e0e0;
  --accent-dim: rgba(200,200,200,0.06);
  --accent-glow: 0 0 10px rgba(200,200,200,0.4), 0 0 40px rgba(200,200,200,0.15);
  --text: #f4f4f4;
  --text-muted: #4a4a4a;
  --label: #6a6a6a;
  --input-bg: rgba(8,8,8,0.8);
  --input-border: rgba(200,200,200,0.06);
  --input-focus-border: rgba(200,200,200,0.2);
  --tab-active-bg: rgba(255,255,255,0.04);
  --tab-inactive: rgba(255,255,255,0.01);
  --btn-bg: rgba(255,255,255,0.03);
  --btn-hover: rgba(255,255,255,0.08);
  --shell-bg: rgba(255,255,255,0.02);
  --shell-border: rgba(255,255,255,0.04);
  --logo-font: 'Orbitron', monospace;
  --ui-font: 'Exo 2', sans-serif;
  --label-font: 'IBM Plex Mono', monospace;
  --motion-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --motion-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Type scale (mirrors theme.css so auth pages can reference it
     even though they don't load theme.css). 4pt base, 1.2 ratio. */
  --fs-2xs: 0.625rem;   /* 10px */
  --fs-xs:  0.75rem;    /* 12px */
  --fs-sm:  0.825rem;   /* 13.2px — body secondary */
  --fs-md:  0.9375rem;  /* 15px — body primary */
  --fs-lg:  1.125rem;   /* 18px */
  --fs-xl:  1.375rem;   /* 22px */
  --fs-2xl: 2rem;       /* 32px */
}

[data-theme="ghost"] {
  --bg: #050505;
  --bg2: #0a0a0a;
  --card: rgba(12,12,12,0.85);
  --card-border: rgba(200,200,200,0.08);
  --card-shadow: 0 0 60px rgba(180,180,180,0.04), 0 0 120px rgba(140,140,140,0.02);
  --card-inner-glow: inset 0 1px 0 rgba(255,255,255,0.04);
  --accent: #e0e0e0;
  --accent-dim: rgba(200,200,200,0.06);
  --accent-glow: 0 0 10px rgba(200,200,200,0.4), 0 0 40px rgba(200,200,200,0.15);
  --text: #f4f4f4;
  --text-muted: #4a4a4a;
  --label: #6a6a6a;
  --input-bg: rgba(8,8,8,0.8);
  --input-border: rgba(200,200,200,0.06);
  --input-focus-border: rgba(200,200,200,0.2);
  --tab-active-bg: rgba(255,255,255,0.04);
  --tab-inactive: rgba(255,255,255,0.01);
  --btn-bg: rgba(255,255,255,0.03);
  --btn-hover: rgba(255,255,255,0.08);
  --shell-bg: rgba(255,255,255,0.02);
  --shell-border: rgba(255,255,255,0.04);
  --logo-font: 'Orbitron', monospace;
  --ui-font: 'Exo 2', sans-serif;
  --label-font: 'IBM Plex Mono', monospace;
}

/* ─── OG MINT ─── */
[data-theme="mint"] {
  --bg: #060a09;
  --bg2: #0a0f0d;
  --card: rgba(10,22,18,0.85);
  --card-border: rgba(0,255,180,0.1);
  --card-shadow: 0 0 60px rgba(0,255,180,0.06), 0 0 120px rgba(0,255,180,0.02);
  --card-inner-glow: inset 0 1px 0 rgba(0,255,180,0.06);
  --accent: #00ffb4;
  --accent-dim: rgba(0,255,180,0.08);
  --accent-glow: 0 0 10px rgba(0,255,180,0.5), 0 0 40px rgba(0,255,180,0.2);
  --text: #e0fff7;
  --text-muted: #3a5e50;
  --label: #3a8a6f;
  --input-bg: rgba(8,18,14,0.8);
  --input-border: rgba(0,255,180,0.08);
  --input-focus-border: rgba(0,255,180,0.25);
  --tab-active-bg: rgba(0,255,180,0.06);
  --tab-inactive: rgba(0,255,180,0.02);
  --btn-bg: rgba(0,255,180,0.04);
  --btn-hover: rgba(0,255,180,0.1);
  --shell-bg: rgba(0,255,180,0.02);
  --shell-border: rgba(0,255,180,0.05);
  --logo-font: 'Orbitron', monospace;
  --ui-font: 'Share Tech Mono', monospace;
  --label-font: 'IBM Plex Mono', monospace;
}

/* ─── SYNTHWAVE ─── */
[data-theme="synthwave"] {
  --bg: #06000c;
  --bg2: #0a0014;
  --card: rgba(16,0,28,0.85);
  --card-border: rgba(255,0,220,0.1);
  --card-shadow: 0 0 60px rgba(255,0,220,0.06), 0 0 120px rgba(100,0,255,0.03);
  --card-inner-glow: inset 0 1px 0 rgba(255,0,220,0.06);
  --accent: #ff00dc;
  --accent-dim: rgba(255,0,220,0.08);
  --accent-glow: 0 0 10px rgba(255,0,220,0.5), 0 0 40px rgba(255,0,220,0.2), 0 0 80px rgba(255,0,220,0.08);
  --text: #ffe0ff;
  --text-muted: #5a3060;
  --label: #9944bb;
  --input-bg: rgba(12,0,20,0.8);
  --input-border: rgba(255,0,220,0.08);
  --input-focus-border: rgba(255,0,220,0.25);
  --tab-active-bg: rgba(255,0,220,0.06);
  --tab-inactive: rgba(255,0,220,0.02);
  --btn-bg: rgba(255,0,220,0.04);
  --btn-hover: rgba(255,0,220,0.1);
  --shell-bg: rgba(255,0,220,0.02);
  --shell-border: rgba(255,0,220,0.05);
  --logo-font: 'Orbitron', monospace;
  --ui-font: 'Space Mono', monospace;
  --label-font: 'Space Mono', monospace;
}

/* ─── EMBER ─── */
[data-theme="ember"] {
  --bg: #080500;
  --bg2: #0c0800;
  --card: rgba(18,10,0,0.85);
  --card-border: rgba(255,100,0,0.1);
  --card-shadow: 0 0 60px rgba(255,80,0,0.06), 0 0 120px rgba(200,40,0,0.03);
  --card-inner-glow: inset 0 1px 0 rgba(255,100,0,0.06);
  --accent: #ff6a00;
  --accent-dim: rgba(255,106,0,0.08);
  --accent-glow: 0 0 10px rgba(255,106,0,0.5), 0 0 40px rgba(255,80,0,0.2), 0 0 80px rgba(200,40,0,0.08);
  --text: #fff0e0;
  --text-muted: #5a3a1a;
  --label: #9a6830;
  --input-bg: rgba(14,8,0,0.8);
  --input-border: rgba(255,106,0,0.08);
  --input-focus-border: rgba(255,106,0,0.25);
  --tab-active-bg: rgba(255,106,0,0.06);
  --tab-inactive: rgba(255,106,0,0.02);
  --btn-bg: rgba(255,106,0,0.04);
  --btn-hover: rgba(255,106,0,0.1);
  --shell-bg: rgba(255,106,0,0.02);
  --shell-border: rgba(255,106,0,0.05);
  --logo-font: 'Orbitron', monospace;
  --ui-font: 'Exo 2', sans-serif;
  --label-font: 'IBM Plex Mono', monospace;
}

/* ─── CRYO ─── */
[data-theme="cryo"] {
  --bg: #010508;
  --bg2: #020a10;
  --card: rgba(4,16,30,0.85);
  --card-border: rgba(0,200,255,0.1);
  --card-shadow: 0 0 60px rgba(0,200,255,0.06), 0 0 120px rgba(0,100,200,0.02);
  --card-inner-glow: inset 0 1px 0 rgba(0,200,255,0.06);
  --accent: #00d4ff;
  --accent-dim: rgba(0,212,255,0.08);
  --accent-glow: 0 0 10px rgba(0,212,255,0.5), 0 0 40px rgba(0,212,255,0.2), 0 0 80px rgba(0,150,255,0.08);
  --text: #d0f4ff;
  --text-muted: #2a4a5a;
  --label: #3a7a9a;
  --input-bg: rgba(3,12,22,0.8);
  --input-border: rgba(0,212,255,0.08);
  --input-focus-border: rgba(0,212,255,0.25);
  --tab-active-bg: rgba(0,212,255,0.06);
  --tab-inactive: rgba(0,212,255,0.02);
  --btn-bg: rgba(0,212,255,0.04);
  --btn-hover: rgba(0,212,255,0.1);
  --shell-bg: rgba(0,212,255,0.02);
  --shell-border: rgba(0,212,255,0.05);
  --logo-font: 'Orbitron', monospace;
  --ui-font: 'Rajdhani', sans-serif;
  --label-font: 'IBM Plex Mono', monospace;
}


/* ─── TARNISHED ─── */
[data-theme="tarnished"] {
  --bg: #111112;
  --bg2: #161618;
  --card: rgba(28,28,31,0.85);
  --card-border: rgba(245,196,0,0.1);
  --card-shadow: 0 0 60px rgba(245,196,0,0.05), 0 0 120px rgba(0,0,0,0.25);
  --card-inner-glow: inset 0 1px 0 rgba(245,196,0,0.05);
  --accent: #f5c400;
  --accent-dim: rgba(245,196,0,0.08);
  --accent-glow: 0 0 10px rgba(245,196,0,0.5), 0 0 40px rgba(245,196,0,0.2);
  --text: #ededed;
  --text-muted: #6e6f76;
  --label: #8a8b92;
  --input-bg: rgba(20,20,22,0.8);
  --input-border: rgba(245,196,0,0.08);
  --input-focus-border: rgba(245,196,0,0.25);
  --tab-active-bg: rgba(245,196,0,0.06);
  --tab-inactive: rgba(245,196,0,0.02);
  --btn-bg: rgba(245,196,0,0.04);
  --btn-hover: rgba(245,196,0,0.1);
  --shell-bg: rgba(245,196,0,0.02);
  --shell-border: rgba(245,196,0,0.05);
  --logo-font: 'Orbitron', monospace;
  --ui-font: 'Exo 2', sans-serif;
  --label-font: 'IBM Plex Mono', monospace;
}


/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

/* ─── BASE LAYOUT ─── */
body {
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--ui-font);
  color: var(--text);
  transition: background 0.22s var(--motion-spring), color 0.2s ease;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── AMBIENT BACKGROUND ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--accent-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-dim) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.2;
  animation: gridDrift 40s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* ─── RADIAL VIGNETTE + GLOW ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 45%, var(--accent-dim) 0%, transparent 70%),
    radial-gradient(ellipse at center, transparent 20%, var(--bg) 85%);
  pointer-events: none;
  z-index: 0;
}

/* ─── NOISE GRAIN ─── */
.wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ─── THEME SWITCHER BAR ─── */
.switcher {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 100;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 100px;
  padding: 5px 6px;
}

.switcher button {
  font-family: var(--label-font), 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.22s var(--motion-spring), color 0.22s var(--motion-spring), border-color 0.22s var(--motion-spring), box-shadow 0.22s var(--motion-spring), transform 0.22s var(--motion-spring), opacity 0.22s var(--motion-spring);
  background: transparent;
  color: #555;
}

.switcher button.active {
  color: var(--accent);
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 12px var(--accent-dim);
}

.switcher button:hover:not(.active) {
  color: #999;
  background: rgba(255,255,255,0.02);
}

/* ─── MAIN WRAPPER ─── */
.wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: fadeUp 1s var(--motion-spring) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* ─── LOGO ─── */
.logo-wrap {
  text-align: center;
  animation: fadeUp 0.8s var(--motion-spring) 0.1s both;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Orbitron', monospace !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  color: var(--accent);
  text-shadow: var(--accent-glow);
  text-transform: uppercase;
  animation: logoPulse 4s ease-in-out infinite;
}

.logo-icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent));
  flex-shrink: 0;
}

@keyframes logoPulse {
  0%, 100% { text-shadow: var(--accent-glow); opacity: 1; }
  50% { text-shadow: var(--accent-glow), 0 0 60px var(--accent); opacity: 0.92; }
}

.logo-sub {
  font-family: var(--label-font), monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: lowercase;
}

/* ─── OUTER SHELL (Doppelrand) ─── */
.card {
  position: relative;
  background: var(--shell-bg);
  border: 1px solid var(--shell-border);
  border-radius: 22px;
  padding: 6px;
  width: 360px;
  animation: fadeUp 0.8s var(--motion-spring) 0.2s both;
}

/* ─── INNER CARD ─── */
.card-inner,
.card > .tabs,
.card > .auth-form,
.card > p,
.card > a {
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 17px;
  box-shadow: var(--card-shadow), var(--card-inner-glow);
  backdrop-filter: blur(40px) saturate(1.2);
  -webkit-backdrop-filter: blur(40px) saturate(1.2);
  z-index: -1;
}

/* Accent light at top of card */
.card::before {
  content: '';
  position: absolute;
  top: 6px; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.15;
  z-index: 1;
  border-radius: 1px;
}

.card > .tabs,
.card > .auth-form,
.card > p,
.card > a,
.card > .auth-error,
.card > .auth-success,
.card > .auth-info {
  margin-left: 22px;
  margin-right: 22px;
}

.card > .tabs:first-child {
  margin-top: 22px;
}

.card > .auth-form,
.card > p:last-child,
.card > a:last-child {
  margin-bottom: 22px;
}

/* ─── TABS ─── */
.tabs {
  display: flex;
  background: var(--tab-inactive);
  border-radius: 12px;
  padding: 3px;
  margin: 22px 22px 20px;
  gap: 3px;
}

.tab {
  flex: 1;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 0.22s var(--motion-spring), color 0.22s var(--motion-spring), border-color 0.22s var(--motion-spring), box-shadow 0.22s var(--motion-spring), transform 0.22s var(--motion-spring), opacity 0.22s var(--motion-spring);
  background: transparent;
  color: var(--text-muted);
}

.tab.active {
  background: var(--tab-active-bg);
  color: var(--accent);
  box-shadow: 0 0 16px var(--accent-dim);
  border: 1px solid var(--input-border);
}

.tab:hover:not(.active) {
  color: var(--label);
}

/* ─── FORM ─── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 22px 22px;
}

.field {
  position: relative;
}

.field label {
  display: block;
  font-family: var(--label-font), monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--label);
  margin-bottom: 8px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.field:focus-within label {
  color: var(--accent);
}

.field input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--label-font), monospace;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s var(--motion-spring), box-shadow 0.2s var(--motion-spring), transform 0.2s ease;
}

.field input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.field input:focus {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 3px var(--accent-dim), 0 0 20px var(--accent-dim);
  transform: translateY(-1px);
}

/* ─── BUTTON ─── */
.btn-signin {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  background: var(--btn-bg);
  border: 1px solid var(--accent);
  border-radius: 12px;
  color: var(--accent);
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 20px var(--accent-dim);
  transition: background-color 0.22s var(--motion-spring), color 0.22s var(--motion-spring), border-color 0.22s var(--motion-spring), box-shadow 0.22s var(--motion-spring), transform 0.22s var(--motion-spring), opacity 0.22s var(--motion-spring);
  position: relative;
  overflow: hidden;
}

/* Sweep shine effect */
.btn-signin::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.3s var(--motion-spring);
}

.btn-signin:hover::after {
  transform: translateX(120%);
}

.btn-signin:hover {
  background: var(--btn-hover);
  box-shadow: var(--accent-glow), 0 4px 30px var(--accent-dim);
  transform: translateY(-2px);
}

.btn-signin:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* ─── ERROR MESSAGE ─── */
.auth-error {
  font-family: var(--label-font), monospace;
  font-size: 12px;
  color: var(--status-dnd, #ff6b8a);
  min-height: 1rem;
  text-align: center;
  padding: 0 22px;
}

/* ─── INFO TEXT ─── */
.auth-info {
  font-family: var(--label-font), monospace;
  font-size: 12px;
  color: var(--label);
  text-align: center;
  line-height: 1.6;
  padding: 0 22px;
}

/* ─── LINKS ─── */
.auth-link {
  display: block;
  text-align: center;
  font-family: var(--label-font), monospace;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
  opacity: 0.5;
  transition: background-color 0.2s var(--motion-spring), color 0.2s var(--motion-spring), border-color 0.2s var(--motion-spring), box-shadow 0.2s var(--motion-spring), transform 0.2s var(--motion-spring), opacity 0.2s var(--motion-spring);
  cursor: pointer;
  letter-spacing: 0.04em;
}

.auth-link:hover {
  opacity: 1;
  text-decoration: none;
  text-shadow: 0 0 10px var(--accent-dim);
}

/* ─── DOWNLOAD LINK ─── */
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--label-font), monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.4;
  transition: background-color 0.22s var(--motion-spring), color 0.22s var(--motion-spring), border-color 0.22s var(--motion-spring), box-shadow 0.22s var(--motion-spring), transform 0.22s var(--motion-spring), opacity 0.22s var(--motion-spring);
  animation: fadeUp 0.8s var(--motion-spring) 0.4s both;
}

.download-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* ─── THEME LABEL ─── */
.theme-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  opacity: 0.35;
  animation: fadeUp 0.8s var(--motion-spring) 0.5s both;
}

/* ─── TEXTAREA ─── */
.auth-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s var(--motion-spring), box-shadow 0.2s var(--motion-spring);
}

.auth-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.auth-form textarea:focus {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 3px var(--accent-dim), 0 0 20px var(--accent-dim);
}

/* ─── SUCCESS MESSAGE ─── */
.auth-success {
  font-family: var(--label-font), monospace;
  font-size: 12px;
  text-align: center;
  padding: 0 22px;
}

/* ─── TERMS ─── */
.terms-agree {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.terms-agree a {
  transition: opacity 0.2s ease;
}

.terms-agree a:hover {
  opacity: 0.8;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 420px) {
  .card { width: calc(100vw - 32px); min-width: 280px; }
  .switcher { gap: 2px; padding: 4px 6px; }
  .switcher button { padding: 6px 10px; font-size: 10px; }
  .auth-form { padding: 0 16px 16px; }
  .tabs { margin: 16px 16px 14px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
