/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS — RX Algo Lab Premium Dark Theme
   ═══════════════════════════════════════════════════════ */
:root {
  /* ─── Colors ─── */
  --bg-primary:     #0a0e17;
  --bg-secondary:   #111827;
  --bg-tertiary:    #1a2332;
  --bg-card:        rgba(17, 24, 39, 0.7);
  --bg-card-hover:  rgba(26, 35, 50, 0.9);
  --bg-glass:       rgba(17, 24, 39, 0.55);
  --bg-glass-hover: rgba(26, 35, 50, 0.7);

  --border-primary:   rgba(255, 255, 255, 0.06);
  --border-secondary: rgba(255, 255, 255, 0.1);
  --border-accent:    rgba(59, 130, 246, 0.3);
  --border-gold:      rgba(245, 183, 66, 0.3);

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary:  #64748b;
  --text-muted:     #475569;

  --accent-blue:       #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-blue-glow:  rgba(59, 130, 246, 0.25);
  --accent-gold:       #f5b742;
  --accent-gold-hover: #e5a832;
  --accent-gold-glow:  rgba(245, 183, 66, 0.25);
  --accent-green:      #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.2);
  --accent-red:        #ef4444;
  --accent-red-glow:   rgba(239, 68, 68, 0.2);
  --accent-purple:     #8b5cf6;
  --accent-orange:     #f97316;
  --accent-cyan:       #06b6d4;

  /* Status colors */
  --status-pending:   #f59e0b;
  --status-approved:  #10b981;
  --status-rejected:  #ef4444;
  --status-suspended: #6366f1;

  /* Gradients */
  --gradient-hero:     linear-gradient(135deg, #0a0e17 0%, #111827 40%, #0f1729 100%);
  --gradient-blue:     linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-gold:     linear-gradient(135deg, #f5b742 0%, #e5a832 100%);
  --gradient-card:     linear-gradient(145deg, rgba(17,24,39,0.8), rgba(26,35,50,0.5));
  --gradient-glass:    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --gradient-accent:   linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-mesh:     radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 50%),
                       radial-gradient(ellipse at 80% 20%, rgba(245,183,66,0.06) 0%, transparent 50%),
                       radial-gradient(ellipse at 50% 80%, rgba(139,92,246,0.05) 0%, transparent 50%);

  /* ─── Typography ─── */
  --font-family:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --leading-tight:  1.25;
  --leading-normal: 1.5;
  --leading-relax:  1.75;

  /* ─── Spacing ─── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ─── Border Radius ─── */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* ─── Shadows ─── */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.5), 0 4px 6px -4px rgba(0,0,0,0.4);
  --shadow-xl:   0 20px 25px -5px rgba(0,0,0,0.5), 0 8px 10px -6px rgba(0,0,0,0.4);
  --shadow-glow-blue: 0 0 20px rgba(59,130,246,0.3), 0 0 40px rgba(59,130,246,0.1);
  --shadow-glow-gold: 0 0 20px rgba(245,183,66,0.3), 0 0 40px rgba(245,183,66,0.1);

  /* ─── Transitions ─── */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─── Z-Index ─── */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-navbar:   300;
  --z-modal:    400;
  --z-toast:    500;

  /* ─── Container ─── */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1200px;
  --container-2xl: 1400px;

  --navbar-height: 72px;
  --sidebar-width: 260px;
}
