/**
 * SpeedInfer Design Tokens & Theme Variables
 * Unified Dark Mode High-Performance Developer Console System
 */

:root {
  /* Color Palette - Surfaces */
  --bg-base: #f6f7f4;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f3e9;
  --bg-input: #f7f8f5;
  --bg-elevated: #eef0e9;
  --bg-glass: rgba(255, 255, 255, 0.95);

  /* Borders & Dividers */
  --border-subtle: #e5e8df;
  --border-default: #d5dacd;
  --border-focus: #354b26;
  --border-glow: rgba(59, 130, 246, 0.4);

  /* Typography Colors */
  --text-primary: #19231c;
  --text-secondary: #596357;
  --text-muted: #687264;
  --text-dim: #687264;
  --text-accent: #354b26;

  /* Accent & Interactive */
  --primary: #354b26;
  --primary-hover: #25351b;
  --primary-active: #182414;
  --primary-glow: rgba(59, 130, 246, 0.25);

  /* Status Tokens */
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --success-border: rgba(16, 185, 129, 0.3);

  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --warning-border: rgba(245, 158, 11, 0.3);

  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --danger-border: rgba(239, 68, 68, 0.3);

  /* Typography Scale */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --text-2xs: 0.6875rem; /* 11px */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */

  /* Spacing Scale */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem;  /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem;    /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem;  /* 24px */
  --space-8: 2rem;    /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem;   /* 48px */

  /* Border Radii */
  --radius-sm: 0.375rem; /* 6px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  --radius-full: 9999px;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(25, 35, 28, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(25, 35, 28, 0.06), 0 2px 4px -2px rgba(25, 35, 28, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(25, 35, 28, 0.08), 0 4px 6px -4px rgba(25, 35, 28, 0.08);
  --shadow-glow: 0 0 20px -2px var(--primary-glow);

  /* Animation & Transition */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout dimensions */
  --sidebar-width: 250px;
  --header-height: 64px;
  --max-content-width: 1400px;
}
