/**
 * SHA Student Portal - Design Tokens
 * 
 * Official Design Tokens for SHA Innovative Technologies Student Portal.
 * Verified against corporate brand guidelines: Deep Navy, Infinity Purple, Tech Blue, Cyan, and Academic Gold.
 */
:root {
  /* ==========================================================================
     1. Brand Color Palette
     ========================================================================== */
  /* Deep Navy (Primary Corporate Foundation) */
  --color-navy-950: #060D1A;
  --color-navy-900: #0B192C;
  --color-navy-850: #0F223D;
  --color-navy-800: #1E293B;
  --color-navy-700: #334155;

  /* SHA Primary Purple (Infinity Loop Gradient Origin) */
  --color-brand-purple: #6D28D9;
  --color-brand-purple-hover: #5B21B6;
  --color-brand-purple-light: #8B5CF6;
  --color-brand-purple-subtle: #F3EEFF;
  --color-brand-purple-glow: rgba(109, 40, 217, 0.15);

  /* SHA Tech Blue (Secondary Brand Accent) */
  --color-brand-blue: #2563EB;
  --color-brand-blue-hover: #1D4ED8;
  --color-brand-blue-light: #3B82F6;
  --color-brand-blue-subtle: #EFF6FF;
  --color-brand-blue-glow: rgba(37, 99, 235, 0.15);

  /* Innovation Cyan (Technical Highlights) */
  --color-brand-cyan: #00D4B2;
  --color-brand-cyan-hover: #00B89C;
  --color-brand-cyan-subtle: #E6FBF7;

  /* Restrained Academic Gold (Honors, Verified Certificates, Distinction Badges) */
  --color-gold-700: #B45309;
  --color-gold-600: #D97706;
  --color-gold-500: #F59E0B;
  --color-gold-400: #FBBF24;
  --color-gold-50: #FFFDF0;
  --color-gold-border: #FDE68A;

  /* ==========================================================================
     2. Neutral Surfaces, Backgrounds & Borders
     ========================================================================== */
  --color-bg: #FFFFFF;
  --color-canvas: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-hover: #F8F9FA;
  --color-surface-muted: #F1F5F9;
  --color-surface-lavender: #F7F5FE;

  --color-border: #E2E8F0;
  --color-border-subtle: #CBD5E1;
  --color-border-hover: #94A3B8;
  --color-border-focus: #2563EB;

  /* ==========================================================================
     3. Typography Colors & Contrast
     ========================================================================== */
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-text-white: #FFFFFF;
  --color-text-purple: #6D28D9;
  --color-text-blue: #2563EB;

  /* ==========================================================================
     4. Semantic Feedback & System States
     ========================================================================== */
  --color-success: #10B981;
  --color-success-hover: #059669;
  --color-success-subtle: #ECFDF5;
  --color-success-border: #A7F3D0;

  --color-warning: #F59E0B;
  --color-warning-hover: #D97706;
  --color-warning-subtle: #FFFBEB;
  --color-warning-border: #FDE68A;

  --color-danger: #EF4444;
  --color-danger-hover: #DC2626;
  --color-danger-subtle: #FEF2F2;
  --color-danger-border: #FECACA;

  --color-info: #0284C7;
  --color-info-hover: #0369A1;
  --color-info-subtle: #F0F9FF;
  --color-info-border: #BAE6FD;

  /* ==========================================================================
     5. Typography System
     ========================================================================== */
  --font-family-headings: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, Menlo, monospace;

  /* Type Scale */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1.00rem;  /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.50rem;    /* 24px */
  --font-size-2xl: 1.875rem;  /* 30px */
  --font-size-3xl: 2.25rem;   /* 36px */
  --font-size-4xl: 2.75rem;   /* 44px */
  --font-size-5xl: 3.50rem;   /* 56px */

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

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.65;

  /* ==========================================================================
     6. Spacing Scale (4px modular grid)
     ========================================================================== */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.50rem;  /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1.00rem;  /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.50rem;  /* 24px */
  --space-8: 2.00rem;  /* 32px */
  --space-10: 2.50rem; /* 40px */
  --space-12: 3.00rem; /* 48px */
  --space-16: 4.00rem; /* 64px */
  --space-20: 5.00rem; /* 80px */
  --space-24: 6.00rem; /* 96px */

  /* ==========================================================================
     7. Border Radii
     ========================================================================== */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ==========================================================================
     8. Box Shadows & Elevations
     ========================================================================== */
  --shadow-xs: 0 1px 2px 0 rgba(11, 25, 44, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(11, 25, 44, 0.06), 0 1px 2px -1px rgba(11, 25, 44, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(11, 25, 44, 0.07), 0 2px 4px -2px rgba(11, 25, 44, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(11, 25, 44, 0.08), 0 4px 6px -4px rgba(11, 25, 44, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(11, 25, 44, 0.10), 0 8px 10px -6px rgba(11, 25, 44, 0.04);
  --shadow-card-hover: 0 12px 24px -4px rgba(11, 25, 44, 0.12), 0 4px 8px -2px rgba(11, 25, 44, 0.06);
  --shadow-dropdown: 0 10px 30px -5px rgba(11, 25, 44, 0.15);

  /* ==========================================================================
     9. Layout Widths & Shell Sizes
     ========================================================================== */
  --container-max-width: 1280px;
  --container-narrow: 840px;
  --header-height: 72px;
  --sidebar-width: 270px;
  --sidebar-collapsed: 72px;

  /* ==========================================================================
     10. Layering / Z-Index Scale
     ========================================================================== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-toast: 1080;
  --z-tooltip: 1090;

  /* ==========================================================================
     11. Transitions & Durations
     ========================================================================== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ==========================================================================
     12. Responsive Breakpoint Tokens (Reference Matrix)
     ========================================================================== */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 480px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1440px;
}
