/* FILE: css/variables.css */
:root {
  /* === Backgrounds === */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a26;
  --bg-hover: #1e1e2e;
  --bg-active: #252535;
  --bg-input: #13131e;
  --bg-message-user: #1a1a3e;
  --bg-message-ai: #0f1117;
  --bg-glass: rgba(255, 255, 255, 0.03);

  /* === Accent Colors === */
  --accent-primary: #6c63ff;
  --accent-secondary: #00d4ff;
  --accent-success: #00e676;
  --accent-warning: #ffab00;
  --accent-danger: #ff5252;
  --accent-glow: rgba(108, 99, 255, 0.15);
  --accent-glow-cyan: rgba(0, 212, 255, 0.10);

  /* === Text === */
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --text-tertiary: #555570;
  --text-accent: #6c63ff;
  --text-ai: #c8c8e8;
  --text-code: #00d4ff;

  /* === Borders === */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);
  --border-accent: rgba(108, 99, 255, 0.40);
  --border-input: rgba(108, 99, 255, 0.25);

  /* === Typography === */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 15px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 28px;

  /* === Spacing === */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* === Border Radius === */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* === Shadows === */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(108, 99, 255, 0.2);
  --shadow-glow-cyan: 0 0 20px rgba(0, 212, 255, 0.15);

  /* === Transitions === */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* === Layout === */
  --sidebar-width: 280px;
  --header-height: 60px;
  --input-area-height: auto;
  --panel-width: 400px;

  /* === Z-Indexes === */
  --z-base: 1;
  --z-sidebar: 10;
  --z-header: 20;
  --z-panel: 30;
  --z-overlay: 40;
  --z-modal: 50;
  --z-toast: 60;
  --z-context-menu: 70;
  --z-tooltip: 80;
  --z-boot: 100;
}

/* === Light Theme === */
[data-theme="light"] {
  --bg-primary: #f8f8ff;
  --bg-secondary: #f0f0fa;
  --bg-tertiary: #e8e8f5;
  --bg-hover: #e0e0f0;
  --bg-active: #d8d8ec;
  --bg-input: #ffffff;
  --bg-message-user: #ebe8ff;
  --bg-message-ai: #f5f5fc;
  --bg-glass: rgba(0, 0, 0, 0.02);

  --text-primary: #1a1a2e;
  --text-secondary: #555570;
  --text-tertiary: #9999bb;
  --text-ai: #2a2a4e;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.12);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
}
