/**
 * GCT School UI - CSS Variables
 * Design System Color, Typography, and Spacing Variables
 */

:root {
  /* ==================== Colors ==================== */

  /* Primary Colors */
  --primary: #3B82F6;
  --primary-hover: #2563EB;
  --primary-light: rgba(59, 130, 246, 0.1);

  --secondary: #10B981;
  --secondary-hover: #059669;
  --secondary-light: rgba(16, 185, 129, 0.1);

  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-light: rgba(245, 158, 11, 0.1);

  /* Neutral Colors */
  --background: #F9FAFB;
  --card-bg: #FFFFFF;
  --hover-bg: #F3F4F6;

  --text: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;

  --border: #E5E7EB;
  --border-dark: #D1D5DB;

  /* Semantic Colors */
  --success: #10B981;
  --success-bg: #D1FAE5;
  --success-border: #6EE7B7;

  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --warning-border: #FCD34D;

  --error: #EF4444;
  --error-bg: #FEE2E2;
  --error-border: #FCA5A5;

  --info: #3B82F6;
  --info-bg: #DBEAFE;
  --info-border: #93C5FD;

  /* ==================== Typography ==================== */

  /* Font Family */
  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

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

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;

  /* ==================== Spacing ==================== */

  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 6rem;     /* 96px */

  /* ==================== Border Radius ==================== */

  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;   /* Circular */

  /* ==================== Shadows ==================== */

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* ==================== Z-Index ==================== */

  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* ==================== Transitions ==================== */

  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-slower: 0.4s ease;

  /* ==================== Breakpoints ==================== */

  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* ==================== Layout ==================== */

  --container-max-width: 1280px;
  --navbar-height: 64px;
  --sidebar-width: 260px;
  --gutter: 24px;
}

/* Dark mode variables (optional, for future use) */
@media (prefers-color-scheme: dark) {
  :root[data-theme="dark"] {
    --background: #111827;
    --card-bg: #1F2937;
    --hover-bg: #374151;

    --text: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;

    --border: #374151;
    --border-dark: #4B5563;
  }
}
