/**
 * GuideIT Solutions Design System Tokens
 * Unified CSS Custom Properties for Light & Dark Themes
 */

:root {
  /* Brand Constants */
  --gs-primary: #0284c7;
  --gs-primary-hover: #0369a1;
  --gs-primary-light: #e0f2fe;
  --gs-accent: #f97316;
  --gs-accent-hover: #ea580c;

  /* Feedback */
  --gs-success: #10b981;
  --gs-success-bg: rgba(16, 185, 129, 0.12);
  --gs-warning: #f59e0b;
  --gs-warning-bg: rgba(245, 158, 11, 0.12);
  --gs-error: #ef4444;
  --gs-error-bg: rgba(239, 68, 68, 0.12);
  --gs-info: #3b82f6;
  --gs-info-bg: rgba(59, 130, 246, 0.12);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 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;

  /* Default Dark Theme Semantic Tokens */
  --bg-app: #070709;
  --bg-surface: #0e0e14;
  --bg-surface-elevated: #14141c;
  --bg-surface-glass: rgba(14, 14, 20, 0.78);
  --border-color: #1c1c28;
  --border-hover: #2e2e42;
  --text-primary: #ededed;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-inverse: #070709;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --modal-overlay: rgba(0, 0, 0, 0.75);
}

/* Light Theme Mode */
html.light {
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.85);
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
  --modal-overlay: rgba(15, 23, 42, 0.5);
}

/* Transitions */
* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  margin: 0;
  transition: background-color 200ms ease, color 200ms ease;
}
