/* ========================================
   FIPS DESIGN TOKENS
   Single source of truth for all design values
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ========================================
     BRAND COLORS
     ======================================== */
  --fips-green-deep: #0a3814;
  --fips-green: #0a2e13;
  --fips-green-mid: #1a5c2e;
  --fips-green-light: #2d7040;
  --fips-green-lighter: #4a9d63;
  --fips-green-accent: #e8f5ed;

  --fips-gold: #d4af37;
  --fips-gold-light: #e6c547;
  --fips-gold-dark: #b8941f;
  --fips-gold-accent: #fef9e7;

  /* ========================================
     NEUTRALS
     ======================================== */
  --fips-white: #ffffff;
  --fips-gray-50: #f8f9fa;
  --fips-gray-100: #f1f3f5;
  --fips-gray-200: #e9ecef;
  --fips-gray-300: #dee2e6;
  --fips-gray-400: #adb5bd;
  --fips-gray-500: #6c757d;
  --fips-gray-600: #495057;
  --fips-gray-700: #343a40;
  --fips-gray-800: #212529;

  /* ========================================
     SEMANTIC COLORS
     ======================================== */
  --fips-success: #198754;
  --fips-success-bg: #d1e7dd;
  --fips-danger: #dc3545;
  --fips-danger-bg: #f8d7da;
  --fips-warning: #ffc107;
  --fips-warning-bg: #fff3cd;
  --fips-info: #0dcaf0;
  --fips-info-bg: #cff4fc;

  /* ========================================
     GRADE COLORS
     ======================================== */
  --grade-a: #18b8ad;
  --grade-b: #091382;
  --grade-c: #8a03c0;
  --grade-d: #bf740c;
  --grade-f: #e60303;

  /* ========================================
     STATUS COLORS
     ======================================== */
  --status-active: #198754;
  --status-pending: #ffc107;
  --status-completed: #0dcaf0;
  --status-failed: #dc3545;
  --status-revoked: #6c757d;

  /* ========================================
     GRADIENTS
     ======================================== */
  --gradient-green: linear-gradient(135deg, #0a3814 0%, #2d7040 100%);
  --gradient-green-dark: linear-gradient(135deg, #0a2e13 0%, #1a5c2e 50%, #2d7040 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #e6c547 100%);
  --gradient-gold-dark: linear-gradient(135deg, #b8941f 0%, #d4af37 50%, #e6c547 100%);
  --gradient-gray: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  --gradient-bg: linear-gradient(135deg, #e8f5ed 0%, #f0f7f3 30%, #e8f5ed 70%, #d4e8dc 100%);
  --gradient-card: linear-gradient(135deg, rgba(248, 252, 250, 0.98) 0%, rgba(240, 247, 243, 0.95) 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(232, 245, 237, 0.98) 0%, rgba(240, 247, 243, 0.95) 100%);

  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.7;

  /* ========================================
     BORDER RADIUS
     ======================================== */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 15px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ========================================
     SPACING
     ======================================== */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* ========================================
     SHADOWS
     ======================================== */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow-green: 0 0 20px rgba(45, 112, 64, 0.15);
  --shadow-glow-gold: 0 0 20px rgba(212, 175, 55, 0.15);

  /* ========================================
     TRANSITIONS
     ======================================== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ========================================
     Z-INDEX SCALE
     ======================================== */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-toast: 600;
}
