/* Google Fonts loaded via <link> in HTML — fallback stack below */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base: #060814; /* Deep dark tech space background */
  --bg-surface: #0b0f19; /* Sleek slate-navy card backing */
  --bg-elevated: #121824; /* Elevated sections and tables */
  --accent-green: #10B981;
  --accent-green-dim: rgba(16, 185, 129, 0.15);
  --accent-orange: #f43f5e; /* Hot rose/coral accent */
  --accent-orange-dim: rgba(244, 63, 94, 0.15);
  --text-primary: #f8fafc; /* Clean off-white text */
  --text-muted: #8292aa; /* Soft lavender-slate muted text */
  --border: rgba(255, 255, 255, 0.05); /* Ultra-thin glass split */
  --border-bright: rgba(255, 255, 255, 0.10); /* Slightly brighter divider */
  --danger: #ef4444;
  --danger-dim: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;
  --warning-dim: rgba(245, 158, 11, 0.15);
  --info: #3b82f6;
  --info-dim: rgba(59, 130, 246, 0.15);
  --purple: #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
  --transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-w: 240px;
  --topbar-h: 64px;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Modern premium gradients */
  --grad-primary: linear-gradient(135deg, #a855f7 0%, #f43f5e 100%);
  --grad-accent: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg-base); color: var(--text-primary);
  line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.25; color: var(--text-primary); font-weight:600; letter-spacing:-0.02em; }
a { color: var(--accent-green); text-decoration: none; transition: var(--transition); }
a:hover { color: #4ade80; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 2px; }
::selection { background: var(--accent-green-dim); color: var(--text-primary); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-bright); }
