/* ========================================
   CSS Variables - Global Design Tokens
   ======================================== */

:root {
  /* Primary Colors - Blue Theme from Profile */
  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;
  --color-primary-light: #60a5fa;
  --color-primary-lighter: #93c5fd;

  /* Secondary Colors - Cyan/Sky Blue */
  --color-secondary: #0ea5e9;
  --color-secondary-dark: #0284c7;
  --color-secondary-light: #38bdf8;

  /* Success Colors */
  --color-success: #10b981;
  --color-success-dark: #059669;
  --color-success-light: #34d399;

  /* Warning Colors */
  --color-warning: #f59e0b;
  --color-warning-dark: #d97706;
  --color-warning-light: #fbbf24;

  /* Error/Danger Colors */
  --color-danger: #ef4444;
  --color-danger-dark: #dc2626;
  --color-danger-light: #f87171;

  /* Info Colors */
  --color-info: #06b6d4;
  --color-info-dark: #0891b2;
  --color-info-light: #22d3ee;

  /* Neutral/Gray Scale */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Background Colors - Blue-tinted */
  --bg-primary: #f0f9ff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-hover: #f3f4f6;
  --bg-dark: #1f2937;
  --bg-darker: #111827;
  --bg-gradient-light: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);

  /* Text Colors - Darker for better contrast */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --text-dark: #0f172a;
  --text-white: #ffffff;

  /* Border Colors */
  --border-color: #e5e7eb;
  --border-color-light: #f3f4f6;
  --border-color-dark: #d1d5db;

  /* Spacing Scale (4px base) */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 24px;
  --spacing-3xl: 32px;
  --spacing-4xl: 48px;
  --spacing-5xl: 64px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 50%;
  --radius-pill: 50px;

  /* Box Shadows - Blue-tinted for premium feel */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(59, 130, 246, 0.08);
  --shadow-lg: 0 8px 24px rgba(59, 130, 246, 0.12);
  --shadow-xl: 0 20px 40px rgba(59, 130, 246, 0.15);
  --shadow-2xl: 0 25px 50px rgba(59, 130, 246, 0.2);
  --shadow-colored: 0 4px 12px rgba(59, 130, 246, 0.3);

  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-mono: 'Courier New', Courier, monospace;

  /* Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-all: all 0.3s ease;

  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Layout */
  --container-max-width: 1200px;
  --sidebar-width: 250px;
  --header-height: 60px;

  /* Gradients - Blue Theme */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #0ea5e9 100%);
  --gradient-subtle: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  --gradient-text: linear-gradient(135deg, #3b82f6, #0ea5e9);
}

/* Dark Theme (optional - for future use) */
html[data-theme="dark"] {
  --bg-primary: #121212;
  --bg-secondary: #1f1f1f;
  --bg-card: #2a2a2a;
  --bg-hover: #3a3a3a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-light: #808080;
  --border-color: #404040;
  --border-color-light: #333333;
  --border-color-dark: #4a4a4a;
}