/**
 * Bilflow Design Tokens - Light Theme
 *
 * Modern light UI with clean contrast, rounded cards, subtle shadows, and gradient accents
 *
 * Color Palette:
 * - Primary: White/light gray background (#ffffff)
 * - Surface: Slightly darker cards (#f8f9fa)
 * - Surface-hover: Card hover state (#f1f3f5)
 * - Border: Subtle separators (#e9ecef)
 * - Text-primary: Main content (#212529)
 * - Text-secondary: Muted text (#6c757d)
 * - Accent: Primary action color (#0066cc)
 * - Accent-gradient: Gradient for priority cards
 * - Success: Completed status (#198754)
 * - Warning: Deadline approaching (#ffc107)
 * - Danger: Overdue/urgent (#dc3545)
 * - Brand: Bilflow brand color (#1f3c88)
 */

:root {
  /* === Colors === */
  
  /* Background */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8f9fa;
  --color-bg-tertiary: #f1f3f5;
  --color-bg-elevated: #e9ecef;
  
  /* Borders & Dividers */
  --color-border-subtle: #e9ecef;
  --color-border-default: #dee2e6;
  --color-border-muted: #adb5bd;
  
  /* Text */
  --color-text-primary: #212529;
  --color-text-secondary: #6c757d;
  --color-text-muted: #adb5bd;
  --color-text-inverse: #ffffff;
  
  /* Accent Colors */
  --color-accent-primary: #0066cc;
  --color-accent-hover: #0052a3;
  --color-accent-active: #004080;
  
  /* Brand Color - Bilflow */
  --color-brand-primary: #1f3c88;
  --color-brand-hover: #2a4da8;
  --color-brand-light: rgba(31, 60, 136, 0.08);
  
  /* Status Colors */
  --color-success: #198754;
  --color-success-bg: rgba(25, 135, 84, 0.1);
  --color-warning: #ffc107;
  --color-warning-bg: rgba(255, 193, 7, 0.1);
  --color-danger: #dc3545;
  --color-danger-bg: rgba(220, 53, 69, 0.1);
  --color-info: #0066cc;
  --color-info-bg: rgba(0, 102, 204, 0.1);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #0066cc 0%, #6f42c1 100%);
  --gradient-card: linear-gradient(145deg, rgba(0, 102, 204, 0.05) 0%, rgba(111, 66, 193, 0.05) 100%);
  --gradient-glow: radial-gradient(ellipse at top, rgba(0, 102, 204, 0.08) 0%, transparent 60%);
  
  /* === Spacing === */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 0.75rem;   /* 12px */
  --spacing-lg: 1rem;       /* 16px */
  --spacing-xl: 1.5rem;     /* 24px */
  --spacing-2xl: 2rem;      /* 32px */
  --spacing-3xl: 2.5rem;    /* 40px */
  --spacing-4xl: 3rem;      /* 48px */
  
  /* === Border Radius === */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;
  
  /* === Shadows === */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 20px rgba(0, 102, 204, 0.15);
  
  /* === Typography === */
  /* Canonical font stacks - do not add new font families */
  --font-family-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Legacy aliases (deprecated - use --font-family-base instead) */
  --font-family-sans: var(--font-family-base);
  --font-family-display: var(--font-family-base);
  
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-md: 1rem;         /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 2rem;        /* 32px */
  --font-size-4xl: 2.5rem;      /* 40px */
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* === Transitions === */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* === Layout === */
  --sidebar-width: 280px;
  --header-height: 70px;
  --top-board-height: 80px;
  --column-min-width: 320px;
  --card-max-width: 100%;
  
  /* === Z-Index === */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}
