/* ============================================
   EduFace AI — Design Tokens
   ============================================ */

:root {
  /* Background Colors */
  --bg-primary: #F0F4F8;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #E2E8F0;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-hover: rgba(255, 255, 255, 0.95);
  --bg-overlay: rgba(15, 23, 42, 0.5);

  /* Accent Colors (Changed to Blue for Casual Theme) */
  --accent-teal: #2563EB; /* Main Blue */
  --accent-teal-hover: #3B82F6;
  --accent-teal-glow: rgba(37, 99, 235, 0.3);
  --accent-purple: #6366F1; /* Indigo */
  --accent-purple-hover: #818CF8;
  --accent-purple-glow: rgba(99, 102, 241, 0.3);

  /* Semantic Colors */
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.15);
  --warning: #F59E0B;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --info: #0EA5E9;
  --info-bg: rgba(14, 165, 233, 0.15);

  /* Text Colors */
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Border */
  --border-glass: rgba(15, 23, 42, 0.1);
  --border-subtle: rgba(15, 23, 42, 0.05);
  --border-focus: var(--accent-teal);

  /* Gradients */
  --gradient-teal: linear-gradient(135deg, #3B82F6, #1D4ED8);
  --gradient-purple: linear-gradient(135deg, #818CF8, #4F46E5);
  --gradient-success: linear-gradient(135deg, #10B981, #059669);
  --gradient-warning: linear-gradient(135deg, #F59E0B, #D97706);
  --gradient-danger: linear-gradient(135deg, #EF4444, #DC2626);
  --gradient-info: linear-gradient(135deg, #0EA5E9, #0284C7);
  --gradient-hero: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow-teal: 0 0 20px var(--accent-teal-glow);
  --shadow-glow-purple: 0 0 20px var(--accent-purple-glow);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.375rem;
  --space-md: 0.75rem;
  --space-lg: 1.25rem;
  --space-xl: 1.75rem;
  --space-2xl: 2.5rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 50%;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-base: 0.875rem;
  --font-size-lg: 1rem;
  --font-size-xl: 1.125rem;
  --font-size-2xl: 1.25rem;
  --font-size-3xl: 1.75rem;
  --font-size-4xl: 2.25rem;
  --line-height: 1.4;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Layout */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
  --topbar-height: 64px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-sidebar: 100;
  --z-topbar: 90;
  --z-modal: 200;
  --z-toast: 300;
  --z-dropdown: 150;
}
