/* ==========================================================================
   TOPNOTCH TECH DESIGN TOKENS
   Aesthetic: Dual Theme System (Executive Light Mode by Default & Dark Mode)
   Accents: Warm Metallic Gold & Ghana Air Force Precision Navy
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Common Shared Tokens (Typography, Spacing, Radius, Transitions) */
:root {
  /* Fonts */
  --font-brand: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --sidebar-w: 260px;
  --sidebar-w-collapsed: 72px;
  --header-h: 70px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* ==========================================================================
   DEFAULT: EXECUTIVE LIGHT THEME
   ========================================================================== */
:root,
[data-theme="light"] {
  /* Brand Palette (Executive Light Gold / Bronze) */
  --gold-primary: #B47D14;
  --gold-secondary: #8E600B;
  --gold-light: #FBF4DC;
  --gold-dark: #6D4805;
  --gold-glow: rgba(180, 125, 20, 0.2);
  --gold-gradient: linear-gradient(135deg, #B47D14 0%, #D8A528 50%, #996A0A 100%);
  --gold-border: rgba(180, 125, 20, 0.28);
  --gold-border-bright: rgba(180, 125, 20, 0.6);

  /* Surface & Base Colors (Crisp Modern Light) */
  --bg-darker: #F3F4F6;
  --bg-dark: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F9FAFB;
  --bg-surface-glass: rgba(255, 255, 255, 0.92);
  --bg-surface-hover: rgba(180, 125, 20, 0.08);
  --bg-header: rgba(255, 255, 255, 0.95);
  --bg-sidebar-footer: #F8FAFC;

  /* Border & Dividers */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-gold: rgba(180, 125, 20, 0.35);

  /* Text & Typography (Deep Charcoal / Slate for maximum legibility) */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-gold: #8E600B;

  /* Status Colors */
  --success: #059669;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #D97706;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --danger: #DC2626;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --info: #2563EB;
  --info-bg: rgba(37, 99, 235, 0.12);

  /* Shadows (Soft modern elevation) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 4px 16px rgba(180, 125, 20, 0.18);

  /* Pass Generator Specific */
  --bg-space: #F1F5F9;
  --bg-panel: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-input: #FFFFFF;
  --border-card: #E2E8F0;
  --border-focus: #B47D14;
  --text-main: #0F172A;
  --text-dim: #94A3B8;
  --accent-gold: #B47D14;
  --accent-gold-light: #FBF4DC;
  --accent-gold-glow: rgba(180, 125, 20, 0.2);
  --accent-navy: #1E293B;
  --accent-navy-bright: #B47D14;
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   OPTIONAL: OBSIDIAN DARK THEME
   ========================================================================== */
[data-theme="dark"] {
  /* Brand Palette */
  --gold-primary: #D4AF37;
  --gold-secondary: #B59A57;
  --gold-light: #F4E29C;
  --gold-dark: #9E740E;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4E29C 50%, #B59A57 100%);
  --gold-border: rgba(212, 175, 55, 0.22);
  --gold-border-bright: rgba(212, 175, 55, 0.55);

  /* Surface & Base Colors (Dark Mode) */
  --bg-darker: #121416;
  --bg-dark: #171A1C;
  --bg-surface: #1F2326;
  --bg-surface-elevated: #282D31;
  --bg-surface-glass: rgba(31, 35, 38, 0.75);
  --bg-surface-hover: rgba(212, 175, 55, 0.08);
  --bg-header: rgba(23, 26, 28, 0.85);
  --bg-sidebar-footer: rgba(18, 20, 22, 0.4);

  /* Border & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-gold: rgba(212, 175, 55, 0.3);

  /* Text & Typography */
  --text-primary: #FFFFFF;
  --text-secondary: #C4C8CC;
  --text-muted: #828A91;
  --text-gold: #E5C358;

  /* Status Colors */
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.15);
  --warning: #F59E0B;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --info: #3B82F6;
  --info-bg: rgba(59, 130, 246, 0.15);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);

  /* Pass Generator Specific */
  --bg-space: #121416;
  --bg-panel: #171A1C;
  --bg-card: rgba(31, 35, 38, 0.85);
  --bg-card-hover: rgba(31, 35, 38, 0.98);
  --bg-input: #121416;
  --border-card: rgba(212, 175, 55, 0.2);
  --border-focus: #D4AF37;
  --text-main: #FFFFFF;
  --text-dim: #64748B;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F4E29C;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  --accent-navy: #1F2326;
  --accent-navy-bright: #D4AF37;
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}
