/* ============================================================================
   Coach Hassan Baghar — V2 Moroccan Athletic & Editorial Design System
   Sharp architectural geometry, kinetic sporting energy, zero AI clichés
   ============================================================================ */
:root {
  /* Core Brand Palette */
  --navy-deep: #10243A;
  --navy-dark: #0B1726;
  --navy-surface: #132942;
  --teal: #1D7A78;
  --teal-hover: #155E5C;
  --teal-soft: rgba(29, 122, 120, 0.09);
  --gold: #C5A46D;
  --gold-bright: #DCBE8A;
  --gold-line: rgba(197, 164, 109, 0.34);
  --crimson-accent: #9E2A2B; /* Subtle Moroccan sporting pride spark */
  --ivory: #F7F6F2;
  --stone: #ECE9E1;
  --white: #FFFFFF;
  --text-body: #4B5563;
  --text-strong: #0B1726;
  --text-muted: #6B7280;
  --line-light: #DFDCD3;
  --line-strong: #C9C5B9;

  /* Status Indicators */
  --status-pending-bg: #FEF6E7;
  --status-pending-fg: #925E0E;
  --status-approved-bg: #E6F4F3;
  --status-approved-fg: #125856;
  --status-reschedule-bg: #EEF2FF;
  --status-reschedule-fg: #3730A3;
  --status-rejected-bg: #FEF2F2;
  --status-rejected-fg: #991B1B;
  --status-completed-bg: #ECFDF5;
  --status-completed-fg: #065F46;
  --status-cancelled-bg: #F3F4F6;
  --status-cancelled-fg: #4B5563;

  /* Typography */
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --font-fr: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sharp Athletic Geometry (no mushy bubble corners) */
  --container-max: 1260px;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;

  --shadow-subtle: 0 2px 8px rgba(11, 23, 38, 0.04);
  --shadow-card: 0 14px 34px rgba(11, 23, 38, 0.08);
  --shadow-hero: 0 26px 60px rgba(4, 10, 18, 0.45);
  --ease-athletic: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.76;
}

html[lang="fr"] body {
  font-family: var(--font-fr);
  line-height: 1.62;
}

body {
  margin: 0;
  background-color: var(--ivory);
  color: var(--text-body);
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

[dir="rtl"] .icon-dir {
  transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
