/* Base isolada da tela de login. Não depende do frontend operacional. */
:root {
  --red: #E63946;
  --red-hi: #FF4D5C;
  --red-soft: rgba(230, 57, 70, 0.08);
  --red-soft-2: rgba(230, 57, 70, 0.16);
  --red-glow: rgba(230, 57, 70, 0.32);
  --red-line: rgba(230, 57, 70, 0.40);
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 10px;
  --motion-base: 240ms;
  --motion-slow: 420ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #08080A;
  --bg-gradient: radial-gradient(ellipse 1200px 600px at 70% -10%, rgba(230,57,70,0.08), transparent 60%);
  --surface: #0E0E12;
  --surface-2: #14141A;
  --hover: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.06);
  --border-2: rgba(255,255,255,0.10);
  --text: #F4F4F5;
  --text-2: #A1A1AA;
  --text-3: #71717A;
  --text-4: #52525B;
}

[data-theme="light"] {
  --bg: #F7F7F8;
  --bg-gradient: radial-gradient(ellipse 1200px 600px at 70% -10%, rgba(230,57,70,0.04), transparent 60%);
  --surface: #FFFFFF;
  --surface-2: #FAFAFA;
  --hover: rgba(0,0,0,0.04);
  --border: rgba(0,0,0,0.06);
  --border-2: rgba(0,0,0,0.10);
  --text: #0C0C0F;
  --text-2: #52525B;
  --text-3: #71717A;
  --text-4: #A1A1AA;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}
button, input { font: inherit; }
button { cursor: pointer; }

@keyframes flyFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
