/* ============================================================================
   SPORTIX MASTER STYLESHEET
   Version: 1.0.0
   
   TABLE OF CONTENTS:
   1. CSS Variables (Root)
   2. Base Reset & Typography
   3. Layout Components
   4. Navigation & Sidebar
   5. Cards & Containers
   6. Buttons & Controls
   7. Forms & Inputs
   8. Tables & Lists
   9. Modals & Overlays
   10. Charts & Data Visualization
   11. Badges & Indicators
   12. Animations & Transitions
   13. Utility Classes
   14. Responsive Design
   ============================================================================ */

/* ============================================================================
   1. CSS VARIABLES (ROOT)
   Usage: Use these variables throughout your styles for consistency
   Example: color: var(--primary-color);
   ============================================================================ */
:root {
  /* Brand Colors - Primary palette for Sportix branding */
  --primary-color: #1E40AF;      /* Main brand color - used for headers, buttons, links */
  --primary-dark: #1e3a8a;        /* Darker shade for hover states */
  --primary-light: #3b82f6;       /* Lighter shade for backgrounds */
  
  /* Status Colors - For alerts, notifications, and status indicators */
  --success-color: #10B981;       /* Positive actions, success messages */
  --danger-color: #DC2626;        /* Errors, destructive actions */
  --warning-color: #F59E0B;       /* Warnings, caution messages */
  --info-color: #0EA5E9;          /* Informational messages */
  
  /* Neutral Colors - Grayscale for text, backgrounds, borders */
  --gray-50: #F9FAFB;             /* Lightest backgrounds */
  --gray-100: #F3F4F6;            /* Light backgrounds */
  --gray-200: #E5E7EB;            /* Borders, dividers */
  --gray-300: #D1D5DB;            /* Input borders */
  --gray-400: #9CA3AF;            /* Placeholder text */
  --gray-500: #6B7280;            /* Muted text */
  --gray-600: #4B5563;            /* Secondary text */
  --gray-700: #374151;            /* Primary text */
  --gray-800: #1F2937;            /* Dark text */
  --gray-900: #111827;            /* Darkest text, headings */
  
  /* Typography - Font settings */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 11px;           /* Smallest text, badges */
  --font-size-sm: 12px;           /* Small text, captions */
  --font-size-base: 14px;         /* Default body text */
  --font-size-lg: 16px;           /* Large body text */
  --font-size-xl: 18px;           /* Small headings */
  --font-size-2xl: 20px;          /* Medium headings */
  --font-size-3xl: 24px;          /* Large headings */
  --font-size-4xl: 28px;          /* Extra large headings */
  
  /* Spacing - Consistent spacing scale */
  --spacing-xs: 4px;              /* Tiny gaps */
  --spacing-sm: 8px;              /* Small gaps */
  --spacing-md: 12px;             /* Medium gaps */
  --spacing-lg: 16px;             /* Large gaps */
  --spacing-xl: 20px;             /* Extra large gaps */
  --spacing-2xl: 24px;            /* Huge gaps */
  --spacing-3xl: 32px;            /* Massive gaps */
  
  /* Border Radius - Rounded corners */
  --radius-sm: 4px;               /* Small elements */
  --radius-md: 6px;               /* Buttons, inputs */
  --radius-lg: 8px;               /* Cards */
  --radius-xl: 12px;              /* Large cards */
  --radius-full: 50%;             /* Circles */
  
  /* Shadows - Box shadows for depth */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Transitions - Animation timing */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Sidebar - Navigation dimensions */
  --sidebar-width: 240px;
  --sidebar-collapsed-width: 60px;
}

/* ============================================================================
   2. BASE RESET & TYPOGRAPHY
   Usage: Applied globally to normalize browser defaults
   ============================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* ============================================================================
   3. LAYOUT COMPONENTS
   Usage: Main layout structure for pages
   Example: <div class="main-container">...</div>
   ============================================================================ */

/* Main container that holds sidebar and content */
.main-container {
  display: flex;
  min-height: 100vh;
}

/* Main content area next to sidebar */
main {
  margin-left: 280px;
  width: calc(100% - 280px);
  background-color: #F5F5F5;
  min-height: 100vh;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  overflow-x: visible;
}

/* Content area class (alternative to main) */
.content-area {
  flex: 1;
  margin-left: 280px;
  padding: var(--spacing-3xl);
  transition: margin-left var(--transition-base);
}

/* Page header with title and actions */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-3xl);
}

.page-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-900);
}

/* Grid layouts */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

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

/* Special 70/30 layout for forms with preview */
.grid-70-30 {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: var(--spacing-xl);
}

/* ============================================================================
   4. NAVIGATION & SIDEBAR
   Usage: Left sidebar navigation - Universal styles from reports.html
   Example: <div id="sidebar">...</div>
   ============================================================================ */

/* Main sidebar container */
#sidebar {
  width: 280px;
  background-color: #2d2d2d;
  color: white;
  padding: 0;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  border-right: 1px solid #444;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  transition: left 0.3s ease;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
}

#sidebar * {
  pointer-events: auto;
}

/* App title / Logo section */
.app-title {
  font-family: 'Satoshi-Black', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 800;
  padding: 20px 25px;
  border-bottom: 1px solid #444;
  letter-spacing: 1.25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.app-title i {
  font-size: 24px;
  color: #fff;
  opacity: 0.9;
  transform: rotate(-15deg);
}

.sidebar-logo {
  width: auto;
  height: 55px;
  object-fit: contain;
}

/* Menu sections */
.menu-section {
  font-family: 'Satoshi-Bold', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  margin: 25px 30px 15px 30px;
  letter-spacing: 1.5px;
  position: relative;
  display: flex;
  align-items: center;
}

.menu-section::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #444;
  margin-left: 15px;
}

/* Navigation menu */
.nav-menu {
  list-style: none;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-family: 'Satoshi-Medium', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ccc;
  text-decoration: none;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  transition: background-color 0.2s, color 0.2s;
  font-size: 15px;
  font-weight: 500;
  pointer-events: auto;
  cursor: pointer;
}

.nav-menu a:hover {
  background-color: #3a3a3a;
  color: white;
}

.nav-menu li.active a {
  background-color: #1E40AF;
  color: white;
  width: 280px;
  color: white;
}

.nav-menu .icon {
  margin-right: 12px;
  font-size: 18px;
  width: 20px;
  display: inline-block;
}

/* Dropdown arrow for expandable items */
.dropdown-arrow {
  margin-left: auto;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-menu li.expanded .dropdown-arrow {
  transform: rotate(180deg);
}

.icon-sm{
  width: 20px;
    height: 20px;
    margin-right: 12px;
    vertical-align: middle;
}

/* Notification badges */
.notification-badge {
  background-color: #DC2626;
  color: white;
  font-size: 11px;
  font-family: 'Satoshi-Bold', sans-serif;
  border-radius: 10px;
  margin-left: 8px;
  min-width: 18px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.notification-dot {
  width: 8px;
  height: 8px;
  background-color: #DC2626;
  border-radius: 50%;
  display: inline-block;
  margin-left: auto;
  margin-right: 10px;
  flex-shrink: 0;
  aspect-ratio: 1;
}

/* Dropdown submenu */
.submenu {
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #252525;
}

.nav-menu li.expanded .submenu {
  max-height: 200px;
}

.submenu li a {
  padding-left: 60px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.submenu li.active a {
  background-color: #1E40AF;
  color: white;
}

/* User Section at bottom of sidebar */
.user-section {
  position: relative;
  border-top: 1px solid #444;
  background-color: #2d2d2d;
}

.user-profile {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.user-profile:hover {
  background-color: #3a3a3a;
}

.user-avatar {
  width: 36px;
  height: 36px;
  background-color: #5a5a5a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar i {
  font-size: 16px;
  color: #ccc;
}

.user-info {
  flex: 1;
}

.user-name {
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 14px;
  color: white;
  margin-bottom: 2px;
}

.user-email {
  font-family: 'Satoshi-Regular', sans-serif;
  font-size: 12px;
  color: #999;
}

.user-menu-arrow {
  font-size: 10px;
  color: #999;
  transition: transform 0.3s;
}

.user-section.active .user-menu-arrow {
  transform: rotate(180deg);
}

/* User dropdown menu */
.user-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #2d2d2d;
  border: 1px solid #444;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.user-section.active .user-dropdown {
  max-height: 250px;
  padding: 8px 0;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: #ccc;
  text-decoration: none;
  font-family: 'Satoshi-Regular', sans-serif;
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s;
}

.user-dropdown a:hover {
  background-color: #3a3a3a;
  color: white;
}

.user-dropdown a i {
  width: 16px;
  font-size: 14px;
}

.dropdown-divider {
  height: 1px;
  background-color: #444;
  margin: 8px 0;
}

.logout-link {
  color: #e74c3c !important;
}

.logout-link:hover {
  background-color: #3a3a3a;
  color: #ff6b6b !important;
}

/* ============================================================================
   5. CARDS & CONTAINERS
   Usage: Content containers with consistent styling
   Example: <div class="card">...</div>
   ============================================================================ */

/* Basic card */
.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
}

/* Chart container card */
.chart-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}


/* Stat cards for metrics display */


.stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.stat-card-compact {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}


.stat-label {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  font-weight: 600;
}

.stat-subtitle {
  font-size: var(--font-size-xs);
  color: var(--gray-500);
}

/* Pass cards for season passes, tickets */
.pass-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  cursor: pointer;
}

.pass-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pass-card-header {
  padding: var(--spacing-lg);
  color: white;
  text-align: center;
}

/* ============================================================================
   6. BUTTONS & CONTROLS
   Usage: Interactive elements
   Example: <button class="btn btn-primary">Click Me</button>
   ============================================================================ */

/* Base button styles */
.btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-family);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Button variants */
.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
}

.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-success {
  background: var(--success-color);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: #059669;
}

.btn-danger {
  background: var(--danger-color);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: #B91C1C;
}

.btn-warning {
  background: var(--warning-color);
  color: white;
}

/* Button sizes */
.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: var(--font-size-lg);
}

/* Filter button for charts/tables */
.filter-btn {
  padding: 8px 12px;
  border: 1px solid #e1e1e1;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  cursor: pointer;
  background: white;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

/* Icon buttons */
.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

/* ============================================================================
   7. FORMS & INPUTS
   Usage: Form elements and controls
   Example: <input class="form-input" type="text">
   ============================================================================ */

.form-group {
  margin-bottom: var(--spacing-xl);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-700);
}

.form-label.required::after {
  content: ' *';
  color: var(--danger-color);
}

/* Text inputs */
.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-input.error {
  border-color: var(--danger-color);
}

/* Textarea */
.form-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  resize: vertical;
  min-height: 100px;
}

/* Select dropdown */
.form-select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  background: white;
  cursor: pointer;
  font-family: var(--font-family);
}

/* Custom dropdown */
.custom-dropdown {
  position: relative;
}

.dropdown-button {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-base);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  margin-top: 4px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

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

.dropdown-item {
  padding: 10px 15px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--gray-50);
}

.dropdown-item.selected {
  background: var(--primary-color);
  color: white;
}

/* Checkboxes and radios */
.form-checkbox,
.form-radio {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"],
.form-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* File upload */
.file-upload {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  transition: var(--transition-fast);
}

.file-upload:hover .file-upload-label {
  border-color: var(--primary-color);
  background: white;
}

/* ============================================================================
   8. TABLES & LISTS
   Usage: Data display in tabular format
   Example: <table class="data-table">...</table>
   ============================================================================ */

.data-table {
  width: 100%;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.data-table thead {
  background: var(--gray-50);
}

.data-table th {
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: var(--spacing-md) var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

/* List styles */
.list-group {
  list-style: none;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.list-item {
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:hover {
  background: var(--gray-50);
}

/* ============================================================================
   9. MODALS & OVERLAYS
   Usage: Popup dialogs and overlays
   Example: <div class="modal">...</div>
   ============================================================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base);
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid #e1e1e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 20px;
  color: #2d2d2d;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: #f5f5f5;
  color: #2d2d2d;
}

.modal-body {
  padding: 24px;
  overflow: visible;
}

/* Filter Modal Styles */
.filter-section {
  margin-bottom: 24px;
}

.filter-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: #4b5563;
  background: white;
  font-family: 'Satoshi-Regular', sans-serif;
  cursor: pointer;
}




.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section-title {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 14px;
  color: #2d2d2d;
  margin-bottom: 12px;
}

.chart-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chart-type-option {
  cursor: pointer;
}

/* Hide the radio button circle */
.chart-type-option input[type="radio"] {
  display: none;
}

.chart-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  background: white;
  transition: all 0.2s ease;
  gap: 8px;
  user-select: none;
}

.chart-type-option input[type="radio"]:checked + .chart-type-card i, .chart-type-option input[type="radio"]:checked + .chart-type-card span {
  color: #1E40AF;
}

.chart-type-option input[type="radio"]:checked + .chart-type-card {
  border-color: #1E40AF;
  background-color: #F0F4FF;
}

.chart-type-card i {
  font-size: 24px;
  color: #666;
  margin-bottom: 4px;
}

.chart-type-card span {
  font-size: 14px;
  color: #666;
  font-family: 'Satoshi-Medium', sans-serif;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #e1e1e1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.modal-btn-primary {
  background-color: #1E40AF;
  color: white;
  border-color: #1E40AF;
}

.modal-btn.primary:hover {
  background-color: #1e3a8a;
}

.modal-btn.secondary {
  background-color: white;
  color: #2d2d2d;
}

.modal-btn.secondary:hover {
  background-color: #f5f5f5;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid #e1e1e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--gray-900);
}

.modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--gray-500);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--gray-700);
}

.modal-body {
  margin-bottom: var(--spacing-2xl);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-md);
}

/* Toast notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  min-width: 300px;
  z-index: 100000;
  animation: slideIn 0.3s ease;
}

.toast.success {
  border-left: 4px solid var(--success-color);
}

.toast.error {
  border-left: 4px solid var(--danger-color);
}

.toast.warning {
  border-left: 4px solid var(--warning-color);
}

.toast.info {
  border-left: 4px solid var(--info-color);
}

/* ============================================================================
   10. CHARTS & DATA VISUALIZATION
   Usage: Chart containers and tabs
   Example: <div class="chart-tabs">...</div>
   ============================================================================ */

.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}

.chart-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e1e1e1;
  margin-bottom: var(--spacing-xl);
}

.chart-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--gray-600);
  transition: var(--transition-fast);
}

.chart-tab:hover {
  color: var(--gray-800);
}

.chart-tab.active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.chart-legend {
  align-items: center;
  justify-content: center;
  font-family: 'Satoshi-Regular', sans-serif;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  flex-wrap: nowrap;
  width: 100%;
  scale: 115%;
}

.legend-item {
  display: inline-flex;
      align-items: center;
      white-space: nowrap;
      flex-shrink: 0;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-sm);
}


/* ============================================================================
   11. BADGES & INDICATORS
   Usage: Status indicators and notification badges
   Example: <span class="badge badge-success">Active</span>
   ============================================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-color);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

.badge-danger {
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger-color);
}

.badge-info {
  background: rgba(14, 165, 233, 0.1);
  color: var(--info-color);
}

/* Duplicate removed - using definition from sidebar section */

.notification-dot-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--danger-color);
  border-radius: var(--radius-full);
}

/* Indicator boxes for trends */
.indicator-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.indicator-box.positive {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.indicator-box.negative {
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger-color);
}

.indicator-box i {
  font-size: 10px;
}

/* ============================================================================
   12. ANIMATIONS & TRANSITIONS
   Usage: Reusable animations
   Example: class="fade-in"
   ============================================================================ */

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

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

.fade-out {
  animation: fadeOut var(--transition-base);
}

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

.slide-up {
  animation: slideUp var(--transition-base);
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

/* Skeleton loader for content placeholders */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

/* ============================================================================
   13. UTILITY CLASSES
   Usage: Quick styling helpers
   Example: class="text-center mb-3"
   ============================================================================ */

/* Display utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }

/* Flexbox utilities */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.flex-between {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.align-start { align-items: flex-start !important; }
.align-center { align-items: center !important; }
.align-end { align-items: flex-end !important; }
.justify-start { justify-content: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.flex-1 { flex: 1 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.gap-1 { gap: var(--spacing-xs) !important; }
.gap-2 { gap: var(--spacing-sm) !important; }
.gap-3 { gap: var(--spacing-md) !important; }
.gap-4 { gap: var(--spacing-lg) !important; }
.gap-5 { gap: var(--spacing-xl) !important; }

/* Margin utilities */
.m-0 { margin: 0 !important; }
.m-1 { margin: var(--spacing-xs) !important; }
.m-2 { margin: var(--spacing-sm) !important; }
.m-3 { margin: var(--spacing-md) !important; }
.m-4 { margin: var(--spacing-lg) !important; }
.m-5 { margin: var(--spacing-xl) !important; }
.m-auto { margin: auto !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--spacing-xs) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }
.mt-5 { margin-top: var(--spacing-xl) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }
.mb-5 { margin-bottom: var(--spacing-xl) !important; }

.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: var(--spacing-xs) !important; }
.ml-2 { margin-left: var(--spacing-sm) !important; }
.ml-3 { margin-left: var(--spacing-md) !important; }
.ml-4 { margin-left: var(--spacing-lg) !important; }
.ml-5 { margin-left: var(--spacing-xl) !important; }
.ml-auto { margin-left: auto !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: var(--spacing-xs) !important; }
.mr-2 { margin-right: var(--spacing-sm) !important; }
.mr-3 { margin-right: var(--spacing-md) !important; }
.mr-4 { margin-right: var(--spacing-lg) !important; }
.mr-5 { margin-right: var(--spacing-xl) !important; }
.mr-auto { margin-right: auto !important; }

.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: var(--spacing-xs) !important; margin-right: var(--spacing-xs) !important; }
.mx-2 { margin-left: var(--spacing-sm) !important; margin-right: var(--spacing-sm) !important; }
.mx-3 { margin-left: var(--spacing-md) !important; margin-right: var(--spacing-md) !important; }
.mx-4 { margin-left: var(--spacing-lg) !important; margin-right: var(--spacing-lg) !important; }
.mx-5 { margin-left: var(--spacing-xl) !important; margin-right: var(--spacing-xl) !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: var(--spacing-xs) !important; margin-bottom: var(--spacing-xs) !important; }
.my-2 { margin-top: var(--spacing-sm) !important; margin-bottom: var(--spacing-sm) !important; }
.my-3 { margin-top: var(--spacing-md) !important; margin-bottom: var(--spacing-md) !important; }
.my-4 { margin-top: var(--spacing-lg) !important; margin-bottom: var(--spacing-lg) !important; }
.my-5 { margin-top: var(--spacing-xl) !important; margin-bottom: var(--spacing-xl) !important; }

/* Padding utilities */
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--spacing-xs) !important; }
.p-2 { padding: var(--spacing-sm) !important; }
.p-3 { padding: var(--spacing-md) !important; }
.p-4 { padding: var(--spacing-lg) !important; }
.p-5 { padding: var(--spacing-xl) !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: var(--spacing-xs) !important; }
.pt-2 { padding-top: var(--spacing-sm) !important; }
.pt-3 { padding-top: var(--spacing-md) !important; }
.pt-4 { padding-top: var(--spacing-lg) !important; }
.pt-5 { padding-top: var(--spacing-xl) !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: var(--spacing-xs) !important; }
.pb-2 { padding-bottom: var(--spacing-sm) !important; }
.pb-3 { padding-bottom: var(--spacing-md) !important; }
.pb-4 { padding-bottom: var(--spacing-lg) !important; }
.pb-5 { padding-bottom: var(--spacing-xl) !important; }

.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: var(--spacing-xs) !important; }
.pl-2 { padding-left: var(--spacing-sm) !important; }
.pl-3 { padding-left: var(--spacing-md) !important; }
.pl-4 { padding-left: var(--spacing-lg) !important; }
.pl-5 { padding-left: var(--spacing-xl) !important; }

.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: var(--spacing-xs) !important; }
.pr-2 { padding-right: var(--spacing-sm) !important; }
.pr-3 { padding-right: var(--spacing-md) !important; }
.pr-4 { padding-right: var(--spacing-lg) !important; }
.pr-5 { padding-right: var(--spacing-xl) !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: var(--spacing-xs) !important; padding-right: var(--spacing-xs) !important; }
.px-2 { padding-left: var(--spacing-sm) !important; padding-right: var(--spacing-sm) !important; }
.px-3 { padding-left: var(--spacing-md) !important; padding-right: var(--spacing-md) !important; }
.px-4 { padding-left: var(--spacing-lg) !important; padding-right: var(--spacing-lg) !important; }
.px-5 { padding-left: var(--spacing-xl) !important; padding-right: var(--spacing-xl) !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: var(--spacing-xs) !important; padding-bottom: var(--spacing-xs) !important; }
.py-2 { padding-top: var(--spacing-sm) !important; padding-bottom: var(--spacing-sm) !important; }
.py-3 { padding-top: var(--spacing-md) !important; padding-bottom: var(--spacing-md) !important; }
.py-4 { padding-top: var(--spacing-lg) !important; padding-bottom: var(--spacing-lg) !important; }
.py-5 { padding-top: var(--spacing-xl) !important; padding-bottom: var(--spacing-xl) !important; }

/* Text utilities */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-white { color: white !important; }
.text-muted { color: var(--gray-500) !important; }
.text-dark { color: var(--gray-900) !important; }

.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

.text-xs { font-size: var(--font-size-xs) !important; }
.text-sm { font-size: var(--font-size-sm) !important; }
.text-base { font-size: var(--font-size-base) !important; }
.text-lg { font-size: var(--font-size-lg) !important; }
.text-xl { font-size: var(--font-size-xl) !important; }
.text-2xl { font-size: var(--font-size-2xl) !important; }
.text-3xl { font-size: var(--font-size-3xl) !important; }
.text-4xl { font-size: var(--font-size-4xl) !important; }

.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/* Background utilities */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }
.bg-white { background-color: white !important; }
.bg-gray-50 { background-color: var(--gray-50) !important; }
.bg-gray-100 { background-color: var(--gray-100) !important; }
.bg-gray-200 { background-color: var(--gray-200) !important; }
.bg-transparent { background-color: transparent !important; }

/* Border utilities */
.border { border: 1px solid var(--gray-300) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--gray-300) !important; }
.border-bottom { border-bottom: 1px solid var(--gray-300) !important; }
.border-left { border-left: 1px solid var(--gray-300) !important; }
.border-right { border-right: 1px solid var(--gray-300) !important; }

.border-primary { border-color: var(--primary-color) !important; }
.border-success { border-color: var(--success-color) !important; }
.border-danger { border-color: var(--danger-color) !important; }
.border-warning { border-color: var(--warning-color) !important; }

.rounded-0 { border-radius: 0 !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* Shadow utilities */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

/* Width utilities */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

/* Height utilities */
.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }
.h-screen { height: 100vh !important; }

/* Position utilities */
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }

/* Overflow utilities */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }

/* Cursor utilities */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.cursor-wait { cursor: wait !important; }
.cursor-move { cursor: move !important; }

/* Other utilities */
.opacity-0 { opacity: 0 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }
.z-auto { z-index: auto !important; }

/* ============================================================================
   14. RESPONSIVE DESIGN
   Usage: Mobile-first responsive breakpoints
   ============================================================================ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  z-index: 1001;
  width: 35px;
  height: 35px;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle i {
  font-size: 20px;
  color: white;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active i:before {
  content: "\f00d"; /* Font Awesome times icon */
}

/* Sidebar close button */
.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Mobile Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #1E40AF;
  color: white;
  z-index: 997;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.mobile-header-logo {
  height: 32px;
  width: auto;
}

.mobile-header-title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin: 0;
}

/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  
  /* Show mobile elements */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-header {
    display: flex;
  }
  
  .sidebar-close-btn {
    display: block;
  }
  
  /* Sidebar mobile behavior */
  #sidebar {
    position: fixed;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s ease;
  }
  
  #sidebar.active {
    left: 0;
  }
  
  /* Main content adjustments */
  main {
    margin-left: 0;
    width: 100%;
    padding: 56px 0px 20px;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .content-area {
    margin-left: 0;
    padding: var(--spacing-lg);
  }
  
  /* Welcome header adjustments */
  .welcome-header {
    padding: 15px;
    margin-top: 0;
  }
  
  .welcome-header h1 {
    font-size: 24px;
  }
  
  /* Overview section */
  .overview-section {
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  

  
  /* Grid layouts - stack on mobile */
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4,
  .grid-70-30 {
    grid-template-columns: 1fr;
  }
  
  .three-column-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
  }
  
  /* Dashboard container - stack vertically */
  .dashboard-container {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  
  .dashboard-container > * {
    margin-bottom: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Stats cards - 2 columns on mobile */
  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .stat-box h3 {
    font-size: 10px;
  }
  
  .stat-box .stat-value {
    font-size: 20px;
  }
  
  .stat-box .stat-change {
    font-size: 10px;
  }
  
  /* Modal adjustments */
  .modal-content {
    max-width: 95%;
    padding: var(--spacing-xl);
  }
  
  /* Table adjustments */
  .data-table {
    font-size: var(--font-size-sm);
  }
  
  /* Title adjustments */
  .page-title {
    font-size: var(--font-size-2xl);
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: var(--spacing-lg);
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet { display: none !important; }
  
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  .hide-desktop { display: none !important; }
  
  .mobile-menu-toggle {
    display: none;
  }
}

/* Large desktop styles */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .sidebar,
  .modal-overlay,
  .toast {
    display: none !important;
  }
  
  .content-area {
    margin: 0;
    padding: 0;
  }
  
  body {
    background: white;
  }
}

/* ============================================================================
   15. PAGE-SPECIFIC STYLES
   Usage: Unique styles for specific pages that aren't generic components
   Merged from styles.css - can be refactored into components later
   ============================================================================ */

/* Welcome & Overview Headers */
.welcome-header {
  background-color: white;
  padding: 35px 40px;
  border-bottom: 1px solid #d0d0d0;
}

.welcome-header h1 {
  font-family: 'Satoshi-Bold', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #2d2d2d;
}

.overview-section {
  background-color: #F5F5F5;
  padding: 25px 40px 20px;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.overview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.overview-header h2 {
  font-family: 'Satoshi-Bold', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #2d2d2d;
}

/* Date Controls */
.date-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-btn {
  padding: 8px 12px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  background-color: white;
  color: #2d2d2d;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
}

.filter-btn:hover {
  background-color: #f9f9f9;
  border-color: #999;
}

.filter-btn i {
  font-size: 14px;
}

.season-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.season-select {
  padding: 8px 35px 8px 15px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  background-color: white;
  font-size: 14px;
  font-family: 'Satoshi-Medium', sans-serif;
  color: #2d2d2d;
  cursor: pointer;
  appearance: none;
  min-width: 140px;
  height: 36px;
  transition: all 0.2s ease;
}

.season-dropdown-wrapper .dropdown-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #666;
  pointer-events: none;
}

/* Dashboard Layout */
.dashboard-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

.stats-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stats-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: visible;
  position: relative;
}

/* Stat Cards */
.stat-card-compact {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  height: fit-content;
  position: relative;
}

.stat-card-expanded {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: visible;
  position: relative;
  flex: 1;
}

/* Stat Indicators */
.stat-indicator {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
}

.indicator-box {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 12px;
}

.stat-indicator.positive .indicator-box {
  background-color: #dcfce7;
  color: #16a34a;
}

.stat-indicator.negative .indicator-box {
  background-color: #fee2e2;
  color: #dc2626;
}

.indicator-box i {
  font-size: 11px;
}

.indicator-value {
  font-weight: 600;
}

/* Three Column Grid Layout */
.three-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.game-section, .articles-section, .analytics-section {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}



/* Articles & Content Sections */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 400px;
  overflow-y: auto;
}

.article-card {
  padding: 15px;
  background-color: #f8f8f8;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.article-card:hover {
  background-color: #f0f0f0;
}

/* Chart Tabs */
.chart-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #e1e1e1;
}

.chart-tab, .demo-chart-tab {
  padding: 10px 16px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: #666;
  transition: all 0.2s;
}

.chart-tab.active, .demo-chart-tab.active {
  border-bottom: 2px solid #1E40AF;
  color: #1E40AF;
}

/* Filter Modal Components */
.filter-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.category-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: 'Satoshi-Regular', sans-serif;
  font-size: 14px;
  color: #2d2d2d;
}

.filter-modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  overflow-y: auto;
}

.filter-checkbox input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Quick Action Cards */
.quick-action-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Game Cards */
.game-card {
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: background-color 0.2s;
}

.game-card:hover {
  background-color: #f0f0f0;
}

.game-time {
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}

.game-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.team-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background-color: white;
  padding: 2px;
}

.team-name {
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 14px;
  color: #2d2d2d;
}

.vs-divider {
  font-family: "Satoshi-Medium", sans-serif;
  font-size: 12px;
  color: #999;
}

/* Live Game Indicator */
.live-indicator {
  width: 8px;
  height: 8px;
  background-color: #DC2626;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

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

/* Chart Components - Complete */
.chart-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-header h3 {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 18px;
  color: #2d2d2d;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chart-icon-circle {
  width: 32px;
  height: 32px;
  background-color: #1E40AF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-icon-circle i {
  color: white;
  font-size: 16px;
}

/* Chart Canvas Containers */
.chart-canvas-container,
.chart-canvas-wrapper {
  position: relative;
  height: 300px;
  width: 100%;
  margin-bottom: 20px;
}

#barChartContainer {
  position: relative;
  height: 350px;
  padding: 20px;
}

.chart-legend {
  display: flex;
  flex-direction: row;
  gap: 40px;
  font-size: 16px;
  color: #666;
  align-items: center;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  transition: opacity 0.2s;
}

.legend-separator {
  color: #d1d1d1;
  margin: 0 10px;
  font-size: 10px;
}

/* Activity Feed */
.activity-feed {
  max-height: 400px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-details {
  flex: 1;
}

.activity-title {
  font-family: "Satoshi-Medium", sans-serif;
  font-size: 14px;
  color: #2d2d2d;
  margin-bottom: 4px;
}

.activity-time {
  font-family: "Satoshi-Regular", sans-serif;
  font-size: 12px;
  color: #999;
}

/* Dashboard Game Cards */
.dashboard-game-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.dashboard-game-card:last-child {
  margin-bottom: 0;
}

.active-game {
  background: white;
  border-radius: 8px;
  padding: 15px;
}

.game-teams-display {
  display: grid;
  grid-template-columns: 80px 40px 120px;
  align-items: center;
  gap: 10px;
}

.game-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.game-team-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 6px;
}

.game-team-name {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 12px;
  color: #2d2d2d;
  text-align: center;
  white-space: nowrap;
}

.game-vs {
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* Pass Type Cards */
.pass-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.pass-card.gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: white;
}

.pass-card.silver {
  background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
  color: white;
}

.pass-card.student {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
}

/* ============================================================================
   16. DASHBOARD-SPECIFIC STYLES
   Usage: Styles specific to the dashboard page
   ============================================================================ */

/* Stat Card Components */
.stat-card-title {
  font-family: "Satoshi-Bold", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1;
  margin: 0;
  color: #2d2d2d;
}

.stat-season {
  font-family: "Satoshi-Regular", sans-serif;
  font-size: 11px;
  line-height: 1;
  color: #666;
  margin: 0;
}

/* Revenue Display Components */
.revenue-icon-small {
  width: 30px;
  height: 30px;
  background-color: #1e40af;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.revenue-icon-small.sales-icon {
  background-color: #1e40af;
}

.revenue-display-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.revenue-amount-small {
  font-size: 20px;
  font-weight: 700;
  color: #2d2d2d;
  font-family: "Satoshi-Black", sans-serif;
}

/* Mini Chart Wrapper */
.mini-chart-wrapper {
  position: relative;
  height: 150px;
  width: 150px;
  margin: 0 auto;
  padding: 10px;
  z-index: 100;
}

/* Custom Dropdown */
.custom-dropdown {
  position: relative;
  display: inline-block;
}

.custom-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: white;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  color: #2d2d2d;
  transition: all 0.2s ease;
  gap: 12px;
  width: 100%;
}

.custom-dropdown-trigger:hover {
  border-color: #999;
  background-color: #f9f9f9;
}

.custom-dropdown-value {
  font-family: "Satoshi-Medium", sans-serif;
  flex: 1;
  text-align: left;
}

.custom-dropdown-arrow {
  font-size: 10px;
  color: #666;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}

.custom-dropdown.active .custom-dropdown-arrow {
  transform: rotate(180deg);
}

.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: white;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10001;
  min-width: 100%;
  display: none;
  overflow: hidden;
}

.custom-dropdown.active .custom-dropdown-menu {
  display: block;
}

.custom-dropdown-option {
  padding: 10px 12px;
  font-size: 14px;
  color: #2d2d2d;
  cursor: pointer;
  transition: background-color 0.2s;
}

.custom-dropdown-option:hover {
  background-color: #f5f5f5;
}

.custom-dropdown-option.selected {
  background-color: #e8f0ff;
  color: #1E40AF;
  font-weight: 500;
}

.custom-dropdown-hidden {
  display: none;
}

/* Breakdown Title */
.breakdown-title {
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 14px;
  color: #2d2d2d;
  margin: 0 0 15px 0;
}

/* Legend Component */
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Satoshi-Regular", sans-serif;
  font-size: 12px;
  color: #666;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

/* Articles Stats Container */
.articles-stats-container {
  max-height: 400px;
  overflow-y: auto;
}

/* Articles Summary */
.articles-summary {
  display: flex;
  justify-content: space-around;
  padding: 15px 20px;
  border-top: 1px solid #e5e7eb;
  background-color: #fafafa;
  border-radius: 0 0 12px 12px;
}

.summary-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.summary-label {
  font-family: 'Satoshi-Regular', sans-serif;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.summary-value {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 18px;
  color: #1E40AF;
}

.article-stat-item {
  display: flex;
      align-items: flex-start;
      gap: 15px;
      padding: 15px;
      margin-bottom: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.article-stat-item:hover {
  background-color: #f0f1f3;
}

.article-thumbnail {
  width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  flex: 1;
  min-width: 0;
}

.article-content .article-title {
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 14px;
  color: #2d2d2d;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.article-metrics {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.article-metrics .metric-value {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 14px;
  color: #2d2d2d;
}

.article-metrics .metric-label {
  font-family: 'Satoshi-Regular', sans-serif;
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.article-content .article-date {
  font-family: 'Satoshi-Regular', sans-serif;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Article Stats Specific */
.article-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.stat-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background-color: white;
  border-radius: 4px;
  font-family: "Satoshi-Medium", sans-serif;
  font-size: 11px;
}

.stat-metric i {
  font-size: 10px;
  color: #999;
}

.metric-value {
  font-weight: 600;
  color: #2d2d2d;
}

.engagement-rate {
  color: #10b981;
}

/* Charts Container */
.charts-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  padding: 20px 40px 30px 40px;
  background-color: #F5F5F5;
}

.chart-wrapper {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chart-wrapper h3 {
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 16px;
  color: #2d2d2d;
  margin: 0 0 20px 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-box {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-box h3 {
  font-family: "Satoshi-Regular", sans-serif;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
}

.stat-value {
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 18px;
  color: #2d2d2d;
}

.stat-change {
  font-family: "Satoshi-Medium", sans-serif;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-change.positive {
  color: #10b981;
}

.stat-change.negative {
  color: #ef4444;
}

.stat-change i {
  font-size: 11px;
}

/* Game Icon Circle */
.game-icon-circle {
  width: 32px;
  height: 32px;
  background-color: #1E40AF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.game-title-wrapper {
  display: flex; 
  align-items: flex-start; 
  gap: 10px; 
  width: 100%;
}

.game-date-info {
    margin: 0;
    padding: 0px 5px 5px 0px;
    font-size: 11px;
    color: #666;
    line-height: 1;
}

.game-icon-circle i {
  color: white;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Game Stats Section */
.game-stats-section {
  margin-top: 2px;
  padding-top: 15px;
  border-top: 1px solid #e1e1e1;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 14px;
}

.stat-label {
  color: #666;
}

.stat-value {
  color: #2d2d2d;
  font-family: 'Satoshi-Bold', sans-serif;
}

/* Capacity Progress Bars */
.capacity-bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.capacity-bar-container:last-child {
  margin-bottom: 0;
}

.capacity-bar {
  flex: 1;
  height: 8px;
  background-color: #e1e1e1;
  border-radius: 4px;
  overflow: hidden;
}

.capacity-fill {
  height: 100%;
  background-color: #1E40AF;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.capacity-fill.scanned {
  background-color: #22C55E;
}

.capacity-percentage {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 12px;
  color: #2d2d2d;
  min-width: 35px;
}

/* Stacked Capacity Bars */
.capacity-bar.stacked {
  display: flex;
  position: relative;
}

.capacity-segment {
  height: 100%;
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.capacity-segment:hover {
  opacity: 0.85;
}

.capacity-segment.gameday {
  background-color: #1E40AF;
}

.capacity-segment.season {
  background-color: #60A5FA;
}

.capacity-segment.vip {
  background-color: #93C5FD;
}

.capacity-segment.gameday.scanned {
  background-color: #22C55E;
}

.capacity-segment.season.scanned {
  background-color: #10B981;
}

.capacity-segment.vip.scanned {
  background-color: #059669;
}

.capacity-segment:first-child {
  border-radius: 4px 0 0 4px;
}

.capacity-segment:last-child {
  border-radius: 0 4px 4px 0;
}

.capacity-segment:only-child {
  border-radius: 4px;
}

/* Game More Info Link */
.game-more-info-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #1E40AF;
  text-decoration: none;
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 12px;
  transition: color 0.2s;
}

.game-more-info-link:hover {
  color: #666;
}

.game-more-info-link i {
  font-size: 10px;
}

/* ===============================
   DASHBOARD SPECIFIC STYLES
   =============================== */

/* Dashboard Layout */
.dashboard-flex-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dashboard-flex-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 35px;
}

.dashboard-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

/* Stat Card Styles */
.stat-card-title-main {
  margin: 0;
  line-height: 1;
  font-size: 18px;
}

.stat-season-text {
  margin: 0;
  line-height: 1;
  font-size: 11px;
  color: #666;
}

.breakdown-title-text {
  margin: 0;
}

/* Chart Wrapper Styles */
.mini-chart-container {
  position: relative;
  height: 150px;
  width: 150px;
  margin: 0 auto;
  padding: 10px;
  z-index: 100;
}

.chart-canvas-relative {
  position: relative;
  z-index: 1000;
}

.chart-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.chart-center-label {
  font-size: 12px;
  color: #999;
}

.chart-center-value {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

/* Logo and Icon Styles */
.scout-ai-logo {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  vertical-align: middle;
}

.disabled-link {
  opacity: 0.3;
}

/* Game Card Styles */
.game-team-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
  gap: 10px;
}

.game-team-vs {
  font-size: 14px;
  color: #666;
  font-family: 'Satoshi-Bold', sans-serif;
}

.game-info-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #333;
  margin-bottom: 4px;
}

.game-info-icon {
  width: 14px;
  color: #1E40AF;
}

/* Dropdown Styles */
.dropdown-inline-width {
  min-width: 180px;
}

.filter-controls-flex {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Chart Container Styles */
.chart-canvas-container {
  position: relative;
  height: 350px;
  padding: 20px;
}

/* Legend Styles */
.chart-legend-flex {
  display: flex;
}

.chart-legend-separator {
  color: #D4A76A;
  margin: 0 8px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

/* Article/Video Thumbnail Styles */
.video-thumbnail-container {
  position: relative;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-icon {
  color: white;
  font-size: 14px;
  margin-left: 2px;
}

/* Tab Content Visibility */
.content-hidden {
  display: none;
}

/* Link Styles */
.game-more-link-inline {
  margin: 0;
  font-size: 12px;
}

/* ===============================
   AI ASSISTANT STYLES
   =============================== */

/* Chat Wrapper and Layout */
.chat-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    height: calc(100vh - 180px);
    display: flex;
    gap: 0;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Chat History Sidebar */
.chat-history {
    width: 280px;
    background: white;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-history-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-history-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.new-chat-btn {
    padding: 8px 12px;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.new-chat-btn:hover {
    background: #1a3a8f;
}

.chat-history-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.chat-history-item {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
}

.chat-history-item:hover {
    background: #f8f9fa;
    border-color: #c0c0c0;
}

.chat-history-item.active {
    background: #f0f4ff;
    border-color: #1E40AF;
}

.chat-history-date {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.chat-history-preview {
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Chat Container */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: #1E40AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: white;
}

.message {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.message.user {
    flex-direction: row-reverse;
}

.message-content {
    max-width: 70%;
    padding: 15px;
    border-radius: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.message-content:hover {
    border-color: #c0c0c0;
}

.message.user .message-content {
    background: #1E40AF;
    color: white;
    border: 1px solid #1E40AF;
}

.message.user .message-content:hover {
    background: #2952d3;
    border-color: #2952d3;
}

/* Chat Input */
.chat-input-container {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: white;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

.chat-input:focus {
    outline: none;
    border-color: #1E40AF;
}

.send-button {
    padding: 12px 24px;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.send-button:hover {
    background: #1a3a8f;
}

/* Mobile History Button */
.mobile-history-btn {
    background: transparent;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-history-btn:hover {
    background: #f8f9fa;
    border-color: #1E40AF;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.quick-action {
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.quick-action:hover {
    background: #f0f0f0;
    border-color: #1E40AF;
}

/* Mobile Responsive Styles for AI Assistant */
@media (max-width: 768px) {
    .mobile-history-btn {
        display: inline-block !important;
    }
    
    .overview-section {
        padding: 0 !important;
    }
    
    .chat-wrapper {
        position: relative;
        height: calc(100vh - 140px);
        padding: 0;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        margin-top: 0;
    }
    
    main {
        padding-top: 60px !important;
    }
    
    .chat-history {
        position: fixed;
        left: -280px;
        top: 60px;
        width: 280px;
        height: calc(100vh - 60px);
        border-right: 1px solid #e0e0e0;
        border-radius: 0;
        transition: left 0.3s ease;
        z-index: 1001;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .chat-history.active {
        left: 0;
    }
    
    .chat-history-list {
        overflow-y: auto;
        padding: 10px;
    }
    
    .chat-history-item {
        margin-bottom: 8px;
    }
    
    .chat-container {
        width: 100%;
        border-radius: 0;
    }
    
    .chat-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .chat-overlay.active {
        display: block;
    }
}

/* ===============================
   CREATE GAME STYLES
   =============================== */

/* Create Game Page Styles */
.create-game-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    padding: 20px;
    min-height: calc(100vh - 120px);
}

.game-info-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: #1E40AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.section-icon.preview-icon {
    background: #1E40AF;
}

.section-title h2 {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 20px;
    color: #2d2d2d;
}

.previous-games-btn {
    padding: 10px 20px;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Satoshi-Medium', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.previous-games-btn:hover {
    background: #1a3691;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.game-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-family: 'Satoshi-Medium', sans-serif;
    font-size: 14px;
    color: #666;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-family: 'Satoshi-Regular', sans-serif;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E40AF;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

/* Team Inputs */
.teams-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.team-input input {
    flex: 1;
    border: none;
    padding: 0;
    background: transparent;
    font-family: 'Satoshi-Medium', sans-serif;
}

.vs-text {
    font-family: 'Satoshi-Bold', sans-serif;
    color: #999;
    font-size: 14px;
}

.away-team-dropdown {
    flex: 1;
}

/* Team Name Inputs */
.team-name-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-name-inputs input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.character-count {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.character-count span {
    font-size: 12px;
    color: #666;
}

/* Team Logo Upload */
.team-logo-upload {
    width: 150px;
    height: 150px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.team-logo-upload:hover {
    border-color: #1E40AF;
    background: #f0f6ff;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
}

.logo-placeholder i {
    font-size: 32px;
    color: #999;
}

.logo-placeholder span {
    font-size: 14px;
    color: #666;
}

.logo-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: white;
}

.logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.remove-logo {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 18px;
    cursor: pointer;
}

/* Team Preview */
.team-preview-section {
    margin-top: 20px;
}

.team-preview-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.preview-logo-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.preview-placeholder {
    width: 50px;
    height: 50px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
    font-weight: bold;
}

.preview-team-name {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.preview-team-name span {
    font-size: 16px;
}

.preview-team-name span:empty {
    display: none;
}

/* Team Placeholder in Ticket */
.team-placeholder {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
}

/* Create Team Option */
.create-team-option {
    background: #f0f6ff;
    font-weight: 500;
    color: #1E40AF;
}

.create-team-option i {
    margin-right: 5px;
}

/* Date and Venue Inputs */
.datetime-inputs {
    display: flex;
    gap: 10px;
}

.datetime-inputs input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.date-input-wrapper,
.venue-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input-wrapper i,
.venue-input-wrapper i {
    position: absolute;
    left: 16px;
    color: #999;
    font-size: 16px;
}

.date-input-wrapper input,
.venue-input-wrapper input {
    padding-left: 45px;
    width: 100%;
}

/* Sponsor Selector Styles */
.sponsor-selector {
    margin-top: 15px;
}

.sponsor-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.sponsor-upload-spot {
    position: relative;
    width: 100%;
    min-height: 100px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.sponsor-upload-spot:hover {
    border-color: #1E40AF;
    background: #f0f6ff;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    gap: 8px;
}

.upload-placeholder i {
    font-size: 24px;
    color: #999;
}

.upload-placeholder span {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.sponsor-upload-spot .sponsor-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: white;
}

.sponsor-upload-spot .sponsor-preview img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.remove-sponsor {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.remove-sponsor:hover {
    background: #cc0000;
}

/* Button Styles */
.btn-cancel {
    background: white;
    border: 1px solid #ddd;
    color: #666;
}

.btn-cancel:hover {
    background: #f5f5f5;
}

.btn-create {
    background: #1E40AF;
    border: none;
    color: white;
}

.btn-create:hover {
    background: #1a3a8f;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-top: auto;
    padding-top: 20px;
}

.page-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.page-indicator span {
    font-family: 'Satoshi-Medium', sans-serif;
    font-size: 14px;
    color: #666;
}

.page-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-dots .dot.active {
    background: #1E40AF;
    width: 10px;
    height: 10px;
}

.page-dots .dot:hover:not(.active) {
    background: #999;
}

.page2-placeholder {
    text-align: center;
    padding: 60px 20px;
}

.page2-placeholder h3 {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 24px;
    color: #2d2d2d;
    margin-bottom: 16px;
}

.page2-placeholder p {
    font-family: 'Satoshi-Regular', sans-serif;
    font-size: 16px;
    color: #666;
}

/* Ticket Preview Section */
.ticket-preview-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Phone Mockup */
.phone-mockup {
    margin: 30px 0;
}

.phone-frame {
    width: 250px;
    height: 500px;
    background: #1a1a1a;
    border-radius: 35px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 15px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 25px;
    overflow: hidden;
}

.ticket-screen {
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: column !important;
    background: #f5f5f5;
    overflow: hidden;
}

.ticket-screen h2 {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 24px;
    color: #2d2d2d;
}

/* Phone Status Bar */
.phone-status-bar {
    height: 20px;
    background: #2d2d2d;
}

/* Ticket Header */
.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #2d2d2d;
    color: white;
}

.header-title {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 18px;
}

.ticket-header i {
    font-size: 18px;
}

/* Yellow Banner */
.ticket-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #D4A76A;
    color: white;
    border-radius: 25px 25px 0 0;
    height: 45px;
}

.ticket-banner i {
    font-size: 16px;
}

/* Navigation Tabs */
.ticket-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 4px;
    background: #2d2d2d;
    color: white;
    gap: 4px;
}

.tab {
    font-family: 'Satoshi-Regular', sans-serif;
    font-size: 10px;
    font-weight: 400;
    cursor: default;
    transition: color 0.2s;
    white-space: nowrap;
    user-select: none;
    color: #999;
}

.tab.active {
    font-family: 'Satoshi-Bold', sans-serif;
    font-weight: 700;
    color: white;
}

.tab-separator {
    color: #666;
    font-size: 10px;
    margin: 0 2px;
}

/* Ticket Content */
.ticket-content {
    display: flex;
    width: 100%;
    flex: 1;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 8px;
    gap: 8px;
    background: #f5f5f5;
}

/* Unified Ticket Card */
.unified-ticket-card, .location-card, .survey-card {
    width: 100%;
    max-width: 220px;
    height: 350px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.location-card {
    padding: 0;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.match-header {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), url(TeamLogos/Fans.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  padding: 15px 20px;
  padding-bottom: 8px;
  justify-content: center;
  align-items: center;
  gap: 15px;
  color: white;
  height: 112px;
}

.team-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.team-logo-ticket {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.team-name {
  color: #FFF;
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.vs-text-ticket {
  width: 26px;
  color: #FFF;
  text-align: center;
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.match-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
  background: #2d2d2d;
  color: #ccc;
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sponsor-section {
  display: flex;
  padding: 8px 0 5px 0;
  flex-direction: column;
  align-items: center;
  background: white;
  flex-shrink: 0;
  height: 65px;
}

.sponsor-logos {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sponsor-section[style*="display: none"] ~ .qr-section {
  padding-top: 30px;
}

.qr-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px 8px;
  background: white;
  flex: 1;
}

.sponsor-section[style*="display: none"] ~ .qr-section .qr-code-img {
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
  padding: 10px;
}
.qr-code-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 4px;
  background: #f0f0f0;
  padding: 8px;
  border-radius: 4px;
}

.sponsor-section[style*="display: none"] ~ .qr-section .ticket-id {
  font-size: 12px;
  font-weight: 600;
}
.ticket-id {
  font-family: 'Satoshi-Regular', sans-serif;
  font-size: 10px;
  color: #666;
  margin: 0 0 5px 0;
}


.map-container {
  height: 200px;
  position: relative;
  background: #f0f0f0;
  overflow: hidden;
}

.survey-card {
    padding: 20px;
    min-height: 350px;
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px;
  background: #2d2d2d;
  border-top: 1px solid #444;
}

.bottom-nav i {
  font-size: 18px;
  color: #999;
  cursor: pointer;
}

/* ===============================
   GAME DETAILS STYLES
   =============================== */

.game-details-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url('../Team Logos/soccerpitch.webp') center bottom/cover;
    padding: 20px 40px 40px;
    margin-left: -40px;
    margin-right: -40px;
    margin-bottom: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    background-position: center 70%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.game-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.team-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    max-width: 200px;
}

.team-logo-large {
    width: 120px;
    height: 120px;
}

.team-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.team-name-large {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.game-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.meta-item i {
    font-size: 20px;
    opacity: 0.9;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-card-icon {
    width: 35px;
    height: 35px;
    background: #1E40AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.info-card-title {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
    line-height: 1;
}

.ticket-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.ticket-stat {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
}

.ticket-stat-label {
    font-family: 'Satoshi-Medium', sans-serif;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.ticket-stat-value {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2d2d2d;
}

.ticket-stat-change {
    font-size: 12px;
    margin-top: 5px;
}


.ticket-stat-change.negative {
    color: #ef4444;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: #1E40AF;
    border-radius: 4px;
    transition: width 1s ease;
}

.seating-chart {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.seating-sections {
    display: grid;
    gap: 10px;
}

.seating-section {
    background: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.seating-section:hover {
    border-color: #1E40AF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

.section-name {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.section-availability {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.section-price {
    font-size: 14px;
    color: #1E40AF;
    margin-top: 5px;
}

.revenue-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.revenue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.revenue-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.revenue-value {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    font-family: 'Satoshi-Medium', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn.primary {
    background: #1E40AF;
    color: white;
}

.action-btn.primary:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #2d2d2d;
    border: 1px solid #e5e7eb;
}

.action-btn.secondary:hover {
    background: #f0f0f0;
    border-color: #d1d5db;
}

.weather-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f4ff;
    color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.weather-icon {
    font-size: 48px;
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.weather-temp {
    font-size: 32px;
    font-weight: 700;
}

.weather-condition {
    font-size: 14px;
    opacity: 0.9;
}

.venue-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.venue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.venue-item i {
    width: 20px;
    color: #1E40AF;
}

.tabs-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.tabs-header {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
}

.tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #1E40AF;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #1E40AF;
    border-radius: 2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.timeline-container {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -29px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid #1E40AF;
    border-radius: 50%;
}

.timeline-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.timeline-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.timeline-description {
    font-size: 14px;
    color: #666;
}

.toggle-switch {
    -webkit-appearance: none;
    appearance: none;
    width: 50px;
    height: 26px;
    background: #e5e7eb;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch:checked {
    background: #1E40AF;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-switch:checked::after {
    transform: translateX(24px);
}

.notification-toggle:hover {
    background: #e5e7eb !important;
}

/* Game Details Mobile Responsive */
@media (max-width: 768px) {
    .game-details-hero {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .game-matchup {
        flex-direction: column;
        gap: 20px;
    }
    
    .team-logo-large {
        width: 80px;
        height: 80px;
    }
    
    .team-name-large {
        font-size: 18px;
    }
    
    .tabs-header {
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* ===============================
   UPCOMING GAMES GRID STYLES
   =============================== */

.upcoming-games-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.upcoming-games-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.upcoming-games-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d2d2d;
}

.upcoming-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.upcoming-game-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.upcoming-game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: #1E40AF;
}

.game-more-info-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1E40AF;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.game-more-info-btn:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.game-more-info-btn i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.game-more-info-btn:hover i {
    transform: translateX(2px);
}

.game-card-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.game-card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.game-card-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    object-fit: contain;
}

.game-card-team-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d2d2d;
    text-align: center;
}

.game-card-vs {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    flex-shrink: 0;
    padding: 0 10px;
}

.game-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.game-card-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.game-card-detail i {
    width: 14px;
    color: #1E40AF;
    font-size: 12px;
}

.game-card-tickets {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.tickets-sold-text {
    font-size: 12px;
    color: #666;
}

.tickets-sold-value {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
}

.ticket-availability {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.ticket-availability.high {
    background: #dcfce7;
    color: #16a34a;
}

.ticket-availability.medium {
    background: #fef3c7;
    color: #d97706;
}

.ticket-availability.low {
    background: #fee2e2;
    color: #dc2626;
}

/* Expandable Schedule Section */
.expandable-schedule-container {
    margin-top: 30px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.expand-schedule-button {
    width: 100%;
    padding: 14px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-schedule-button:hover {
    background: #f8f9fa;
    border-color: #1E40AF;
    color: #1E40AF;
}

.expand-schedule-button i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.expand-schedule-button.expanded i {
    transform: rotate(180deg);
}

.full-schedule-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.full-schedule-wrapper.expanded {
    max-height: 2000px;
}

.full-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-top: 20px;
}

.month-section {
    margin-bottom: 30px;
}

.month-header {
    font-size: 16px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1E40AF;
}

/* Mobile Responsive for Upcoming Games */
@media (max-width: 768px) {
    .upcoming-games-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .full-schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card-teams {
        gap: 10px;
    }
    
    .game-card-logo {
        width: 35px;
        height: 35px;
    }
}


/* ===============================
   UNIVERSAL STAT CARD STYLES
   =============================== */

/* Stat Card Container */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Stat Card Header */
.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: #1E40AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}



.stat-icon.warning {
    background: #f59e0b;
}

.stat-icon.danger {
    background: #ef4444;
}

.stat-icon.info {
    background: #3b82f6;
}

.stat-icon-small {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.stat-icon-large {
    width: 50px;
    height: 50px;
    font-size: 22px;
}

/* Stat Content */
.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.stat-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d2d2d;
    line-height: 1.2;
}

.stat-subtitle {
    margin: 0;
    font-size: 12px;
    color: #999;
    line-height: 1.2;
}

.stat-description {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Stat Value Display */
.stat-value-section {
    margin-top: 10px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1;
    gap: 15px;
    margin: 0;
}

.stat-value-small {
    font-size: 24px;
}

.stat-value-large {
    font-size: 40px;
}

.stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.stat-change.positive {
    background: #dcfce7;
    color: #16a34a;
}

.stat-change.negative {
    background: #fee2e2;
    color: #dc2626;
}

.stat-change.neutral {
    background: #f3f4f6;
    color: #6b7280;
}

/* Stat Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stats-row > * {
    flex: 1;
}

/* Stat List Items */
.stat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.stat-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-list-item:last-child {
    border-bottom: none;
}

.stat-list-label {
    font-size: 13px;
    color: #666;
}

.stat-list-value {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
}

/* Mini Stat Cards */
.mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.mini-stat-icon {
    width: 32px;
    height: 32px;
    background: #1E40AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.mini-stat-content {
    flex: 1;
}

.mini-stat-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.mini-stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #2d2d2d;
}

/* Stat Progress Bar */
.stat-progress {
    margin-top: 15px;
}

.stat-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stat-progress-label {
    font-size: 12px;
    color: #666;
}

.stat-progress-value {
    font-size: 13px;
    font-weight: 600;
    color: #2d2d2d;
}

.stat-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.stat-progress-fill {
    height: 100%;
    background: #1E40AF;
    border-radius: 4px;
    transition: width 1s ease;
}

/* Compact Stat Card for Dashboard */
.stat-card-compact {
    background: white;
    border-radius: 8px;
    padding: 16px;
    min-height: 120px;
}

.stat-card-expanded {
    background: white;
    border-radius: 8px;
    padding: 20px;
}

/* Revenue and Sales Specific */
.revenue-icon-small {
    width: 35px;
    height: 35px;
    background: #1E40AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Dashboard Stat Cards - Match Active Games Styling */
.stat-card-compact .game-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}
.stat-card-compact .game-icon-circle {
    width: 32px;
    height: 32px;
    background-color: #1E40AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stat-card-compact .game-icon-circle i,
.stat-card-compact .game-icon-circle span {
    color: white;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-card-compact .game-title {
    font-family: "Satoshi-Bold", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1;
    margin: 0;
    color: #2d2d2d;
}
.stat-card-compact .game-date-info {
    margin: 0;
    padding: 0px 5px 5px 0px;
    font-size: 11px;
    color: #666;
    line-height: 1;
}

.revenue-display-compact {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
}

.revenue-amount-small {
    font-size: 28px;
    font-weight: 700;
    color: #2d2d2d;
}

/* Stat Actions */
.stat-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.stat-action-btn {
    padding: 6px 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stat-action-btn:hover {
    background: #f8f9fa;
    border-color: #1E40AF;
    color: #1E40AF;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .stat-header {
        gap: 10px;
    }
}
