/* ==========================================================================
   SportsLife - Master Stylesheet (Premium Sports Tech Design System)
   Eye-Catching, Colorful, Dynamic Sports Aesthetics with Vibrant Accents
   ========================================================================== */

:root {
  /* Brand Navy Spectrum */
  --navy-950: #070c18;
  --navy-900: #0f172a;
  --navy-850: #141f36;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --navy-600: #475569;
  --navy-500: #64748b;
  --navy-400: #94a3b8;
  --navy-300: #cbd5e1;
  --navy-200: #e2e8f0;
  --navy-100: #f1f5f9;
  --navy-50:  #f8fafc;

  /* Vibrant Sports Accent Colors */
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  /* Electric Blue (Agility & Speed) */
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #38bdf8;
  --blue-50:  #eff6ff;

  /* Fiery Orange & Coral (Energy & Live Action) */
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-50:  #fff7ed;

  /* Championship Gold & Amber (Trophies & Badges) */
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fde68a;
  --gold-50:  #fefce8;

  /* Live Match Crimson */
  --red-600: #dc2626;
  --red-500: #ef4444;
  --red-400: #f87171;
  --red-50:  #fef2f2;

  /* Commercial Purple (Sponsors & Grants) */
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-50:  #f5f3ff;

  /* Neon Lime Accent */
  --lime-500: #84cc16;
  --lime-400: #a3e635;

  /* Surfaces & Shadows */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-glow-emerald: 0 8px 24px -4px rgba(16, 185, 129, 0.35);
  --shadow-glow-orange:  0 8px 24px -4px rgba(249, 115, 22, 0.35);
  --shadow-glow-blue:    0 8px 24px -4px rgba(37, 99, 235, 0.35);
  --shadow-glow-purple:  0 8px 24px -4px rgba(139, 92, 246, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--navy-800);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); }
h5, h6 { font-size: 1rem; }

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

button, input, select, textarea {
  font: inherit;
}

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

/* ==========================================================================
   Typography & Color Gradients
   ========================================================================== */

.gradient-text-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-orange {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Layout & Grid Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.w-full { width: 100%; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-navy { color: var(--navy-900); }
.text-muted { color: var(--navy-500); }
.text-emerald { color: var(--emerald-600); }
.text-orange { color: var(--orange-500); }
.text-blue { color: var(--blue-500); }
.text-amber { color: var(--gold-500); }
.text-red { color: var(--red-600); }
.text-purple { color: var(--purple-500); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.site-header .container {
  max-width: 100% !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  width: 100%;
}

.header-inner > nav {
  display: none !important;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy-900);
  letter-spacing: -0.025em;
}

.brand-icon-box {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-glow-emerald);
  position: relative;
  overflow: hidden;
}

.brand-icon-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(45deg);
}

.brand-icon-box svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
}

.brand-logo span.accent {
  color: var(--emerald-500);
}

/* Top Header Horizontal Menu - Replaced by Sidebar Menu */
.nav-links {
  display: none !important;
}

/* ==========================================================================
   Global App Sidebar Menu (Modern Sports Tech Design)
   Replaces top header menu with full-featured vertical sidebar
   ========================================================================== */

.app-sidebar {
  position: fixed;
  top: 74px;
  left: 0;
  bottom: 0;
  width: 270px;
  background: linear-gradient(180deg, #070c18 0%, #0c1527 50%, #070d1a 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  color: #ffffff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.35);
}

/* Custom Scrollbar for Sidebar */
.app-sidebar::-webkit-scrollbar {
  width: 5px;
}
.app-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.app-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

/* Sidebar Brand Header */
.app-sidebar-header {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
}

.app-sidebar-brand span {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.app-sidebar-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.app-sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Sidebar User Status Card */
.app-sidebar-user {
  margin: 1rem 1rem 0.5rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.app-sidebar-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--emerald-500);
  object-fit: cover;
  flex-shrink: 0;
}

.app-sidebar-user-info {
  flex: 1;
  overflow: hidden;
}

.app-sidebar-user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-sidebar-user-role {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--emerald-400);
  letter-spacing: 0.04em;
}

/* Sidebar Navigation Menu Links */
.app-sidebar-nav {
  padding: 0.75rem 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.app-sidebar-category {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 1rem 0.75rem 0.35rem;
}

.app-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.18s ease;
  position: relative;
}

.app-sidebar-link svg,
.app-sidebar-link .nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #94a3b8;
  transition: color 0.18s ease;
}

.app-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateX(3px);
}

.app-sidebar-link:hover svg,
.app-sidebar-link:hover .nav-icon {
  color: var(--emerald-400);
}

.app-sidebar-link.active {
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-500) 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.app-sidebar-link.active svg,
.app-sidebar-link.active .nav-icon {
  color: #ffffff;
}

.app-sidebar-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.app-sidebar-link.active .app-sidebar-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

/* Sidebar Footer & Quick Role Switcher */
.app-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.app-sidebar-footer-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.app-sidebar-role-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.app-sidebar-role-btn {
  padding: 0.3rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s;
}

.app-sidebar-role-btn:hover,
.app-sidebar-role-btn.active {
  background: var(--emerald-600);
  border-color: var(--emerald-500);
  color: #ffffff;
}

/* Sidebar Toggle Hamburger Button in Header */
.sidebar-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  margin-right: 0.75rem;
}

.sidebar-toggle-btn:hover {
  background: var(--navy-50);
  border-color: var(--emerald-500);
  color: var(--emerald-600);
}

/* Backdrop for Mobile Sidebar */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 24, 0.7);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sidebar-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Desktop Layout with Fixed Sidebar
   ========================================================================== */

/* Pages with No Sidebar (e.g. login.html, register.html, presentation.html) */
body.auth-page,
body.no-sidebar {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.auth-page .site-header,
body.no-sidebar .site-header {
  width: 100% !important;
  left: 0 !important;
}

body.auth-page .app-sidebar,
body.no-sidebar .app-sidebar,
body.auth-page .sidebar-toggle-btn,
body.no-sidebar .sidebar-toggle-btn,
body.auth-page .sidebar-backdrop,
body.no-sidebar .sidebar-backdrop {
  display: none !important;
}

@media (min-width: 1025px) {
  body:not(.no-sidebar):not(.auth-page) {
    padding-left: 0 !important;
  }

  /* Full Width Edge-to-Edge Top Navigation Bar */
  .site-header {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
  }

  .site-header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin: 0 !important;
  }

  .header-inner {
    width: 100% !important;
    max-width: 100% !important;
  }

  .app-sidebar-header {
    display: none !important;
  }

  /* Content offset below full-width header to accommodate sidebar */
  body:not(.no-sidebar):not(.auth-page):not(.sidebar-collapsed) > main,
  body:not(.no-sidebar):not(.auth-page):not(.sidebar-collapsed) > .dashboard-layout,
  body:not(.no-sidebar):not(.auth-page):not(.sidebar-collapsed) > section,
  body:not(.no-sidebar):not(.auth-page):not(.sidebar-collapsed) > div:not(.sidebar-backdrop):not(#toast-container):not(.modal-overlay):not(.app-sidebar),
  body:not(.no-sidebar):not(.auth-page):not(.sidebar-collapsed) > footer {
    margin-left: 270px !important;
    transition: margin-left 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.sidebar-collapsed > main,
  body.sidebar-collapsed > .dashboard-layout,
  body.sidebar-collapsed > section,
  body.sidebar-collapsed > div:not(.sidebar-backdrop):not(#toast-container):not(.modal-overlay):not(.app-sidebar),
  body.sidebar-collapsed > footer {
    margin-left: 80px !important;
    transition: margin-left 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.sidebar-collapsed .app-sidebar {
    width: 80px;
  }

  body.sidebar-collapsed .app-sidebar-brand span,
  body.sidebar-collapsed .app-sidebar-category,
  body.sidebar-collapsed .app-sidebar-user-info,
  body.sidebar-collapsed .app-sidebar-link span:not(.nav-icon),
  body.sidebar-collapsed .app-sidebar-badge,
  body.sidebar-collapsed .app-sidebar-footer {
    display: none !important;
  }

  body.sidebar-collapsed .app-sidebar-link {
    justify-content: center;
    padding: 0.75rem;
  }

  body.sidebar-collapsed .app-sidebar-user {
    justify-content: center;
    padding: 0.5rem;
  }
}

/* Mobile & Tablet Sidebar Off-Canvas */
@media (max-width: 1024px) {
  body {
    padding-left: 0 !important;
  }

  .site-header {
    width: 100% !important;
    left: 0 !important;
  }

  .app-sidebar {
    transform: translateX(-100%);
    width: 285px;
  }

  .app-sidebar.open {
    transform: translateX(0);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto !important;
}

/* User Profile & Demo Switcher in Header */
.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.user-profile-btn:hover {
  border-color: var(--emerald-400);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-500);
}

.user-meta-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
}

.user-meta-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--emerald-600);
  letter-spacing: 0.05em;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 270px;
  padding: 0.65rem;
  display: none;
  z-index: 50;
  animation: slideUp 0.18s ease-out;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--navy-100);
  margin-bottom: 0.4rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--navy-700);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s;
  cursor: pointer;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
}

.dropdown-item:hover {
  background: var(--navy-50);
  color: var(--navy-900);
}

.dropdown-item.text-danger {
  color: var(--red-600);
}

.dropdown-item.text-danger:hover {
  background: var(--red-50);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--navy-100);
  margin: 0.4rem 0;
}

.role-switcher-box {
  background: linear-gradient(135deg, var(--navy-50) 0%, #edf4fc 100%);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  margin: 0.5rem 0;
}

.role-switcher-box p {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-600);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.role-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.role-chip {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--navy-800);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s;
}

.role-chip:hover, .role-chip.active {
  background: var(--emerald-500);
  color: #ffffff;
  border-color: var(--emerald-500);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  line-height: 1.25;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--navy-900) 0%, #1e293b 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-secondary:hover {
  background: #0f172a;
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-color);
  color: var(--navy-800);
}

.btn-outline:hover {
  border-color: var(--emerald-500);
  background: var(--emerald-50);
  color: var(--emerald-600);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: #b91c1c;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Badges & Sport Tags (Vibrant Sport Themes)
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.badge-emerald {
  background: linear-gradient(135deg, var(--emerald-100) 0%, #a7f3d0 100%);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.badge-orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.badge-amber {
  background: linear-gradient(135deg, #fefce8 0%, #fef08a 100%);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-red {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-purple {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #6d28d9;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-navy {
  background: var(--navy-900);
  color: #ffffff;
}

/* Pulsing Live Badge */
.badge-live {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  position: relative;
}

.badge-live::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseLive 1.4s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* ==========================================================================
   Cards & Layout Components
   ========================================================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body {
  padding: 1.5rem;
}

/* Stat Cards */
.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-400);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon.emerald {
  background: linear-gradient(135deg, var(--emerald-50) 0%, #d1fae5 100%);
  color: var(--emerald-600);
}

.stat-icon.blue {
  background: linear-gradient(135deg, var(--blue-50) 0%, #dbeafe 100%);
  color: var(--blue-600);
}

.stat-icon.amber {
  background: linear-gradient(135deg, var(--gold-50) 0%, #fef08a 100%);
  color: var(--gold-500);
}

.stat-icon.purple {
  background: linear-gradient(135deg, var(--purple-50) 0%, #ede9fe 100%);
  color: var(--purple-600);
}

.stat-title {
  font-size: 0.775rem;
  font-weight: 800;
  color: var(--navy-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.1;
  margin: 0.2rem 0;
}

.stat-change {
  font-size: 0.775rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   Data Tables & Grids
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.data-table th {
  background: linear-gradient(180deg, var(--navy-50) 0%, #edf2f7 100%);
  color: var(--navy-700);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--navy-100);
  color: var(--navy-800);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background-color 0.15s;
}

.data-table tbody tr:hover {
  background: #f8fafc;
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: var(--red-500);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--navy-900);
  font-size: 0.925rem;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.form-help {
  font-size: 0.75rem;
  color: var(--navy-500);
  margin-top: 0.35rem;
}

/* Filter Bar */
.filter-bar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.filter-input {
  min-width: 200px;
  flex: 1;
}

/* ==========================================================================
   Dashboard Shell Layout
   ========================================================================== */

.dashboard-layout {
  display: block;
  min-height: calc(100vh - 74px);
}

.dashboard-sidebar {
  display: none !important;
}

.sidebar-user-badge {
  background: linear-gradient(135deg, var(--navy-50) 0%, #edf4fc 100%);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--navy-200);
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.sidebar-menu-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 0.75rem 0.35rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: all 0.15s;
  border: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
}

.sidebar-link:hover {
  background: var(--navy-50);
  color: var(--emerald-600);
}

.sidebar-link.active {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.dashboard-main {
  flex: 1;
  padding: 2rem 2.25rem;
  overflow-y: auto;
  max-width: 1400px;
  min-width: 0;
}

.dashboard-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 12, 24, 0.75);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content.modal-lg {
  max-width: 840px;
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfcfe;
}

.modal-header h3 {
  font-size: 1.35rem;
  color: var(--navy-900);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--navy-400);
  line-height: 1;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.modal-close:hover {
  color: var(--navy-900);
  background: var(--navy-100);
}

.modal-body {
  padding: 1.75rem;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: var(--navy-50);
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.toast {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--emerald-500);
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  pointer-events: auto;
  animation: slideLeft 0.25s ease-out;
  min-width: 300px;
  max-width: 440px;
}

.toast.toast-error {
  border-left-color: var(--red-500);
}

.toast.toast-warning {
  border-left-color: var(--gold-500);
}

.toast.toast-info {
  border-left-color: var(--blue-500);
}

/* Tabs */
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.85rem 0.35rem;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--navy-900);
}

.tab-btn.active {
  color: var(--emerald-600);
  border-bottom-color: var(--emerald-600);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--navy-400);
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Animations & Sports Tech Effects */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(25px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.6); }
}

@keyframes shimmerEffect {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Image Zoom on Card Hover */
.card img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover img {
  transform: scale(1.05);
}

.player-card:hover,
.team-card:hover,
.ground-card:hover,
.tournament-card:hover,
.match-card:hover,
.sponsorship-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1024px) {
  .dashboard-sidebar {
    position: fixed;
    left: -290px;
    top: 74px;
    bottom: 0;
    z-index: 35;
    transition: left 0.25s ease;
    box-shadow: var(--shadow-xl);
  }
  .dashboard-sidebar.open {
    left: 0;
  }
  .dashboard-main {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE SYSTEM
   Mobile-first approach for all screens
   ========================================================================== */

/* ---- Tablet (max 1024px) ---- */
@media (max-width: 1024px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .header-inner {
    height: 64px;
  }

  .app-sidebar {
    top: 64px;
  }

  /* Stack grid columns on tablet */
  .grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Reduce section paddings */
  section[style*="padding: 4.5rem"],
  section[style*="padding: 3.5rem"] {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
  }

  .modal-content {
    max-width: 95vw;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-input {
    min-width: unset;
    width: 100%;
  }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-inner {
    height: 60px;
  }

  .brand-logo {
    font-size: 1.2rem;
  }

  .brand-icon-box {
    width: 34px;
    height: 34px;
  }

  /* Collapse all multi-column grids to single column */
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4,
  .md\:grid-cols-2,
  .md\:grid-cols-3,
  .md\:grid-cols-4,
  .lg\:grid-cols-2,
  .lg\:grid-cols-3,
  .lg\:grid-cols-4,
  .lg\:grid-cols-6,
  .sm\:grid-cols-2,
  .sm\:grid-cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  /* Stat cards: 2-col on mobile */
  .grid.grid-cols-1.md\:grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    padding: 1rem;
    gap: 0.9rem;
  }

  .stat-icon {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-title {
    font-size: 0.7rem;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .dashboard-main {
    padding: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .card-header {
    padding: 0.9rem 1rem;
  }

  /* Make tables scroll horizontally */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table th,
  .data-table td {
    padding: 0.7rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Stack flex rows */
  .flex.justify-between.items-center.flex-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Buttons full width on very small */
  .btn-lg {
    padding: 0.8rem 1.35rem;
    font-size: 0.95rem;
  }

  /* Modal adjustments */
  .modal-body {
    padding: 1.25rem;
  }

  .modal-header,
  .modal-footer {
    padding: 1rem 1.25rem;
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  /* Badge sizing */
  .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }

  /* Filter bar */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 1rem;
  }

  .filter-input {
    min-width: unset;
    width: 100%;
  }

  /* Hero sections — reduce vertical padding */
  section[style*="padding: 4.5rem"] {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
  }
  section[style*="padding: 3.5rem"] {
    padding-top: 1.75rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* Sidebar toggle visible on mobile */
  .sidebar-toggle-btn {
    display: flex !important;
  }

  /* User profile capsule — hide name on small screens */
  .user-meta-name,
  .user-meta-role {
    display: none;
  }

  .user-profile-btn {
    padding: 0.35rem 0.4rem;
  }

  /* Toast on mobile */
  #toast-container {
    bottom: 12px;
    right: 12px;
    left: 12px;
  }

  .toast {
    min-width: unset;
    max-width: 100%;
    font-size: 0.85rem;
  }

  /* App sidebar on mobile */
  .app-sidebar {
    top: 60px;
    width: 85vw;
    max-width: 300px;
  }

  /* Tab nav horizontal scroll */
  .tabs-nav {
    gap: 0.75rem;
    padding-bottom: 0.25rem;
  }

  .tab-btn {
    font-size: 0.85rem;
    padding: 0.65rem 0.25rem;
  }

  /* Login page two-column -> stacked */
  .grid.grid-cols-1.lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  /* Reduce heading sizes on mobile */
  .text-4xl { font-size: 1.65rem; }
  .text-5xl { font-size: 2rem; }
  .text-3xl { font-size: 1.4rem; }
  .text-2xl { font-size: 1.2rem; }

  /* Teams / players cards: maintain 2 columns on mobile */
  .player-card, .team-card, .ground-card {
    min-width: 0;
  }
}

/* ---- Small Mobile (max 480px) ---- */
@media (max-width: 480px) {
  /* Force 1 col for stat cards on very small screens */
  .grid.grid-cols-1.md\:grid-cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .brand-logo span:not(.accent) {
    display: inline;
  }

  .app-sidebar {
    width: 92vw;
  }

  .modal-content {
    border-radius: var(--radius-md);
  }

  .header-inner {
    height: 56px;
  }

  .app-sidebar {
    top: 56px;
  }
}

/* ---- Utility: max-w helpers ---- */
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Spacing Utilities ---- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.p-0 { padding: 0 !important; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.text-left { text-align: left; }
.hidden { display: none !important; }
.block { display: block; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ---- Print: clean page ---- */
@media print {
  .app-sidebar,
  .site-header,
  .sidebar-toggle-btn,
  .sidebar-backdrop,
  #toast-container {
    display: none !important;
  }
  .dashboard-main {
    margin-left: 0 !important;
    padding: 0;
  }
  body {
    background: white;
    color: black;
  }
}

