/**
 * CSS Variables - Hovfaret 13 Dashboard
 * Central design tokens for the entire dashboard.
 */

:root {
  /* ===== BACKGROUND COLORS ===== */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-hover: #f1f5f9;
  --bg-selected: #eff6ff;
  --bg-accent: #dbeafe;

  /* ===== TEXT COLORS ===== */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-accent: #2563eb;

  /* ===== BORDER COLORS ===== */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* ===== STATUS COLORS ===== */
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;
  --error: #ef4444;

  /* ===== TYPE COLORS ===== */
  --type-internal: #8b5cf6;
  --type-external: #0ea5e9;
  --type-workshop: #f59e0b;
  --type-presentation: #10b981;
  --type-decision: #ef4444;
  --type-other: #6b7280;

  /* ===== SHADOWS ===== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

  /* ===== SPACING SCALE ===== */
  --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;

  /* ===== BORDER RADIUS ===== */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* ===== TYPOGRAPHY ===== */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.65rem;
  --font-size-sm: 0.75rem;
  --font-size-base: 0.875rem;
  --font-size-lg: 1rem;
  --font-size-xl: 1.125rem;
  --font-size-2xl: 1.25rem;
  --font-size-3xl: 1.5rem;
  --font-size-4xl: 1.75rem;

  /* ===== TRANSITIONS ===== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* ===== Z-INDEX SCALE ===== */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-overlay: 400;
  --z-toast: 500;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
  --bg-main: #0f172a;
  --bg-card: #1e293b;
  --bg-hover: #334155;
  --bg-selected: #1e3a5f;
  --bg-accent: #1e3a5f;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-accent: #60a5fa;
  --border-light: #334155;
  --border-medium: #475569;
}
