/* CDSP 79 Design System - CSS Variables */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
@import url("./responsive.css");
@import url("./global.css");
@import url("./components.css");
@import url("./compat.css");
@import url("./homepage.css");

/* ============================================ */
/* COLOR SYSTEM - CDSP 79 Brand Colors */
/* Based on the official logo: Le PALET en DEUX-SÈVRES */
/* ============================================ */

:root {
  /* ============================================ */
  /* PRIMARY BRAND COLORS - From Logo */
  /* ============================================ */

  /* Green - Used for "Le", "DEUX-SÈVRES", "9" circle, and tree */
  --color-brand-green: #00a651;
  --color-brand-green-50: #ecfdf5;
  --color-brand-green-100: #d1fae5;
  --color-brand-green-200: #a7f3d0;
  --color-brand-green-300: #6ee7b7;
  --color-brand-green-400: #34d399;
  --color-brand-green-500: #10b981;
  --color-brand-green-600: #059669;
  --color-brand-green-700: #047857;
  --color-brand-green-800: #065f46;
  --color-brand-green-900: #064e3b;
  --color-brand-green-950: #022c22;

  /* Orange - Used for "7" circle and silhouette */
  --color-brand-orange: #ff8c00;
  --color-brand-orange-50: #fff7ed;
  --color-brand-orange-100: #ffedd5;
  --color-brand-orange-200: #fed7aa;
  --color-brand-orange-300: #fdba74;
  --color-brand-orange-400: #fb923c;
  --color-brand-orange-500: #f97316;
  --color-brand-orange-600: #ea580c;
  --color-brand-orange-700: #c2410c;
  --color-brand-orange-800: #9a3412;
  --color-brand-orange-900: #7c2d12;
  --color-brand-orange-950: #431407;

  /* Gray - Used for "PALET en" and star */
  --color-brand-gray: #666666;
  --color-brand-gray-50: #f9fafb;
  --color-brand-gray-100: #f3f4f6;
  --color-brand-gray-200: #e5e7eb;
  --color-brand-gray-300: #d1d5db;
  --color-brand-gray-400: #9ca3af;
  --color-brand-gray-500: #6b7280;
  --color-brand-gray-600: #4b5563;
  --color-brand-gray-700: #374151;
  --color-brand-gray-800: #1f2937;
  --color-brand-gray-900: #111827;
  --color-brand-gray-950: #030712;

  /* Light Green - for backgrounds and accents */
  --color-green-light: #2d5a3d;
  --color-green-dark: #1a3d2e;
  --color-green-darker: #004d2b;

  /* ============================================ */
  /* SECONDARY COLORS */
  /* ============================================ */

  /* Secondary Blue - for links and accents */
  --color-secondary-50: #eff6ff;
  --color-secondary-100: #dbeafe;
  --color-secondary-200: #bfdbfe;
  --color-secondary-300: #93c5fd;
  --color-secondary-400: #60a5fa;
  --color-secondary-500: #3b82f6;
  --color-secondary-600: #2563eb;
  --color-secondary-700: #1d4ed8;
  --color-secondary-800: #1e40af;
  --color-secondary-900: #1e3a8a;
  --color-secondary-950: #172554;

  /* ============================================ */
  /* NEUTRAL COLORS */
  /* ============================================ */
  --color-neutral-50: #fafafa;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e5e5;
  --color-neutral-300: #d4d4d4;
  --color-neutral-400: #a3a3a3;
  --color-neutral-500: #737373;
  --color-neutral-600: #525252;
  --color-neutral-700: #404040;
  --color-neutral-800: #262626;
  --color-neutral-900: #171717;
  --color-neutral-950: #0a0a0a;

  /* ============================================ */
  /* SEMANTIC COLORS */
  /* ============================================ */

  --color-success-50: #f0fdf4;
  --color-success-100: #dcfce7;
  --color-success-200: #bbf7d0;
  --color-success-300: #86efac;
  --color-success-400: #4ade80;
  --color-success-500: #22c55e;
  --color-success-600: #16a34a;
  --color-success-700: #15803d;
  --color-success-800: #166534;
  --color-success-900: #14532d;

  --color-warning-50: #fffbeb;
  --color-warning-100: #fef3c7;
  --color-warning-200: #fde68a;
  --color-warning-300: #fcd34d;
  --color-warning-400: #fbbf24;
  --color-warning-500: #f59e0b;
  --color-warning-600: #d97706;
  --color-warning-700: #b45309;
  --color-warning-800: #92400e;
  --color-warning-900: #78350f;

  --color-danger-50: #fef2f2;
  --color-danger-100: #fee2e2;
  --color-danger-200: #fecaca;
  --color-danger-300: #fca5a5;
  --color-danger-400: #f87171;
  --color-danger-500: #ef4444;
  --color-danger-600: #dc2626;
  --color-danger-700: #b91c1c;
  --color-danger-800: #991b1b;
  --color-danger-900: #7f1d1d;

  --color-info-50: #eff6ff;
  --color-info-100: #dbeafe;
  --color-info-200: #bfdbfe;
  --color-info-300: #93c5fd;
  --color-info-400: #60a5fa;
  --color-info-500: #3b82f6;
  --color-info-600: #2563eb;
  --color-info-700: #1d4ed8;
  --color-info-800: #1e40af;
  --color-info-900: #1e3a8a;

  /* ============================================ */
  /* BACKGROUND COLORS */
  /* ============================================ */

  /* Primary backgrounds - Dark theme for sports feel */
  --bg-primary: #000000;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-dark: #000000;
  --bg-darker: #0a0a0a;
  --bg-light: var(--color-neutral-50);
  --bg-lighter: var(--color-neutral-100);

  /* Brand backgrounds */
  --bg-brand: var(--color-brand-green);
  --bg-brand-light: #008a42;
  --bg-brand-dark: #006a32;
  --bg-green-dark: var(--color-green-dark);
  --bg-green-light: var(--color-green-light);

  /* ============================================ */
  /* TEXT COLORS */
  /* ============================================ */

  /* Light text on dark backgrounds */
  --text-primary: #ffffff;
  --text-secondary: var(--color-neutral-300);
  --text-tertiary: var(--color-neutral-400);
  --text-light: var(--color-neutral-500);
  --text-lighter: var(--color-neutral-600);
  --text-inverse: var(--color-neutral-900);

  /* Dark text on light backgrounds */
  --text-dark-primary: var(--color-neutral-900);
  --text-dark-secondary: var(--color-neutral-600);
  --text-dark-tertiary: var(--color-neutral-500);

  /* ============================================ */
  /* BORDER COLORS */
  /* ============================================ */

  --border-primary: var(--color-neutral-700);
  --border-secondary: var(--color-neutral-600);
  --border-dark: var(--color-neutral-500);
  --border-light: var(--color-neutral-200);
  --border-brand-green: var(--color-brand-green);
  --border-brand-orange: var(--color-brand-orange);

  /* ============================================ */
  /* ACCENT COLORS */
  /* ============================================ */

  --accent-green: var(--color-brand-green);
  --accent-green-light: #34d399;
  --accent-green-dark: #047857;

  --accent-orange: var(--color-brand-orange);
  --accent-orange-light: #fb923c;
  --accent-orange-dark: #c2410c;

  --accent-gray: var(--color-brand-gray);
  --accent-gray-light: #9ca3af;
  --accent-gray-dark: #374151;

  --accent-blue: var(--color-secondary-600);
  --accent-blue-light: var(--color-secondary-500);
  --accent-yellow: #ffc107;
}

/* ============================================ */
/* TYPOGRAPHY */
/* ============================================ */

/* Font Families */
:root {
  --font-family-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

/* Font Sizes - Based on 16px base */
:root {
  --text-display-xs: clamp(1.5rem, 0.875rem + 2.5vw, 2rem);
  --text-display-sm: clamp(1.875rem, 1rem + 2.5vw, 2.25rem);
  --text-display-m: clamp(2.25rem, 1.125rem + 3.75vw, 2.5rem);
  --text-display-l: clamp(3rem, 1.5rem + 5vw, 4rem);
  --text-display-xl: clamp(3.75rem, 1.875rem + 5vw, 4.5rem);

  --text-heading-xs: clamp(1.25rem, 0.875rem + 1.25vw, 1.5rem);
  --text-heading-sm: clamp(1.5rem, 1rem + 1.25vw, 1.75rem);
  --text-heading-m: clamp(1.875rem, 1.125rem + 1.875vw, 2rem);
  --text-heading-l: clamp(2.25rem, 1.25rem + 2.5vw, 2.5rem);

  --text-body-xs: 0.75rem; /* 12px */
  --text-body-sm: 0.875rem; /* 14px */
  --text-body-m: 1rem; /* 16px */
  --text-body-l: 1.125rem; /* 18px */
  --text-body-xl: 1.25rem; /* 20px */

  --text-caption: 0.625rem; /* 10px */
  --text-label: 0.75rem; /* 12px */
}

/* Font Weights */
:root {
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
}

/* Line Heights */
:root {
  --line-height-tight: 1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
}

/* Letter Spacing */
:root {
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  --letter-spacing-widest: 0.1em;
}

/* ============================================ */
/* SPACING */
/* ============================================ */

:root {
  /* Base unit: 4px */
  --spacing-0: 0;
  --spacing-px: 1px;
  --spacing-xs: 0.125rem; /* 2px */
  --spacing-1: 0.25rem; /* 4px */
  --spacing-s: 0.375rem; /* 6px */
  --spacing-2: 0.5rem; /* 8px */
  --spacing-m: 0.625rem; /* 10px */
  --spacing-3: 0.75rem; /* 12px */
  --spacing-l: 0.875rem; /* 14px */
  --spacing-4: 1rem; /* 16px */
  --spacing-5: 1.25rem; /* 20px */
  --spacing-6: 1.5rem; /* 24px */
  --spacing-7: 1.75rem; /* 28px */
  --spacing-8: 2rem; /* 32px */
  --spacing-9: 2.25rem; /* 36px */
  --spacing-10: 2.5rem; /* 40px */
  --spacing-11: 2.75rem; /* 44px */
  --spacing-12: 3rem; /* 48px */
  --spacing-14: 3.5rem; /* 56px */
  --spacing-16: 4rem; /* 64px */
  --spacing-20: 5rem; /* 80px */
  --spacing-24: 6rem; /* 96px */
  --spacing-28: 7rem; /* 112px */
  --spacing-32: 8rem; /* 128px */
  --spacing-36: 9rem; /* 144px */
  --spacing-40: 10rem; /* 160px */
  --spacing-44: 11rem; /* 176px */
  --spacing-48: 12rem; /* 192px */
  --spacing-52: 13rem; /* 208px */
  --spacing-56: 14rem; /* 224px */
  --spacing-60: 15rem; /* 240px */
  --spacing-64: 16rem; /* 256px */
}

/* ============================================ */
/* BORDER RADIUS */
/* ============================================ */

:root {
  --radius-none: 0;
  --radius-sm: 0.125rem; /* 2px */
  --radius-m: 0.25rem; /* 4px */
  --radius-l: 0.375rem; /* 6px */
  --radius-xl: 0.5rem; /* 8px */
  --radius-2xl: 0.75rem; /* 12px */
  --radius-3xl: 1rem; /* 16px */
  --radius-full: 9999px;
}

/* ============================================ */
/* SHADOWS */
/* ============================================ */

:root {
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-m: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-l: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 24px 38px -10px rgb(0 0 0 / 0.25);

  --shadow-green-sm: 0 1px 2px 0 rgba(0, 166, 81, 0.05);
  --shadow-green-m: 0 4px 6px -1px rgba(0, 166, 81, 0.1);
  --shadow-green-l: 0 10px 15px -3px rgba(0, 166, 81, 0.15);

  --shadow-orange-sm: 0 1px 2px 0 rgba(255, 140, 0, 0.05);
  --shadow-orange-m: 0 4px 6px -1px rgba(255, 140, 0, 0.1);
  --shadow-orange-l: 0 10px 15px -3px rgba(255, 140, 0, 0.15);
}

/* ============================================ */
/* TRANSITIONS */
/* ============================================ */

:root {
  --transition-fast: 100ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 400ms ease;

  --transition-colors: 150ms ease-in-out;
  --transition-opacity: 150ms ease-in-out;
  --transition-transform: 200ms ease-in-out;
  --transition-all: 200ms ease-in-out;
}

/* ============================================ */
/* Z-INDEX SCALE */
/* ============================================ */

:root {
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;
  --z-max: 9999;
}

/* ============================================ */
/* LAYOUT */
/* ============================================ */

:root {
  --header-height: 80px;
  --topbar-height: 40px;
  --footer-height: 70px;
  --sidebar-width: 240px;
  --container-max: 1440px;
  --container-padding: 1rem;
}

/* ============================================ */
/* BASE STYLES */
/* ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-sans);
  font-size: 16px;
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-dark);
}

/* Remove default focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Remove default button styles */
button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}

/* Remove default input styles */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
}

/* Remove default link styles */
a {
  color: inherit;
  text-decoration: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-neutral-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-neutral-300);
  border-radius: var(--radius-full);
}@media (hover: hover) {
  
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-neutral-400);
  }
}

/* Selection styling */
::selection {
  background-color: var(--color-brand-green);
  color: var(--color-neutral-900);
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-brand-green);
  color: white;
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */

/* Text utilities */
.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-tertiary {
  color: var(--text-tertiary);
}
.text-light {
  color: var(--text-light);
}
.text-inverse {
  color: var(--text-inverse);
}

/* Background utilities */
.bg-primary {
  background-color: var(--bg-primary);
}
.bg-secondary {
  background-color: var(--bg-secondary);
}
.bg-tertiary {
  background-color: var(--bg-tertiary);
}
.bg-dark {
  background-color: var(--bg-dark);
}
.bg-darker {
  background-color: var(--bg-darker);
}
.bg-light {
  background-color: var(--bg-light);
}
.bg-lighter {
  background-color: var(--bg-lighter);
}
.bg-white {
  background-color: white;
}

/* Text color utilities */
.text-white {
  color: white;
}
.text-black {
  color: black;
}
.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-tertiary {
  color: var(--text-tertiary);
}
.text-dark {
  color: var(--text-dark-primary);
}
.text-dark-primary {
  color: var(--text-dark-primary);
}
.text-dark-secondary {
  color: var(--text-dark-secondary);
}
.text-dark-tertiary {
  color: var(--text-dark-tertiary);
}

/* Brand Color utilities - Green */
.text-brand-green {
  color: var(--color-brand-green);
}
.text-brand-green-400 {
  color: var(--color-brand-green-400);
}
.text-brand-green-500 {
  color: var(--color-brand-green-500);
}
.text-brand-green-600 {
  color: var(--color-brand-green-600);
}

/* Brand Color utilities - Orange */
.text-brand-orange {
  color: var(--color-brand-orange);
}
.text-brand-orange-400 {
  color: var(--color-brand-orange-400);
}
.text-brand-orange-500 {
  color: var(--color-brand-orange-500);
}

/* Brand Color utilities - Gray */
.text-brand-gray {
  color: var(--color-brand-gray);
}

/* Text size utilities */
.text-xs {
  font-size: var(--text-body-xs);
}
.text-body-xs {
  font-size: var(--text-body-xs);
}
.text-body-sm {
  font-size: var(--text-body-sm);
}
.text-body-m {
  font-size: var(--text-body-m);
}
.text-body-l {
  font-size: var(--text-body-l);
}
.text-body-xl {
  font-size: var(--text-body-xl);
}
.text-caption {
  font-size: var(--text-caption);
}

/* Font weight utilities */
.font-black {
  font-weight: var(--font-weight-black);
}

/* Background opacity for primary-800 */
.bg-primary-800\/50 {
  background-color: rgba(180, 83, 9, 0.5);
}

/* Accent utilities */
.bg-brand-green {
  background-color: var(--accent-green);
}
.bg-brand-green-pure {
  background-color: var(--color-brand-green);
}
.bg-brand-green-500 {
  background-color: var(--color-brand-green-500);
}
.bg-brand-green-600 {
  background-color: var(--color-brand-green-600);
}
.text-brand-green {
  color: var(--accent-green);
}

.bg-brand-orange {
  background-color: var(--accent-orange);
}
.bg-brand-orange-pure {
  background-color: var(--color-brand-orange);
}
.bg-brand-orange-500 {
  background-color: var(--color-brand-orange-500);
}
.text-brand-orange {
  color: var(--accent-orange);
}

/* Gray utilities */
.bg-brand-gray {
  background-color: var(--color-brand-gray);
}
.text-brand-gray {
  color: var(--color-brand-gray);
}

/* Green utilities */
.bg-green-dark {
  background-color: var(--color-green-dark);
}
.bg-green-darker {
  background-color: var(--color-green-darker);
}
.bg-green-light {
  background-color: var(--color-green-light);
}
.text-green-dark {
  color: var(--color-green-dark);
}

/* Blue utilities */
.text-blue {
  color: var(--accent-blue);
}
.bg-blue {
  background-color: var(--accent-blue);
}

/* Yellow utility */
.bg-yellow {
  background-color: var(--accent-yellow);
}
.text-yellow {
  color: var(--accent-yellow);
}

/* Background opacity utilities */
.bg-primary-600 {
  background-color: var(--color-brand-green-600);
}
.bg-primary-700 {
  background-color: var(--color-brand-green-700);
}
.bg-primary-800\/20 {
  background-color: rgba(6, 95, 70, 0.2);
}
.bg-primary-800\/30 {
  background-color: rgba(26, 61, 46, 0.3);
}
.bg-primary-900 {
  background-color: var(--color-brand-green-900);
}
.bg-primary-800 {
  background-color: var(--color-brand-green-800);
}

.bg-brand-green\/10 {
  background-color: rgba(0, 166, 81, 0.1);
}
.bg-brand-green\/20 {
  background-color: rgba(0, 166, 81, 0.2);
}
.bg-brand-green\/30 {
  background-color: rgba(0, 166, 81, 0.3);
}
.bg-brand-green-900\/50 {
  background-color: rgba(6, 78, 59, 0.5);
}

/* Amber/Warning opacity utilities - for barrage rows */
.bg-amber-900\/20 {
  background-color: rgba(120, 53, 15, 0.2);
}

/* Red/Danger opacity utilities - for relegated rows */
.bg-red-900\/20 {
  background-color: rgba(127, 29, 29, 0.2);
}

/* Classification table row hover and transition */
.bg-primary-800\/20,
.bg-amber-900\/20,
.bg-red-900\/20 {
  transition: background-color var(--transition-colors);
}@media (hover: hover) {
  
  
  .bg-primary-800\/20:hover,
  .bg-amber-900\/20:hover,
  .bg-red-900\/20:hover {
    background-color: rgba(26, 61, 46, 0.3) !important;
  }
}

/* Text colors for brand palette */
.text-brand-green-300 {
  color: var(--color-brand-green-300);
}
.text-brand-green-400 {
  color: var(--color-brand-green-400);
}
.text-brand-green-700 {
  color: var(--color-brand-green-700);
}

/* Success/Green text and background colors */
.text-green-600 {
  color: var(--color-success-600);
}
.bg-green-600 {
  background-color: var(--color-success-600);
}

/* Danger/Red text and background colors */
.text-red-600 {
  color: var(--color-danger-600);
}
.bg-red-600 {
  background-color: var(--color-danger-600);
}

/* Gray/Neutral background colors */
.bg-gray-500 {
  background-color: var(--color-neutral-500);
}
.bg-neutral-50 {
  background-color: var(--color-neutral-50);
}
.bg-neutral-200 {
  background-color: var(--color-neutral-200);
}
.border-neutral-200 {
  border-color: var(--color-neutral-200);
}

/* Border utilities */
.border {
  border-width: 1px;
  border-style: solid;
}

/* Border colors */
.border-green-700 {
  border-color: var(--color-brand-green-700);
}
.border-primary-700\/50 {
  border-color: rgba(6, 78, 59, 0.5);
}@media (hover: hover) {
  
  
  /* Hover text color utilities */
  .hover\:text-green-dark:hover {
    color: var(--color-brand-green);
  }
}

/* Gradient utilities */
.bg-gradient-to-r {
  background: linear-gradient(to right, var(--color-brand-green-800), var(--color-brand-green-900));
}

.bg-gradient-brand {
  background: linear-gradient(135deg, var(--color-brand-green), var(--color-brand-orange));
}

.bg-gradient-green-to-black {
  background: linear-gradient(to right, var(--color-brand-green), var(--bg-dark));
}

/* Spacing utilities */
.mt-4 {
  margin-top: var(--spacing-4);
}
.mb-4 {
  margin-bottom: var(--spacing-4);
}
.py-4 {
  padding-top: var(--spacing-4);
  padding-bottom: var(--spacing-4);
}

/* Layout utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Display utilities */
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.block {
  display: block;
}

/* Flex direction utilities */
.flex-row {
  flex-direction: row;
}

/* Align items utilities */
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}

/* Justify content utilities */
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}

/* Text alignment utilities */
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

/* Overflow utilities */
.overflow-x-auto {
  overflow-x: auto;
}

/* Rounded utilities */
.rounded-lg {
  border-radius: var(--radius-xl);
}
.rounded-sm {
  border-radius: var(--radius-sm);
}
.rounded-full {
  border-radius: var(--radius-full);
}

/* Width utilities */
.w-full {
  width: 100%;
}
.w-4 {
  width: var(--spacing-4);
}
.w-16 {
  width: var(--spacing-16);
}
.w-24 {
  width: var(--spacing-24);
}
.min-w-\[200px\] {
  min-width: 200px;
}

/* Height utilities */
.h-4 {
  height: var(--spacing-4);
}

/* Spacing utilities */
.mb-4 {
  margin-bottom: var(--spacing-4);
}
.mt-4 {
  margin-top: var(--spacing-4);
}
.py-3 {
  padding-top: var(--spacing-3);
  padding-bottom: var(--spacing-3);
}
.px-4 {
  padding-left: var(--spacing-4);
  padding-right: var(--spacing-4);
}
.gap-1 {
  gap: var(--spacing-1);
}
.gap-2 {
  gap: var(--spacing-2);
}
.gap-6 {
  gap: var(--spacing-6);
}

/* Text transform utilities */
.uppercase {
  text-transform: uppercase;
}
.tracking-wide {
  letter-spacing: var(--letter-spacing-wide);
}
.tracking-wider {
  letter-spacing: var(--letter-spacing-wider);
}

/* Font weight utilities */
.font-bold {
  font-weight: var(--font-weight-bold);
}
.font-medium {
  font-weight: var(--font-weight-medium);
}
.font-semibold {
  font-weight: var(--font-weight-semibold);
}

/* Transition utilities */
.transition-colors {
  transition:
    color var(--transition-colors),
    background-color var(--transition-colors);
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.animate-fade-in {
  animation: fadeIn var(--transition-normal);
}

.animate-slide-in {
  animation: slideIn var(--transition-normal);
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-bounce {
  animation: bounce 1s ease-in-out infinite;
}

/* ============================================ */
/* RESPONSIVE BREAKPOINTS */
/* ============================================ */

/* Mobile First Approach */
@media (min-width: 640px) {
  :root {
    --container-padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 2.5rem;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a,
  a:visited {
    color: var(--color-brand-green-700);
    text-decoration: underline;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: more) {
  :root {
    --text-primary: var(--color-neutral-950);
    --text-secondary: var(--color-neutral-800);
    --border-primary: var(--color-neutral-400);
  }
}

/* Dark mode (if needed in the future) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: var(--color-neutral-950);
    --bg-secondary: var(--color-neutral-900);
    --bg-tertiary: var(--color-neutral-800);
    --text-primary: var(--color-neutral-50);
    --text-secondary: var(--color-neutral-300);
    --text-tertiary: var(--color-neutral-400);
    --border-primary: var(--color-neutral-700);
  }
}

/* ============================================
   IMPORT RESPONSIVE STYLES
   ============================================ */
