@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@100;200;300;400;500;600;700;800;900&display=swap);
/* EMERGENCY TEXT VISIBILITY FIX - MAXIMUM PRIORITY */

/* Force ALL text to be visible everywhere */
* {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Admin Panel - Make ALL text black on white */
body {
  color: #000000 !important;
}

/* All headings must be black */
h1, h2, h3, h4, h5, h6 {
  color: #000000 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

/* All labels must be black */
label {
  color: #000000 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}

/* All paragraphs and spans must be black */
p, span, div {
  color: #000000 !important;
  opacity: 1 !important;
}

/* All inputs must have black text */
input, textarea, select {
  color: #000000 !important;
  background-color: #FFFFFF !important;
  border: 2px solid #000000 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

/* Placeholders must be visible */
input::placeholder,
textarea::placeholder {
  color: #666666 !important;
  opacity: 1 !important;
}

/* All links must be visible */
a {
  color: #0066CC !important;
  opacity: 1 !important;
}

/* Buttons text must be visible */
button {
  font-weight: 400 !important;
  opacity: 1 !important;
}

/* White text only on colored backgrounds */
.bg-blue-600 button,
.bg-blue-700 button,
.bg-green-600 button,
.bg-red-600 button,
button.bg-blue-600,
button.bg-blue-700,
button.bg-green-600,
button.bg-red-600 {
  color: #FFFFFF !important;
}

/* Fix modal backgrounds */
.fixed {
  background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Modal content must have white background */
.fixed > div {
  background-color: #FFFFFF !important;
}

/* Override any webkit text fill */
* {
  -webkit-text-fill-color: initial !important;
}

/* Specific fix for Add Member Modal */
.fixed[dir="rtl"] label {
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.fixed[dir="rtl"] input {
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  background: #FFFFFF !important;
  border: 2px solid #333333 !important;
}

.fixed[dir="rtl"] h1,
.fixed[dir="rtl"] h2,
.fixed[dir="rtl"] h3 {
  color: #000000 !important;
  font-weight: 400 !important;
}

/* Remove all filters and effects that might hide text */
* {
  filter: none !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
}
/*
 * OPTIMIZED TEXT READABILITY WITHOUT BOLD
 * ========================================
 * Comprehensive solution for maintaining excellent text visibility
 * and hierarchy without relying on bold font weights
 * Optimized for Arabic RTL text and mobile readability
 */

/* ============================================
   GLOBAL FONT WEIGHT OVERRIDE
   ============================================ */
* {
  font-weight: normal !important;
  font-weight: 400 !important;
}

/* ============================================
   ENHANCED ARABIC FONT SETTINGS
   ============================================ */
:root {
  /* Optimal Arabic Font Stack */
  --arabic-font-stack: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif;

  /* Enhanced Color Palette for Better Contrast */
  --text-primary: #1a1a1a;
  --text-secondary: #2d3436;
  --text-tertiary: #4a5568;
  --text-muted: #6c757d;
  --text-light: #8b95a1;

  /* High Contrast Dark Colors */
  --dark-text-primary: #0d0d0d;
  --dark-text-secondary: #1f2937;
  --dark-text-accent: #111827;

  /* Accent Colors for Emphasis */
  --accent-blue: #0066cc;
  --accent-green: #00875a;
  --accent-purple: #5b21b6;
  --accent-orange: #dc2626;

  /* Background Colors for Contrast */
  --bg-light: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-muted: #f3f4f6;
  --bg-highlight: #fef3c7;

  /* Compact Font Sizes for Hierarchy - Aligned with compact-sizing.css */
  --text-xs: 10px;
  --text-sm: 11px;
  --text-base: 12px;
  --text-lg: 14px;
  --text-xl: 15px;
  --text-2xl: 16px;
  --text-3xl: 18px;
  --text-4xl: 20px;
  --text-5xl: 24px;

  /* Letter Spacing for Readability */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;

  /* Line Height for Better Readability */
  --line-height-tight: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;
  --line-height-loose: 2;
}

/* ============================================
   TYPOGRAPHY HIERARCHY WITHOUT BOLD
   ============================================ */

/* Headings - Use Size and Color for Emphasis */
h1, .h1 {
  font-size: 20px !important;
  font-size: var(--text-4xl) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  letter-spacing: -0.02em !important;
  letter-spacing: var(--letter-spacing-tight) !important;
  line-height: 1.3 !important;
  line-height: var(--line-height-tight) !important;
  font-weight: 400 !important;
  margin-bottom: 1.5rem !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

h2, .h2 {
  font-size: 18px !important;
  font-size: var(--text-3xl) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  letter-spacing: -0.02em !important;
  letter-spacing: var(--letter-spacing-tight) !important;
  line-height: 1.3 !important;
  line-height: var(--line-height-tight) !important;
  font-weight: 400 !important;
  margin-bottom: 1.25rem !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

h3, .h3 {
  font-size: 16px !important;
  font-size: var(--text-2xl) !important;
  color: #1f2937 !important;
  color: var(--dark-text-secondary) !important;
  letter-spacing: 0 !important;
  letter-spacing: var(--letter-spacing-normal) !important;
  line-height: 1.6 !important;
  line-height: var(--line-height-normal) !important;
  font-weight: 400 !important;
  margin-bottom: 1rem !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

h4, .h4 {
  font-size: 15px !important;
  font-size: var(--text-xl) !important;
  color: #1f2937 !important;
  color: var(--dark-text-secondary) !important;
  letter-spacing: 0 !important;
  letter-spacing: var(--letter-spacing-normal) !important;
  line-height: 1.6 !important;
  line-height: var(--line-height-normal) !important;
  font-weight: 400 !important;
  margin-bottom: 0.875rem !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

h5, .h5 {
  font-size: 14px !important;
  font-size: var(--text-lg) !important;
  color: #1a1a1a !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.025em !important;
  letter-spacing: var(--letter-spacing-wide) !important;
  line-height: 1.6 !important;
  line-height: var(--line-height-normal) !important;
  font-weight: 400 !important;
  margin-bottom: 0.75rem !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

h6, .h6 {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #1a1a1a !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.05em !important;
  letter-spacing: var(--letter-spacing-wider) !important;
  text-transform: uppercase !important;
  line-height: 1.6 !important;
  line-height: var(--line-height-normal) !important;
  font-weight: 400 !important;
  margin-bottom: 0.75rem !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* ============================================
   BODY TEXT OPTIMIZATION
   ============================================ */

/* Regular Paragraphs */
p, .paragraph {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #2d3436 !important;
  color: var(--text-secondary) !important;
  line-height: 1.8 !important;
  line-height: var(--line-height-relaxed) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  letter-spacing: var(--letter-spacing-normal) !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* Small Text */
small, .small-text {
  font-size: 11px !important;
  font-size: var(--text-sm) !important;
  color: #4a5568 !important;
  color: var(--text-tertiary) !important;
  line-height: 1.6 !important;
  line-height: var(--line-height-normal) !important;
  font-weight: 400 !important;
  letter-spacing: 0.025em !important;
  letter-spacing: var(--letter-spacing-wide) !important;
}

/* ============================================
   FORM ELEMENTS WITHOUT BOLD
   ============================================ */

/* Labels - Use Color and Size Instead of Bold */
label, .form-label {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #1f2937 !important;
  color: var(--dark-text-secondary) !important;
  font-weight: 400 !important;
  letter-spacing: 0.025em !important;
  letter-spacing: var(--letter-spacing-wide) !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* Required Field Indicator */
label.required::after,
.form-label.required::after {
  content: ' *';
  color: #dc2626 !important;
  color: var(--accent-orange) !important;
  font-size: 12px !important;
  font-size: var(--text-base) !important;
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  line-height: var(--line-height-normal) !important;
  padding: 12px 16px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  background-color: var(--bg-light) !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
  transition: all 0.2s ease !important;
}

/* Focused Input - Higher Contrast Border */
input:focus,
textarea:focus,
select:focus {
  border-color: #0066cc !important;
  border-color: var(--accent-blue) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1) !important;
  background-color: #fafbfc !important;
}

/* Placeholder Text */
input::placeholder,
textarea::placeholder {
  color: #6c757d !important;
  color: var(--text-muted) !important;
  opacity: 0.8 !important;
  font-weight: 400 !important;
}

/* ============================================
   BUTTONS WITHOUT BOLD
   ============================================ */

/* Primary Buttons - Use Background for Emphasis */
.btn-primary,
button[type="submit"],
.submit-btn {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: white !important;
  background: linear-gradient(135deg, #0066cc 0%, #5b21b6 100%) !important;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%) !important;
  font-weight: 400 !important;
  letter-spacing: 0.025em !important;
  letter-spacing: var(--letter-spacing-wide) !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25) !important;
  transition: all 0.3s ease !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* Secondary Buttons */
.btn-secondary,
button[type="button"] {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  background: #ffffff !important;
  background: var(--bg-light) !important;
  border: 2px solid #0066cc !important;
  border: 2px solid var(--accent-blue) !important;
  font-weight: 400 !important;
  letter-spacing: 0.025em !important;
  letter-spacing: var(--letter-spacing-wide) !important;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* Button Hover States */
.btn-primary:hover,
button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35) !important;
}

.btn-secondary:hover {
  background: #0066cc !important;
  background: var(--accent-blue) !important;
  color: white !important;
}

/* ============================================
   NAVIGATION WITHOUT BOLD
   ============================================ */

/* Navigation Links */
.nav-link,
a.navigation-item {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #1a1a1a !important;
  color: var(--text-primary) !important;
  font-weight: 400 !important;
  letter-spacing: 0.025em !important;
  letter-spacing: var(--letter-spacing-wide) !important;
  text-decoration: none !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* Active Navigation Item */
.nav-link.active,
.navigation-item.active {
  color: white !important;
  background: #0066cc !important;
  background: var(--accent-blue) !important;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2) !important;
}

/* Navigation Hover */
.nav-link:hover:not(.active),
.navigation-item:hover:not(.active) {
  color: #0066cc !important;
  color: var(--accent-blue) !important;
  background: rgba(0, 102, 204, 0.08) !important;
}

/* ============================================
   CARDS AND CONTAINERS
   ============================================ */

/* Card Headers */
.card-header,
.panel-header {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  font-weight: 400 !important;
  letter-spacing: 0.025em !important;
  letter-spacing: var(--letter-spacing-wide) !important;
  padding: 1.25rem !important;
  background: linear-gradient(to right, #f8f9fa, #ffffff) !important;
  background: linear-gradient(to right, var(--bg-soft), var(--bg-light)) !important;
  border-bottom: 2px solid #0066cc !important;
  border-bottom: 2px solid var(--accent-blue) !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* Card Body Text */
.card-body {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #2d3436 !important;
  color: var(--text-secondary) !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  line-height: var(--line-height-relaxed) !important;
  padding: 1.5rem !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* ============================================
   TABLES WITHOUT BOLD
   ============================================ */

/* Table Headers */
th, .table-header {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: white !important;
  background: #0d0d0d !important;
  background: var(--dark-text-primary) !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  letter-spacing: var(--letter-spacing-wider) !important;
  text-transform: uppercase !important;
  padding: 14px 16px !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* Table Cells */
td, .table-cell {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #1a1a1a !important;
  color: var(--text-primary) !important;
  font-weight: 400 !important;
  padding: 12px 16px !important;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
}

/* Alternating Row Colors for Better Readability */
tr:nth-child(even) td {
  background-color: #f8f9fa !important;
  background-color: var(--bg-soft) !important;
}

tr:hover td {
  background-color: #fef3c7 !important;
  background-color: var(--bg-highlight) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
}

/* ============================================
   MOBILE SPECIFIC OPTIMIZATIONS
   ============================================ */

/* Mobile Headers */
.mobile-header h1,
.mobile-header h2 {
  font-size: 15px !important;
  font-size: var(--text-xl) !important;
  color: white !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  letter-spacing: var(--letter-spacing-normal) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Mobile Cards */
.mobile-card {
  background: #ffffff !important;
  background: var(--bg-light) !important;
  border: 1px solid rgba(0, 102, 204, 0.15) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.mobile-card-title {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  font-weight: 400 !important;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 2px solid #0066cc !important;
  border-bottom: 2px solid var(--accent-blue) !important;
}

/* Mobile Balance Display */
.balance-amount {
  font-size: 16px !important;
  font-size: var(--text-2xl) !important;
  color: #00875a !important;
  color: var(--accent-green) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  letter-spacing: var(--letter-spacing-tight) !important;
  font-family: 'SF Mono', 'Monaco', monospace !important;
}

.balance-amount.low {
  color: #dc2626 !important;
  color: var(--accent-orange) !important;
}

/* Mobile Notifications */
.notification-title {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  font-weight: 400 !important;
  margin-bottom: 0.5rem !important;
}

.notification-body {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #2d3436 !important;
  color: var(--text-secondary) !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  line-height: var(--line-height-relaxed) !important;
}

/* ============================================
   ARABIC RTL SPECIFIC ADJUSTMENTS
   ============================================ */

[dir="rtl"] {
  font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', 'Dubai', -apple-system, system-ui, sans-serif !important;
  font-family: var(--arabic-font-stack) !important;
  letter-spacing: 0.02em !important;
}

/* Arabic Text Specific */
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] div {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  line-height: 2 !important;
  line-height: var(--line-height-loose) !important;
  font-weight: 400 !important;
}

/* Arabic Headings */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

/* Arabic Form Labels */
[dir="rtl"] label {
  font-size: 11px !important;
  font-size: var(--text-sm) !important;
  color: #1f2937 !important;
  color: var(--dark-text-secondary) !important;
  font-weight: 400 !important;
  margin-bottom: 0.625rem !important;
}

/* Arabic Buttons */
[dir="rtl"] button {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  letter-spacing: 0.01em !important;
  font-weight: 400 !important;
}

/* ============================================
   STATUS AND BADGE ELEMENTS
   ============================================ */

/* Status Badges - Use Color Instead of Bold */
.badge,
.status-badge {
  font-size: 11px !important;
  font-size: var(--text-sm) !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  letter-spacing: var(--letter-spacing-wider) !important;
  text-transform: uppercase !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  display: inline-block !important;
}

.badge-success,
.status-active {
  color: white !important;
  background-color: #00875a !important;
  background-color: var(--accent-green) !important;
}

.badge-warning,
.status-pending {
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  background-color: #fbbf24 !important;
}

.badge-danger,
.status-inactive {
  color: white !important;
  background-color: #dc2626 !important;
  background-color: var(--accent-orange) !important;
}

/* ============================================
   MODAL DIALOGS
   ============================================ */

/* Modal Headers */
.modal-header,
.dialog-header {
  font-size: 14px !important;
  font-size: var(--text-lg) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  font-weight: 400 !important;
  padding: 1.5rem !important;
  border-bottom: 2px solid #0066cc !important;
  border-bottom: 2px solid var(--accent-blue) !important;
  background: linear-gradient(to right, #f8f9fa, #ffffff) !important;
  background: linear-gradient(to right, var(--bg-soft), var(--bg-light)) !important;
}

/* Modal Body */
.modal-body,
.dialog-body {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #2d3436 !important;
  color: var(--text-secondary) !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  line-height: var(--line-height-relaxed) !important;
  padding: 1.5rem !important;
}

/* ============================================
   TOOLTIPS AND HINTS
   ============================================ */

/* Tooltip Text */
.tooltip,
.hint-text {
  font-size: 11px !important;
  font-size: var(--text-sm) !important;
  color: white !important;
  background-color: #0d0d0d !important;
  background-color: var(--dark-text-primary) !important;
  font-weight: 400 !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  letter-spacing: 0.025em !important;
  letter-spacing: var(--letter-spacing-wide) !important;
}

/* ============================================
   ERROR AND SUCCESS MESSAGES
   ============================================ */

/* Error Messages */
.error-message,
.alert-error {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: white !important;
  background-color: #dc2626 !important;
  background-color: var(--accent-orange) !important;
  font-weight: 400 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  border-left: 4px solid #991b1b !important;
}

/* Success Messages */
.success-message,
.alert-success {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: white !important;
  background-color: #00875a !important;
  background-color: var(--accent-green) !important;
  font-weight: 400 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  border-left: 4px solid #065f46 !important;
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Focus Visible Styles */
*:focus-visible {
  outline: 3px solid #0066cc !important;
  outline: 3px solid var(--accent-blue) !important;
  outline-offset: 2px !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  * {
    font-weight: 400 !important;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000000 !important;
  }

  p, span, div {
    color: #1a1a1a !important;
  }

  input, textarea, select {
    border-width: 3px !important;
    border-color: #000000 !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  * {
    font-weight: 400 !important;
  }

  h1, h2, h3 {
    color: #000000 !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 0.5rem !important;
  }

  p {
    color: #333333 !important;
    line-height: 1.6 !important;
  }
}

/* ============================================
   ANIMATIONS FOR EMPHASIS
   ============================================ */

/* Subtle Pulse for Important Elements */
@keyframes subtle-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

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

/* Underline Animation for Links */
a {
  position: relative;
  text-decoration: none !important;
  color: #0066cc !important;
  color: var(--accent-blue) !important;
  font-weight: 400 !important;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0066cc;
  background-color: var(--accent-blue);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

/* ============================================
   FINAL OVERRIDES
   ============================================ */

/* Ensure No Bold Anywhere */
b, strong {
  font-weight: 400 !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  text-decoration: underline !important;
  -webkit-text-decoration-color: #0066cc !important;
          text-decoration-color: #0066cc !important;
  -webkit-text-decoration-color: var(--accent-blue) !important;
          text-decoration-color: var(--accent-blue) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

/* Make Important Text Stand Out Without Bold */
.important,
.emphasis {
  font-size: 12px !important;
  font-size: var(--text-base) !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  background: linear-gradient(to right, transparent, #fef3c7, transparent) !important;
  background: linear-gradient(to right, transparent, var(--bg-highlight), transparent) !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-weight: 400 !important;
}

/* Highlighted Text */
mark, .highlight {
  background-color: #fef3c7 !important;
  color: #0d0d0d !important;
  color: var(--dark-text-primary) !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  font-weight: 400 !important;
}

/* Code and Pre */
code, pre {
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace !important;
  font-size: 11px !important;
  font-size: var(--text-sm) !important;
  font-weight: 400 !important;
  background-color: #f3f4f6 !important;
  background-color: var(--bg-muted) !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  color: #5b21b6 !important;
  color: var(--accent-purple) !important;
}
/*
* Apple Design System for Al-Shuail Admin Dashboard
* Inspired by Apple's Human Interface Guidelines and design philosophy
* Premium, polished, and delightful user experience
*/

/* Import Apple's system fonts */

:root {
  /* Apple Color Palette */
  --apple-system-blue: #007AFF;
  --apple-system-indigo: #5856D6;
  --apple-system-purple: #AF52DE;
  --apple-system-pink: #FF2D92;
  --apple-system-red: #FF3B30;
  --apple-system-orange: #FF9500;
  --apple-system-yellow: #FFCC00;
  --apple-system-green: #34C759;
  --apple-system-mint: #00C7BE;
  --apple-system-teal: #30B0C7;
  --apple-system-cyan: #32D74B;

  /* Apple System Grays */
  --apple-gray-1: #8E8E93;
  --apple-gray-2: #AEAEB2;
  --apple-gray-3: #C7C7CC;
  --apple-gray-4: #D1D1D6;
  --apple-gray-5: #E5E5EA;
  --apple-gray-6: #F2F2F7;

  /* Apple Dark Mode Colors */
  --apple-dark-1: #000000;
  --apple-dark-2: #1C1C1E;
  --apple-dark-3: #2C2C2E;
  --apple-dark-4: #3A3A3C;
  --apple-dark-5: #48484A;
  --apple-dark-6: #636366;

  /* Apple Background Colors */
  --apple-bg-primary: #FFFFFF;
  --apple-bg-secondary: #F2F2F7;
  --apple-bg-tertiary: #FFFFFF;
  --apple-bg-grouped-primary: #F2F2F7;
  --apple-bg-grouped-secondary: #FFFFFF;
  --apple-bg-grouped-tertiary: #F2F2F7;

  /* Apple Semantic Colors */
  --apple-fill-primary: rgba(120, 120, 128, 0.2);
  --apple-fill-secondary: rgba(120, 120, 128, 0.16);
  --apple-fill-tertiary: rgba(118, 118, 128, 0.12);
  --apple-fill-quaternary: rgba(116, 116, 128, 0.08);

  /* Apple Label Colors */
  --apple-label-primary: #000000;
  --apple-label-secondary: rgba(60, 60, 67, 0.6);
  --apple-label-tertiary: rgba(60, 60, 67, 0.3);
  --apple-label-quaternary: rgba(60, 60, 67, 0.18);

  /* Apple Separator Colors */
  --apple-separator-opaque: #C6C6C8;
  --apple-separator-non-opaque: rgba(60, 60, 67, 0.36);

  /* Apple Spacing System */
  --apple-spacing-1: 4px;   /* Extra small */
  --apple-spacing-2: 8px;   /* Small */
  --apple-spacing-3: 12px;  /* Medium small */
  --apple-spacing-4: 16px;  /* Medium */
  --apple-spacing-5: 20px;  /* Medium large */
  --apple-spacing-6: 24px;  /* Large */
  --apple-spacing-7: 32px;  /* Extra large */
  --apple-spacing-8: 40px;  /* XXL */
  --apple-spacing-9: 48px;  /* XXXL */
  --apple-spacing-10: 64px; /* XXXXL */

  /* Apple Border Radius System */
  --apple-radius-small: 6px;
  --apple-radius-medium: 8px;
  --apple-radius-large: 12px;
  --apple-radius-xl: 16px;
  --apple-radius-2xl: 20px;
  --apple-radius-3xl: 24px;
  --apple-radius-pill: 9999px;

  /* Apple Typography Scale */
  --apple-text-xs: 11px;
  --apple-text-sm: 13px;
  --apple-text-base: 15px;
  --apple-text-lg: 17px;
  --apple-text-xl: 19px;
  --apple-text-2xl: 22px;
  --apple-text-3xl: 28px;
  --apple-text-4xl: 34px;
  --apple-text-5xl: 48px;

  /* Apple Font Weights */
  --apple-font-light: 300;
  --apple-font-regular: 400;
  --apple-font-medium: 500;
  --apple-font-semibold: 400;
  --apple-font-bold: 400;
  --apple-font-heavy: 400;
  --apple-font-black: 400;

  /* Apple Shadows */
  --apple-shadow-small: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --apple-shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --apple-shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --apple-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --apple-shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  /* Apple Blur Effects */
  --apple-blur-light: blur(20px);
  --apple-blur-medium: blur(40px);
  --apple-blur-heavy: blur(60px);

  /* Apple Animation Durations */
  --apple-duration-fast: 0.15s;
  --apple-duration-normal: 0.25s;
  --apple-duration-slow: 0.35s;
  --apple-duration-slower: 0.5s;

  /* Apple Spring Animation */
  --apple-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --apple-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --apple-ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Dark Mode Variables */
@media (prefers-color-scheme: dark) {
  :root {
    --apple-bg-primary: #000000;
    --apple-bg-secondary: #1C1C1E;
    --apple-bg-tertiary: #2C2C2E;
    --apple-bg-grouped-primary: #000000;
    --apple-bg-grouped-secondary: #1C1C1E;
    --apple-bg-grouped-tertiary: #2C2C2E;

    --apple-label-primary: #FFFFFF;
    --apple-label-secondary: rgba(235, 235, 245, 0.6);
    --apple-label-tertiary: rgba(235, 235, 245, 0.3);
    --apple-label-quaternary: rgba(235, 235, 245, 0.18);

    --apple-separator-opaque: #38383A;
    --apple-separator-non-opaque: rgba(84, 84, 88, 0.65);

    --apple-fill-primary: rgba(120, 120, 128, 0.36);
    --apple-fill-secondary: rgba(120, 120, 128, 0.32);
    --apple-fill-tertiary: rgba(118, 118, 128, 0.28);
    --apple-fill-quaternary: rgba(116, 116, 128, 0.24);
  }
}

/* Apple Base Typography */
.apple-font-system {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  font-feature-settings: 'liga', 'kern';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Apple Typography Classes */
.apple-title-large {
  font-size: 48px;
  font-size: var(--apple-text-5xl);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.apple-title-1 {
  font-size: 34px;
  font-size: var(--apple-text-4xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.apple-title-2 {
  font-size: 28px;
  font-size: var(--apple-text-3xl);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.apple-title-3 {
  font-size: 22px;
  font-size: var(--apple-text-2xl);
  font-weight: 400;
  line-height: 1.3;
}

.apple-headline {
  font-size: 17px;
  font-size: var(--apple-text-lg);
  font-weight: 400;
  line-height: 1.35;
}

.apple-body {
  font-size: 15px;
  font-size: var(--apple-text-base);
  font-weight: 400;
  font-weight: var(--apple-font-regular);
  line-height: 1.5;
}

.apple-callout {
  font-size: 15px;
  font-size: var(--apple-text-base);
  font-weight: 400;
  line-height: 1.4;
}

.apple-subheadline {
  font-size: 13px;
  font-size: var(--apple-text-sm);
  font-weight: 400;
  font-weight: var(--apple-font-regular);
  line-height: 1.4;
}

.apple-footnote {
  font-size: 11px;
  font-size: var(--apple-text-xs);
  font-weight: 400;
  font-weight: var(--apple-font-regular);
  line-height: 1.3;
}

.apple-caption-1 {
  font-size: 11px;
  font-size: var(--apple-text-xs);
  font-weight: 400;
  line-height: 1.25;
}

.apple-caption-2 {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Apple Button System */
.apple-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border-radius: var(--apple-radius-medium);
  border: none;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all var(--apple-duration-fast) var(--apple-ease-out);
  font-family: inherit;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  outline: none;
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.apple-button:focus-visible {
  ring: 3px;
  ring-color: #007AFF;
  ring-color: var(--apple-system-blue);
  ring-opacity: 0.3;
}

.apple-button-primary {
  background: #007AFF;
  background: var(--apple-system-blue);
  color: white;
  padding: 12px 24px;
  padding: var(--apple-spacing-3) var(--apple-spacing-6);
  font-size: 15px;
  font-size: var(--apple-text-base);
  min-height: 44px;
}

.apple-button-primary:hover {
  background: #005EDC;
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  box-shadow: var(--apple-shadow-medium);
}

.apple-button-primary:active {
  transform: translateY(0) translateZ(0);
  background: #004BB8;
}

.apple-button-secondary {
  background: rgba(120, 120, 128, 0.16);
  background: var(--apple-fill-secondary);
  color: #000000;
  color: var(--apple-label-primary);
  padding: 12px 24px;
  padding: var(--apple-spacing-3) var(--apple-spacing-6);
  font-size: 15px;
  font-size: var(--apple-text-base);
  min-height: 44px;
  border: 1px solid rgba(60, 60, 67, 0.36);
  border: 1px solid var(--apple-separator-non-opaque);
}

.apple-button-secondary:hover {
  background: rgba(120, 120, 128, 0.2);
  background: var(--apple-fill-primary);
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: var(--apple-shadow-small);
}

.apple-button-large {
  padding: 16px 32px;
  padding: var(--apple-spacing-4) var(--apple-spacing-7);
  font-size: 17px;
  font-size: var(--apple-text-lg);
  min-height: 50px;
  border-radius: 12px;
  border-radius: var(--apple-radius-large);
}

.apple-button-small {
  padding: 8px 16px;
  padding: var(--apple-spacing-2) var(--apple-spacing-4);
  font-size: 13px;
  font-size: var(--apple-text-sm);
  min-height: 32px;
  border-radius: 6px;
  border-radius: var(--apple-radius-small);
}

.apple-button-pill {
  border-radius: 9999px;
  border-radius: var(--apple-radius-pill);
  padding: 12px 20px;
  padding: var(--apple-spacing-3) var(--apple-spacing-5);
}

/* Apple Card System */
.apple-card {
  background: #F2F2F7;
  background: var(--apple-bg-secondary);
  border-radius: 16px;
  border-radius: var(--apple-radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: var(--apple-shadow-small);
  border: 1px solid rgba(60, 60, 67, 0.36);
  border: 1px solid var(--apple-separator-non-opaque);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all var(--apple-duration-normal) var(--apple-spring);
  overflow: hidden;
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.apple-card:hover {
  transform: translateY(-2px) scale(1.01) translateZ(0);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  box-shadow: var(--apple-shadow-large);
}

.apple-card-content {
  padding: 24px;
  padding: var(--apple-spacing-6);
}

.apple-card-header {
  padding: 24px 24px 16px;
  padding: var(--apple-spacing-6) var(--apple-spacing-6) var(--apple-spacing-4);
  border-bottom: 1px solid rgba(60, 60, 67, 0.36);
  border-bottom: 1px solid var(--apple-separator-non-opaque);
}

.apple-card-footer {
  padding: 16px 24px 24px;
  padding: var(--apple-spacing-4) var(--apple-spacing-6) var(--apple-spacing-6);
  border-top: 1px solid rgba(60, 60, 67, 0.36);
  border-top: 1px solid var(--apple-separator-non-opaque);
  background: rgba(116, 116, 128, 0.08);
  background: var(--apple-fill-quaternary);
}

/* Apple Glass Morphism */
.apple-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--apple-blur-light);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--apple-blur-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.apple-glass-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--apple-blur-light);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--apple-blur-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Apple Form Elements */
.apple-input {
  background: rgba(118, 118, 128, 0.12);
  background: var(--apple-fill-tertiary);
  border: 1px solid rgba(60, 60, 67, 0.36);
  border: 1px solid var(--apple-separator-non-opaque);
  border-radius: 8px;
  border-radius: var(--apple-radius-medium);
  padding: 16px;
  padding: var(--apple-spacing-4);
  font-size: 15px;
  font-size: var(--apple-text-base);
  font-family: inherit;
  color: #000000;
  color: var(--apple-label-primary);
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all var(--apple-duration-fast) var(--apple-ease-out);
  min-height: 44px;
  width: 100%;
  /* GPU Acceleration for smoother animations */
  will-change: border-color, box-shadow, background;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.apple-input:focus {
  outline: none;
  border-color: #007AFF;
  border-color: var(--apple-system-blue);
  background: #FFFFFF;
  background: var(--apple-bg-primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.apple-input-floating {
  position: relative;
}

.apple-input-floating label {
  position: absolute;
  left: 16px;
  left: var(--apple-spacing-4);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(60, 60, 67, 0.6);
  color: var(--apple-label-secondary);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all var(--apple-duration-normal) var(--apple-spring);
  font-size: 15px;
  font-size: var(--apple-text-base);
}

.apple-input-floating input:focus + label,
.apple-input-floating input:not(:placeholder-shown) + label {
  top: 8px;
  top: var(--apple-spacing-2);
  transform: translateY(0) scale(0.85) translateZ(0);
  color: #007AFF;
  color: var(--apple-system-blue);
  background: #FFFFFF;
  background: var(--apple-bg-primary);
  padding: 0 4px;
  padding: 0 var(--apple-spacing-1);
}

/* Apple Table */
.apple-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFFFFF;
  background: var(--apple-bg-primary);
  border-radius: 16px;
  border-radius: var(--apple-radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: var(--apple-shadow-small);
}

.apple-table th {
  background: rgba(116, 116, 128, 0.08);
  background: var(--apple-fill-quaternary);
  padding: 16px 24px;
  padding: var(--apple-spacing-4) var(--apple-spacing-6);
  text-align: right;
  font-weight: 400;
  font-size: 13px;
  font-size: var(--apple-text-sm);
  color: rgba(60, 60, 67, 0.6);
  color: var(--apple-label-secondary);
  border-bottom: 1px solid rgba(60, 60, 67, 0.36);
  border-bottom: 1px solid var(--apple-separator-non-opaque);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--apple-blur-light);
          backdrop-filter: var(--apple-blur-light);
}

.apple-table td {
  padding: 16px 24px;
  padding: var(--apple-spacing-4) var(--apple-spacing-6);
  border-bottom: 1px solid rgba(60, 60, 67, 0.36);
  border-bottom: 1px solid var(--apple-separator-non-opaque);
  color: #000000;
  color: var(--apple-label-primary);
  transition: background-color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: background-color var(--apple-duration-fast) var(--apple-ease-out);
}

.apple-table tr:hover td {
  background: rgba(116, 116, 128, 0.08);
  background: var(--apple-fill-quaternary);
  /* Prevent text rendering issues during hover */
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.apple-table tr:last-child td {
  border-bottom: none;
}

/* Apple Navigation */
.apple-nav {
  background: var(--apple-glass);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--apple-blur-light);
          backdrop-filter: var(--apple-blur-light);
  border-bottom: 1px solid rgba(60, 60, 67, 0.36);
  border-bottom: 1px solid var(--apple-separator-non-opaque);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.apple-nav-item {
  padding: 12px 16px;
  padding: var(--apple-spacing-3) var(--apple-spacing-4);
  color: #000000;
  color: var(--apple-label-primary);
  text-decoration: none;
  border-radius: 8px;
  border-radius: var(--apple-radius-medium);
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all var(--apple-duration-fast) var(--apple-ease-out);
  font-weight: 400;
  /* GPU Acceleration for smoother animations */
  will-change: background, color;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.apple-nav-item:hover {
  background: rgba(118, 118, 128, 0.12);
  background: var(--apple-fill-tertiary);
  color: #007AFF;
  color: var(--apple-system-blue);
}

.apple-nav-item-active {
  background: #007AFF;
  background: var(--apple-system-blue);
  color: white;
}

/* Apple Animations */
@keyframes apple-bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(50px) translateZ(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(-10px) translateZ(0);
  }
  70% {
    transform: scale(0.98) translateY(0) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) translateZ(0);
  }
}

@keyframes apple-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

@keyframes apple-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes apple-scale-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateZ(0);
  }
  to {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }
}

@keyframes apple-shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.apple-animate-bounce-in {
  animation: apple-bounce-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation: apple-bounce-in 0.6s var(--apple-spring) both;
  /* GPU Acceleration for smoother animations */
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.apple-animate-slide-up {
  animation: apple-slide-up 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: apple-slide-up 0.4s var(--apple-ease-out) both;
  /* GPU Acceleration for smoother animations */
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.apple-animate-fade-in {
  animation: apple-fade-in 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: apple-fade-in 0.3s var(--apple-ease-out) both;
  /* GPU Acceleration for smoother animations */
  will-change: opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.apple-animate-scale-in {
  animation: apple-scale-in 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: apple-scale-in 0.2s var(--apple-ease-out) both;
  /* GPU Acceleration for smoother animations */
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

/* Apple Loading Skeleton */
.apple-skeleton {
  background: linear-gradient(90deg, rgba(118, 118, 128, 0.12) 25%, rgba(120, 120, 128, 0.16) 50%, rgba(118, 118, 128, 0.12) 75%);
  background: linear-gradient(90deg, var(--apple-fill-tertiary) 25%, var(--apple-fill-secondary) 50%, var(--apple-fill-tertiary) 75%);
  background-size: 200px 100%;
  animation: apple-shimmer 1.5s infinite;
  border-radius: 8px;
  border-radius: var(--apple-radius-medium);
}

/* Apple Badge/Pill */
.apple-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  padding: var(--apple-spacing-1) var(--apple-spacing-3);
  border-radius: 9999px;
  border-radius: var(--apple-radius-pill);
  font-size: 11px;
  font-size: var(--apple-text-xs);
  font-weight: 400;
  background: rgba(120, 120, 128, 0.16);
  background: var(--apple-fill-secondary);
  color: #000000;
  color: var(--apple-label-primary);
}

.apple-badge-primary {
  background: #007AFF;
  background: var(--apple-system-blue);
  color: white;
}

.apple-badge-success {
  background: #34C759;
  background: var(--apple-system-green);
  color: white;
}

.apple-badge-warning {
  background: #FF9500;
  background: var(--apple-system-orange);
  color: white;
}

.apple-badge-danger {
  background: #FF3B30;
  background: var(--apple-system-red);
  color: white;
}

/* Apple Status Indicators */
.apple-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
  margin-left: var(--apple-spacing-2);
}

.apple-status-online {
  background: #34C759;
  background: var(--apple-system-green);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #34C759;
  box-shadow: 0 0 0 2px var(--apple-bg-primary), 0 0 0 4px var(--apple-system-green);
  animation: pulse 2s infinite;
}

.apple-status-offline {
  background: #C7C7CC;
  background: var(--apple-gray-3);
}

/* Apple Layout Utilities */
.apple-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding: 0 var(--apple-spacing-6);
}

.apple-grid {
  display: grid;
  gap: 24px;
  grid-gap: 24px;
  grid-gap: var(--apple-spacing-6);
  gap: var(--apple-spacing-6);
}

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

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

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

.apple-flex {
  display: flex;
}

.apple-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* RTL Support for Arabic */
[dir="rtl"] .apple-input-floating label {
  right: 16px;
  right: var(--apple-spacing-4);
  left: auto;
}

[dir="rtl"] .apple-table th,
[dir="rtl"] .apple-table td {
  text-align: right;
}

[dir="rtl"] .apple-nav-item {
  margin-left: 8px;
  margin-left: var(--apple-spacing-2);
  margin-right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .apple-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .apple-grid-3 {
    grid-template-columns: 1fr;
  }

  .apple-container {
    padding: 0 16px;
    padding: 0 var(--apple-spacing-4);
  }
}

@media (max-width: 480px) {
  .apple-grid-2,
  .apple-grid-3,
  .apple-grid-4 {
    grid-template-columns: 1fr;
  }

  .apple-title-large {
    font-size: 34px;
    font-size: var(--apple-text-4xl);
  }

  .apple-title-1 {
    font-size: 28px;
    font-size: var(--apple-text-3xl);
  }
}

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

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .apple-card {
    border-width: 2px;
  }

  .apple-button {
    border-width: 2px;
  }

  .apple-input {
    border-width: 2px;
  }
}

/* Print Styles */
@media print {
  .apple-glass {
    background: white;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }

  .apple-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Apple Login Styles */
.apple-login-container {
  min-height: 100vh;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.apple-header-login {
  position: relative;
  padding: 40px 0;
  z-index: 10;
}

.apple-header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.apple-gradient-overlay {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: transparent;
  animation: float 20s ease-in-out infinite;
}

.apple-particle-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20% 30%, rgba(0,0,0,0.05), transparent),
                    radial-gradient(2px 2px at 60% 70%, rgba(0,0,0,0.05), transparent),
                    radial-gradient(1px 1px at 50% 50%, rgba(0,0,0,0.05), transparent),
                    radial-gradient(1px 1px at 80% 10%, rgba(0,0,0,0.05), transparent);
  background-size: 10% 10%, 20% 20%, 15% 15%, 18% 18%;
  background-position: 0% 0%, 40% 40%, 60% 60%, 80% 80%;
  animation: sparkle 10s linear infinite;
  opacity: 0.1;
}

@keyframes float {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

@keyframes sparkle {
  0% { background-position: 0% 0%, 40% 40%, 60% 60%, 80% 80%; }
  100% { background-position: 100% 100%, 140% 140%, 160% 160%, 180% 180%; }
}

.apple-header-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.apple-logo-section {
  text-align: center;
}

.apple-logo-wrapper {
  width: 220px;
  height: 220px;
  margin: 0 auto 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 122, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 122, 255, 0.15),
              0 10px 30px rgba(88, 86, 214, 0.1),
              inset 0 2px 4px rgba(255, 255, 255, 0.8);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                0 0 40px rgba(147, 51, 234, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
                0 0 60px rgba(147, 51, 234, 0.4);
  }
}

.apple-logo-icon {
  width: 40px;
  height: 40px;
  color: white;
}

.apple-logo-text {
  color: white;
}

.apple-logo-title {
  font-size: 3rem;
  font-weight: 400;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.apple-logo-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  margin: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.apple-main-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 300px);
  padding: 40px 20px 20px;
  position: relative;
  z-index: 10;
  margin-top: -100px;
}

.apple-login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(0, 61, 122, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 48px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 61, 122, 0.25),
              0 0 100px rgba(0, 61, 122, 0.15);
  border: 2px solid #003d7a;
  animation: card-float 6s ease-in-out infinite;
  /* GPU Acceleration for smoother animations */
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

@keyframes card-float {
  0%, 100% { transform: translateY(0px) translateZ(0); }
  50% { transform: translateY(-10px) translateZ(0); }
}

.apple-card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: #003d7a;
  border-radius: 30px;
  opacity: 0.8;
  z-index: -1;
  filter: blur(20px);
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.8; }
}

.apple-login-header {
  text-align: center;
  margin-bottom: 40px;
}

.apple-login-title {
  font-size: 2rem;
  font-weight: 400;
  color: #007AFF;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.apple-login-subtitle {
  font-size: 1rem;
  color: #007AFF;
  margin: 0;
}

.apple-login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.apple-input-group {
  position: relative;
}

.apple-input-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #007AFF;
  margin-bottom: 8px;
}

.apple-label-icon {
  width: 18px;
  height: 18px;
  color: #007AFF;
}

.apple-input-wrapper {
  position: relative;
}

.apple-input-field {
  width: 100%;
  padding: 16px;
  background: rgba(249, 250, 251, 0.8);
  border: 2px solid transparent;
  border-radius: 16px;
  font-size: 1rem;
  color: #1a1a1a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* GPU Acceleration for smoother animations */
  will-change: transform, border-color, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.apple-input-field:focus {
  outline: none;
  background: white;
  border-color: #9333ea;
  box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1),
              0 4px 12px rgba(147, 51, 234, 0.1);
  transform: translateY(-2px);
}

.apple-input-field::placeholder {
  color: #9ca3af;
  opacity: 0.7;
}

.apple-login-button {
  width: 100%;
  padding: 18px;
  background: #007AFF;
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.apple-login-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0051D5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.apple-login-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 122, 255, 0.3);
}

.apple-login-button:hover::before {
  opacity: 1;
}

.apple-login-button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 122, 255, 0.3);
}

.apple-login-button span {
  position: relative;
  z-index: 1;
}

.apple-button-icon {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-login-button:hover .apple-button-icon {
  transform: translateX(-5px);
}

[dir="rtl"] .apple-login-button:hover .apple-button-icon {
  transform: translateX(5px);
}

.apple-login-footer {
  margin-top: 32px;
  text-align: center;
}

.apple-footer-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #007AFF;
}

.apple-footer-icon {
  width: 16px;
  height: 16px;
  color: #007AFF;
}

.apple-footer-login {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  text-align: center;
  z-index: 10;
}

.apple-footer-content {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Responsive adjustments for login */
@media (max-width: 640px) {
  .apple-login-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .apple-logo-title {
    font-size: 2rem;
  }

  .apple-login-title {
    font-size: 1.5rem;
  }

  .apple-input-field {
    padding: 14px;
    font-size: 0.95rem;
  }

  .apple-login-button {
    padding: 16px;
    font-size: 1rem;
  }
}

/* Toast Notification Animations */
@keyframes progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.animate-progress-bar {
  animation: progress 5s linear forwards;
}
/*
 * COMPACT SIZING OVERRIDE
 * ========================
 * Global styles to reduce font sizes, padding, and margins
 * Making the application fit better on standard screens
 * Maintains readability for Arabic text
 */

/* ============================================
   ROOT VARIABLES - COMPACT SIZES
   ============================================ */
:root {
  /* Balanced Medium Font Sizes */
  --text-xs: 12px !important;
  --text-sm: 13px !important;
  --text-base: 14px !important;
  --text-lg: 16px !important;
  --text-xl: 18px !important;
  --text-2xl: 20px !important;
  --text-3xl: 22px !important;
  --text-4xl: 26px !important;
  --text-5xl: 30px !important;

  /* Balanced Apple Design System Sizes */
  --apple-text-xs: 12px !important;
  --apple-text-sm: 13px !important;
  --apple-text-base: 14px !important;
  --apple-text-lg: 16px !important;
  --apple-text-xl: 18px !important;
  --apple-text-2xl: 20px !important;
  --apple-text-3xl: 22px !important;
  --apple-text-4xl: 26px !important;
  --apple-text-5xl: 30px !important;

  /* Compact Spacing */
  --apple-spacing-1: 2px !important;
  --apple-spacing-2: 4px !important;
  --apple-spacing-3: 6px !important;
  --apple-spacing-4: 8px !important;
  --apple-spacing-5: 10px !important;
  --apple-spacing-6: 12px !important;
  --apple-spacing-7: 16px !important;
  --apple-spacing-8: 20px !important;
  --apple-spacing-9: 24px !important;
  --apple-spacing-10: 32px !important;

  /* Tighter Line Heights */
  --line-height-tight: 1.2 !important;
  --line-height-normal: 1.4 !important;
  --line-height-relaxed: 1.5 !important;
  --line-height-loose: 1.6 !important;
}

/* ============================================
   GLOBAL TEXT SIZE REDUCTIONS
   ============================================ */

/* Body and General Text */
body,
p,
span,
div {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  line-height: 1.4 !important;
  line-height: var(--line-height-normal) !important;
}

/* Headings - Compact Sizes */
h1, .h1,
.apple-title-large {
  font-size: 26px !important;
  font-size: var(--text-4xl) !important;
  line-height: 1.2 !important;
  line-height: var(--line-height-tight) !important;
  margin-bottom: 0.75rem !important;
  margin-top: 0 !important;
}

h2, .h2,
.apple-title-1 {
  font-size: 22px !important;
  font-size: var(--text-3xl) !important;
  line-height: 1.2 !important;
  line-height: var(--line-height-tight) !important;
  margin-bottom: 0.625rem !important;
  margin-top: 0 !important;
}

h3, .h3,
.apple-title-2 {
  font-size: 20px !important;
  font-size: var(--text-2xl) !important;
  line-height: 1.2 !important;
  line-height: var(--line-height-tight) !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0 !important;
}

h4, .h4,
.apple-title-3 {
  font-size: 18px !important;
  font-size: var(--text-xl) !important;
  line-height: 1.4 !important;
  line-height: var(--line-height-normal) !important;
  margin-bottom: 0.375rem !important;
  margin-top: 0 !important;
}

h5, .h5,
.apple-headline {
  font-size: 16px !important;
  font-size: var(--text-lg) !important;
  line-height: 1.4 !important;
  line-height: var(--line-height-normal) !important;
  margin-bottom: 0.25rem !important;
  margin-top: 0 !important;
}

h6, .h6 {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  line-height: 1.4 !important;
  line-height: var(--line-height-normal) !important;
  margin-bottom: 0.25rem !important;
  margin-top: 0 !important;
}

/* ============================================
   NAVIGATION & SIDEBAR
   ============================================ */

/* Sidebar Compact */
.sidebar,
nav[role="navigation"],
.navigation-sidebar {
  width: 200px !important;
  padding: 8px !important;
}

.sidebar-link,
.nav-link,
.navigation-item {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 6px 10px !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
  line-height: var(--line-height-tight) !important;
}

.sidebar-header,
.nav-header {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  padding: 8px 10px !important;
  margin-bottom: 8px !important;
}

/* ============================================
   CARDS & CONTAINERS
   ============================================ */

/* Card Compact Padding */
.card,
.panel,
.content-card,
.glass-card,
.premium-card {
  padding: 12px !important;
  margin-bottom: 12px !important;
}

.card-header,
.panel-header {
  font-size: 16px !important;
  font-size: var(--text-lg) !important;
  padding: 10px 12px !important;
  margin-bottom: 8px !important;
}

.card-body,
.panel-body {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  padding: 12px !important;
}

.card-footer,
.panel-footer {
  padding: 8px 12px !important;
  margin-top: 8px !important;
}

/* Stat Cards */
.stat-card,
.stats-card,
.metric-card {
  padding: 10px !important;
  min-height: auto !important;
}

.stat-value,
.metric-value {
  font-size: 20px !important;
  font-size: var(--text-2xl) !important;
  line-height: 1.2 !important;
  line-height: var(--line-height-tight) !important;
  margin: 4px 0 !important;
}

.stat-label,
.metric-label {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  margin-bottom: 4px !important;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

/* Form Elements Compact */
label,
.form-label {
  font-size: 13px !important;
  margin-bottom: 3px !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
select,
.form-control,
.form-input {
  font-size: 14px !important;
  padding: 6px 10px !important;
  height: 32px !important;
  line-height: 1.2 !important;
  line-height: var(--line-height-tight) !important;
}

textarea {
  min-height: 60px !important;
  line-height: 1.4 !important;
  line-height: var(--line-height-normal) !important;
}

/* Select Dropdowns */
select,
.select-control {
  height: 32px !important;
  padding: 4px 8px !important;
}

/* Form Groups */
.form-group,
.input-group {
  margin-bottom: 12px !important;
}

/* ============================================
   BUTTONS
   ============================================ */

button,
.btn,
.button,
.btn-primary,
.btn-secondary,
.premium-btn {
  font-size: 14px !important;
  padding: 6px 14px !important;
  height: 32px !important;
  line-height: 1 !important;
  border-radius: 6px !important;
}

/* Large Buttons */
.btn-lg,
.button-large {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  padding: 8px 16px !important;
  height: 36px !important;
}

/* Small Buttons */
.btn-sm,
.button-small {
  font-size: 12px !important;
  padding: 4px 10px !important;
  height: 24px !important;
}

/* Icon Buttons */
.btn-icon,
.icon-button {
  width: 32px !important;
  height: 32px !important;
  padding: 6px !important;
}

/* ============================================
   TABLES
   ============================================ */

/* Table Compact */
table {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
}

th,
.table-header {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 8px 10px !important;
  height: 36px !important;
}

td,
.table-cell {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 6px 10px !important;
  height: 32px !important;
}

/* Table Actions */
.table-actions {
  gap: 4px !important;
}

.table-actions button {
  padding: 4px 8px !important;
  font-size: 12px !important;
  height: 24px !important;
}

/* ============================================
   MODALS & DIALOGS
   ============================================ */

.modal-header,
.dialog-header {
  font-size: 16px !important;
  font-size: var(--text-lg) !important;
  padding: 12px 16px !important;
}

.modal-body,
.dialog-body {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  padding: 16px !important;
}

.modal-footer,
.dialog-footer {
  padding: 12px 16px !important;
}

/* ============================================
   BADGES & TAGS
   ============================================ */

.badge,
.tag,
.chip,
.status-badge {
  font-size: 12px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  line-height: 1.2 !important;
}

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

/* Dashboard Header */
.dashboard-header,
.page-header {
  padding: 12px 16px !important;
  margin-bottom: 12px !important;
}

.dashboard-title,
.page-title {
  font-size: 20px !important;
  font-size: var(--text-2xl) !important;
  margin: 0 !important;
}

/* Dashboard Grid */
.dashboard-grid {
  gap: 12px !important;
  padding: 12px !important;
}

/* Dashboard Content */
.dashboard-content,
.main-content {
  padding: 12px !important;
}

/* ============================================
   MEMBER MANAGEMENT SPECIFIC
   ============================================ */

/* Member Cards */
.member-card {
  padding: 10px !important;
  margin-bottom: 8px !important;
}

.member-name {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  margin-bottom: 4px !important;
}

.member-info {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  line-height: 1.4 !important;
  line-height: var(--line-height-normal) !important;
}

/* Member Table */
.members-table th {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 8px !important;
}

.members-table td {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 6px 8px !important;
}

/* ============================================
   MOBILE APP SPECIFIC
   ============================================ */

/* Mobile Headers */
.mobile-header {
  padding: 8px 12px !important;
  height: 48px !important;
}

.mobile-header h1,
.mobile-header h2 {
  font-size: 16px !important;
  font-size: var(--text-lg) !important;
}

/* Mobile Cards */
.mobile-card {
  padding: 10px !important;
  margin-bottom: 10px !important;
}

.mobile-card-title {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  margin-bottom: 6px !important;
}

/* Balance Display */
.balance-amount {
  font-size: 20px !important;
  font-size: var(--text-2xl) !important;
}

.balance-label {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
}

/* Mobile Navigation */
.mobile-nav,
.bottom-nav {
  height: 48px !important;
  padding: 4px !important;
}

.mobile-nav-item,
.bottom-nav-item {
  font-size: 12px !important;
  padding: 4px !important;
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

.notification-card {
  padding: 8px !important;
  margin-bottom: 8px !important;
}

.notification-title {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  margin-bottom: 4px !important;
}

.notification-body {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  line-height: 1.4 !important;
  line-height: var(--line-height-normal) !important;
}

/* ============================================
   ARABIC TEXT OPTIMIZATIONS
   ============================================ */

/* Arabic specific adjustments for compact size */
[dir="rtl"] {
  letter-spacing: 0 !important;
}

[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] div {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  line-height: 1.4 !important;
  line-height: var(--line-height-normal) !important;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  letter-spacing: 0 !important;
}

[dir="rtl"] label {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  margin-bottom: 4px !important;
}

[dir="rtl"] button {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  letter-spacing: 0 !important;
}

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

/* Margins */
.m-0 { margin: 0 !important; }
.m-1 { margin: 4px !important; }
.m-2 { margin: 8px !important; }
.m-3 { margin: 12px !important; }
.m-4 { margin: 16px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }

/* Padding */
.p-0 { padding: 0 !important; }
.p-1 { padding: 4px !important; }
.p-2 { padding: 8px !important; }
.p-3 { padding: 12px !important; }
.p-4 { padding: 16px !important; }

.px-1 { padding-left: 4px !important; padding-right: 4px !important; }
.px-2 { padding-left: 8px !important; padding-right: 8px !important; }
.px-3 { padding-left: 12px !important; padding-right: 12px !important; }
.px-4 { padding-left: 16px !important; padding-right: 16px !important; }

.py-1 { padding-top: 4px !important; padding-bottom: 4px !important; }
.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-3 { padding-top: 12px !important; padding-bottom: 12px !important; }
.py-4 { padding-top: 16px !important; padding-bottom: 16px !important; }

/* Gap for Flexbox/Grid */
.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 12px !important; }
.gap-4 { gap: 16px !important; }

/* ============================================
   SPECIFIC COMPONENT OVERRIDES
   ============================================ */

/* Premium Import/Export */
.import-step-header,
.export-step-header {
  font-size: 16px !important;
  font-size: var(--text-lg) !important;
  padding: 8px !important;
}

.import-dropzone,
.export-options {
  padding: 16px !important;
  margin: 8px 0 !important;
}

/* Registration Form */
.registration-step {
  padding: 12px !important;
}

.registration-field-group {
  margin-bottom: 12px !important;
}

/* Financial Reports */
.report-header {
  font-size: 16px !important;
  font-size: var(--text-lg) !important;
  padding: 10px !important;
}

.report-summary {
  padding: 10px !important;
  margin-bottom: 10px !important;
}

.report-table {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
}

/* Expense Management */
.expense-card {
  padding: 10px !important;
  margin-bottom: 8px !important;
}

.expense-amount {
  font-size: 16px !important;
  font-size: var(--text-lg) !important;
}

.expense-details {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
}

/* ============================================
   CHARTS & GRAPHS
   ============================================ */

.chart-container {
  padding: 12px !important;
  margin-bottom: 12px !important;
}

.chart-title {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  margin-bottom: 8px !important;
}

.chart-legend {
  font-size: 12px !important;
}

/* ============================================
   TOOLTIPS & POPOVERS
   ============================================ */

.tooltip,
.popover {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 4px 8px !important;
}

/* ============================================
   BREADCRUMBS & PAGINATION
   ============================================ */

.breadcrumb {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 4px 0 !important;
  margin-bottom: 8px !important;
}

.breadcrumb-item {
  padding: 0 4px !important;
}

.pagination {
  gap: 4px !important;
  margin: 12px 0 !important;
}

.page-link {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 4px 8px !important;
  height: 28px !important;
}

/* ============================================
   TABS & TAB NAVIGATION
   ============================================ */

.tabs,
.tab-list {
  margin-bottom: 12px !important;
}

.tab,
.tab-button {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 6px 12px !important;
  margin-right: 4px !important;
}

.tab-content,
.tab-panel {
  padding: 12px !important;
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */

.alert,
.message,
.notification {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  padding: 8px 12px !important;
  margin-bottom: 8px !important;
}

.alert-title {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  margin-bottom: 4px !important;
}

/* ============================================
   LOADING & PROGRESS
   ============================================ */

.loading-spinner {
  width: 24px !important;
  height: 24px !important;
}

.progress-bar {
  height: 16px !important;
}

.progress-label {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
}

/* ============================================
   DROPDOWN MENUS
   ============================================ */

.dropdown-menu {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 4px !important;
}

.dropdown-item {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 6px 10px !important;
}

/* ============================================
   SEARCH BARS
   ============================================ */

.search-bar,
.search-input {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  padding: 6px 10px !important;
  height: 32px !important;
}

.search-button {
  height: 32px !important;
  width: 32px !important;
  padding: 6px !important;
}

/* ============================================
   FILE UPLOAD
   ============================================ */

.file-upload-area {
  padding: 16px !important;
  margin: 8px 0 !important;
}

.file-upload-text {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
}

.file-list-item {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 4px 8px !important;
}

/* ============================================
   STEPPER / WIZARD
   ============================================ */

.stepper-header {
  padding: 8px !important;
  margin-bottom: 12px !important;
}

.step-indicator {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 4px 8px !important;
}

.step-content {
  padding: 12px !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Small screens */
@media (max-width: 768px) {
  :root {
    --text-base: 11px !important;
    --text-lg: 13px !important;
    --text-xl: 14px !important;
    --text-2xl: 15px !important;
    --text-3xl: 17px !important;
    --text-4xl: 19px !important;
  }

  .sidebar {
    width: 180px !important;
  }

  .card,
  .panel {
    padding: 8px !important;
  }

  button,
  .btn {
    padding: 5px 10px !important;
    height: 28px !important;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  :root {
    --text-base: 10px !important;
    --text-lg: 12px !important;
    --text-xl: 13px !important;
    --text-2xl: 14px !important;
    --text-3xl: 16px !important;
    --text-4xl: 18px !important;
  }

  .mobile-header {
    height: 44px !important;
  }

  .mobile-nav {
    height: 44px !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  body {
    font-size: 10pt !important;
  }

  h1 { font-size: 16pt !important; }
  h2 { font-size: 14pt !important; }
  h3 { font-size: 12pt !important; }
  h4 { font-size: 11pt !important; }

  p, td, li {
    font-size: 10pt !important;
    line-height: 1.4 !important;
  }

  .no-print {
    display: none !important;
  }
}

/* ============================================
   IMPORTANT OVERRIDES
   ============================================ */

/* Force compact sizing on specific elements that might resist */
.force-compact * {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 4px 8px !important;
  margin: 4px 0 !important;
}

/* Ensure readability is maintained */
.preserve-readability {
  font-size: 14px !important;
  font-size: var(--text-base) !important;
  line-height: 1.5 !important;
  line-height: var(--line-height-relaxed) !important;
}

/* ============================================
   FINAL ADJUSTMENTS
   ============================================ */

/* Remove excessive white space */
.container,
.wrapper,
.main-wrapper {
  padding: 12px !important;
  max-width: 100% !important;
}

/* Compact layout for main sections */
main,
.main-content,
.content-area {
  padding: 12px !important;
}

/* Reduce section spacing */
section {
  margin-bottom: 16px !important;
  padding: 12px !important;
}

/* Optimize scrollable areas */
.scrollable,
.overflow-auto,
.overflow-y-auto {
  padding-right: 4px !important;
}

/* Compact sidebar and main content layout */
.layout-container {
  gap: 12px !important;
}

/* Ensure tables don't overflow */
.table-container,
.table-wrapper {
  overflow-x: auto !important;
  max-width: 100% !important;
}

table {
  width: 100% !important;
  table-layout: fixed !important;
}

/* Compact error and success messages */
.error-message,
.success-message,
.warning-message,
.info-message {
  font-size: 13px !important;
  font-size: var(--text-sm) !important;
  padding: 6px 10px !important;
  margin: 8px 0 !important;
}
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
  tab-size: 4; /* 3 */
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Display, Inter, Cairo, Tajawal, system-ui, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
  -webkit-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}

[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}

input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}

::-webkit-datetime-edit {
  display: inline-flex;
}

::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M6 8l4 4 4-4%27/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}

[multiple],[size]:where(select:not([size="1"])) {
  background-image: none;
  background-image: initial;
  background-position: 0 0;
  background-position: initial;
  background-repeat: repeat;
  background-repeat: initial;
  background-size: auto auto;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: inherit;
          print-color-adjust: inherit;
}

[type='checkbox'],[type='radio'] {
  -webkit-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}

[type='checkbox'] {
  border-radius: 0px;
}

[type='radio'] {
  border-radius: 100%;
}

[type='checkbox']:focus,[type='radio']:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

[type='checkbox']:checked,[type='radio']:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

[type='checkbox']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27white%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z%27/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {

  [type='checkbox']:checked {
    -webkit-appearance: auto;
            appearance: auto;
  }
}

[type='radio']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27white%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3ccircle cx=%278%27 cy=%278%27 r=%273%27/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {

  [type='radio']:checked {
    -webkit-appearance: auto;
            appearance: auto;
  }
}

[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
  border-color: transparent;
  background-color: currentColor;
}

[type='checkbox']:indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 16 16%27%3e%3cpath stroke=%27white%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M4 8h8%27/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media (forced-colors: active)  {

  [type='checkbox']:indeterminate {
    -webkit-appearance: auto;
            appearance: auto;
  }
}

[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}

[type='file'] {
  background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
  background: initial;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

[type='file']:focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}
  * {
    box-sizing: border-box;
  }

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

  #root {
    height: 100vh;
    overflow: hidden;
  }

  body {
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Display, Inter, Cairo, Tajawal, system-ui, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;

    /* Apple Design System Integration */
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Cairo', 'Tajawal', system-ui, sans-serif;
    background: #ffffff;
    background: var(--apple-bg-primary, #ffffff);
    color: #000000;
    color: var(--apple-label-primary, #000000);
}

  /* Optimized RTL Support */
  [dir="rtl"] {
    direction: rtl;
    text-align: right;
  }

  /* Enhanced Arabic Typography */
  .arabic-text {
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Display, Inter, Cairo, Tajawal, system-ui, sans-serif;
    direction: rtl;
    text-align: right;
    font-feature-settings: 'liga', 'kern';
}

  .arabic-numbers {
    font-feature-settings: normal;
    font-variant-numeric: normal;
    direction: ltr;
    display: inline-block;
  }
.\!container {
  width: 100% !important;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .\!container {
    max-width: 640px !important;
  }

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}
.form-input,.form-textarea,.form-select,.form-multiselect {
  -webkit-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}
.form-input:focus, .form-textarea:focus, .form-select:focus, .form-multiselect:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}
.form-input::placeholder,.form-textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
.form-input::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
.form-input::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}
.form-input::-webkit-datetime-edit {
  display: inline-flex;
}
.form-input::-webkit-datetime-edit,.form-input::-webkit-datetime-edit-year-field,.form-input::-webkit-datetime-edit-month-field,.form-input::-webkit-datetime-edit-day-field,.form-input::-webkit-datetime-edit-hour-field,.form-input::-webkit-datetime-edit-minute-field,.form-input::-webkit-datetime-edit-second-field,.form-input::-webkit-datetime-edit-millisecond-field,.form-input::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M6 8l4 4 4-4%27/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}
.form-select:where([size]:not([size="1"])) {
  background-image: none;
  background-image: initial;
  background-position: 0 0;
  background-position: initial;
  background-repeat: repeat;
  background-repeat: initial;
  background-size: auto auto;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: inherit;
          print-color-adjust: inherit;
}
.prose {
  color: var(--tw-prose-body);
  max-width: 65ch;
}
.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}
.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}
.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}
.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  -webkit-padding-start: 1.625em;
          padding-inline-start: 1.625em;
}
.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}
.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}
.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}
.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}
.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}
.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}
.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}
.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}
.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}
.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  -webkit-padding-start: 1.625em;
          padding-inline-start: 1.625em;
}
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}
.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}
.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}
.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  -webkit-padding-start: 1em;
          padding-inline-start: 1em;
}
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}
.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}
.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}
.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}
.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}
.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}
.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}
.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}
.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}
.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}
.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  -webkit-padding-end: 0.375em;
          padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  -webkit-padding-start: 0.375em;
          padding-inline-start: 0.375em;
}
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}
.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}
.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}
.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}
.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  -webkit-padding-end: 1.1428571em;
          padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  -webkit-padding-start: 1.1428571em;
          padding-inline-start: 1.1428571em;
}
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}
.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}
.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  -webkit-padding-end: 0.5714286em;
          padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  -webkit-padding-start: 0.5714286em;
          padding-inline-start: 0.5714286em;
}
.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}
.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}
.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}
.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}
.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}
.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  text-align: start;
}
.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}
.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}
.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-start: 0.375em;
          padding-inline-start: 0.375em;
}
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-start: 0.375em;
          padding-inline-start: 0.375em;
}
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}
.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}
.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}
.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}
.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  -webkit-padding-start: 1.625em;
          padding-inline-start: 1.625em;
}
.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}
.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-end: 0;
          padding-inline-end: 0;
}
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  -webkit-padding-end: 0.5714286em;
          padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  -webkit-padding-start: 0.5714286em;
          padding-inline-start: 0.5714286em;
}
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-end: 0;
          padding-inline-end: 0;
}
.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}
.prose-lg {
  font-size: 1.125rem;
  line-height: 1.7777778;
}
.prose-lg :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
}
.prose-lg :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.2222222em;
  line-height: 1.4545455;
  margin-top: 1.0909091em;
  margin-bottom: 1.0909091em;
}
.prose-lg :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.6666667em;
  margin-bottom: 1.6666667em;
  -webkit-padding-start: 1em;
          padding-inline-start: 1em;
}
.prose-lg :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 2.6666667em;
  margin-top: 0;
  margin-bottom: 0.8333333em;
  line-height: 1;
}
.prose-lg :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.6666667em;
  margin-top: 1.8666667em;
  margin-bottom: 1.0666667em;
  line-height: 1.3333333;
}
.prose-lg :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.3333333em;
  margin-top: 1.6666667em;
  margin-bottom: 0.6666667em;
  line-height: 1.5;
}
.prose-lg :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 0.4444444em;
  line-height: 1.5555556;
}
.prose-lg :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}
.prose-lg :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}
.prose-lg :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.prose-lg :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}
.prose-lg :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
  border-radius: 0.3125rem;
  padding-top: 0.2222222em;
  -webkit-padding-end: 0.4444444em;
          padding-inline-end: 0.4444444em;
  padding-bottom: 0.2222222em;
  -webkit-padding-start: 0.4444444em;
          padding-inline-start: 0.4444444em;
}
.prose-lg :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
}
.prose-lg :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8666667em;
}
.prose-lg :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.875em;
}
.prose-lg :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
  line-height: 1.75;
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.375rem;
  padding-top: 1em;
  -webkit-padding-end: 1.5em;
          padding-inline-end: 1.5em;
  padding-bottom: 1em;
  -webkit-padding-start: 1.5em;
          padding-inline-start: 1.5em;
}
.prose-lg :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  -webkit-padding-start: 1.5555556em;
          padding-inline-start: 1.5555556em;
}
.prose-lg :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  -webkit-padding-start: 1.5555556em;
          padding-inline-start: 1.5555556em;
}
.prose-lg :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.6666667em;
  margin-bottom: 0.6666667em;
}
.prose-lg :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-start: 0.4444444em;
          padding-inline-start: 0.4444444em;
}
.prose-lg :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-start: 0.4444444em;
          padding-inline-start: 0.4444444em;
}
.prose-lg :where(.prose-lg > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.8888889em;
  margin-bottom: 0.8888889em;
}
.prose-lg :where(.prose-lg > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
}
.prose-lg :where(.prose-lg > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.3333333em;
}
.prose-lg :where(.prose-lg > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
}
.prose-lg :where(.prose-lg > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.3333333em;
}
.prose-lg :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.8888889em;
  margin-bottom: 0.8888889em;
}
.prose-lg :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
}
.prose-lg :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
}
.prose-lg :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.6666667em;
  -webkit-padding-start: 1.5555556em;
          padding-inline-start: 1.5555556em;
}
.prose-lg :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 3.1111111em;
  margin-bottom: 3.1111111em;
}
.prose-lg :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose-lg :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose-lg :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose-lg :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose-lg :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
  line-height: 1.5;
}
.prose-lg :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-end: 0.75em;
          padding-inline-end: 0.75em;
  padding-bottom: 0.75em;
  -webkit-padding-start: 0.75em;
          padding-inline-start: 0.75em;
}
.prose-lg :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}
.prose-lg :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-end: 0;
          padding-inline-end: 0;
}
.prose-lg :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.75em;
  -webkit-padding-end: 0.75em;
          padding-inline-end: 0.75em;
  padding-bottom: 0.75em;
  -webkit-padding-start: 0.75em;
          padding-inline-start: 0.75em;
}
.prose-lg :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}
.prose-lg :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  -webkit-padding-end: 0;
          padding-inline-end: 0;
}
.prose-lg :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}
.prose-lg :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.prose-lg :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
  line-height: 1.5;
  margin-top: 1em;
}
.prose-lg :where(.prose-lg > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}
.prose-lg :where(.prose-lg > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}
/* Optimized Loading Animations with better performance */
.loading-spinner {
  margin-left: auto;
  margin-right: auto;
  height: 2.5rem;
  width: 2.5rem;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.loading-spinner {
  animation: spin 1s linear infinite;
  border-radius: 9999px;
  border-width: 4px;
  border-color: rgb(229 231 235 / 1);
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-border-opacity: 1;
  border-top-color: rgb(59 130 246 / 1);
  border-top-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
    will-change: transform;
}
/* Reusable Card Component */
.card {
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / 1);
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / 1);
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    transition: box-shadow 0.2s ease;
}
.card:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
/* Button Base Styles */
.btn-primary {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / 1);
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.btn-primary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / 1);
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.btn-secondary {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / 1);
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / 1);
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.btn-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / 1);
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: -webkit-sticky;
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.-bottom-1 {
  bottom: -0.25rem;
}
.-bottom-40 {
  bottom: -10rem;
}
.-left-40 {
  left: -10rem;
}
.-right-1 {
  right: -0.25rem;
}
.-right-40 {
  right: -10rem;
}
.-top-1 {
  top: -0.25rem;
}
.-top-16 {
  top: -4rem;
}
.-top-40 {
  top: -10rem;
}
.-top-8 {
  top: -2rem;
}
.bottom-0 {
  bottom: 0px;
}
.bottom-4 {
  bottom: 1rem;
}
.bottom-8 {
  bottom: 2rem;
}
.left-0 {
  left: 0px;
}
.left-1\/2 {
  left: 50%;
}
.left-3 {
  left: 0.75rem;
}
.left-4 {
  left: 1rem;
}
.left-8 {
  left: 2rem;
}
.right-0 {
  right: 0px;
}
.right-2 {
  right: 0.5rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.right-6 {
  right: 1.5rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-2 {
  top: 0.5rem;
}
.top-20 {
  top: 5rem;
}
.top-3 {
  top: 0.75rem;
}
.top-4 {
  top: 1rem;
}
.isolate {
  isolation: isolate;
}
.z-10 {
  z-index: 10;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-4 {
  grid-column: span 4 / span 4;
}
.col-span-6 {
  grid-column: span 6 / span 6;
}
.m-1 {
  margin: 0.25rem;
}
.m-4 {
  margin: 1rem;
}
.-mx-6 {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-3 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.ml-4 {
  margin-left: 1rem;
}
.ml-8 {
  margin-left: 2rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-20 {
  margin-right: 5rem;
}
.mr-3 {
  margin-right: 0.75rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mr-72 {
  margin-right: 18rem;
}
.mr-80 {
  margin-right: 20rem;
}
.mr-auto {
  margin-right: auto;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-20 {
  margin-top: 5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.table-row {
  display: table-row;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-0 {
  height: 0px;
}
.h-1 {
  height: 0.25rem;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-20 {
  height: 5rem;
}
.h-24 {
  height: 6rem;
}
.h-3 {
  height: 0.75rem;
}
.h-32 {
  height: 8rem;
}
.h-4 {
  height: 1rem;
}
.h-40 {
  height: 10rem;
}
.h-48 {
  height: 12rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-64 {
  height: 16rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-80 {
  height: 20rem;
}
.h-96 {
  height: 24rem;
}
.h-\[95vh\] {
  height: 95vh;
}
.h-full {
  height: 100%;
}
.h-screen {
  height: 100vh;
}
.max-h-32 {
  max-height: 8rem;
}
.max-h-48 {
  max-height: 12rem;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.\!min-h-10 {
  min-height: 2.5rem !important;
}
.\!min-h-8 {
  min-height: 2rem !important;
}
.min-h-screen {
  min-height: 100vh;
}
.w-0 {
  width: 0px;
}
.w-0\.5 {
  width: 0.125rem;
}
.w-1\/3 {
  width: 33.333333%;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-20 {
  width: 5rem;
}
.w-24 {
  width: 6rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\/4 {
  width: 75%;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-64 {
  width: 16rem;
}
.w-7 {
  width: 1.75rem;
}
.w-72 {
  width: 18rem;
}
.w-8 {
  width: 2rem;
}
.w-80 {
  width: 20rem;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-64 {
  min-width: 16rem;
}
.min-w-\[120px\] {
  min-width: 120px;
}
.min-w-\[140px\] {
  min-width: 140px;
}
.min-w-\[320px\] {
  min-width: 320px;
}
.min-w-full {
  min-width: 100%;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.max-w-full {
  max-width: 100%;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-none {
  max-width: none;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-xs {
  max-width: 20rem;
}
.flex-1 {
  flex: 1 1;
}
.flex-shrink {
  flex-shrink: 1;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.border-collapse {
  border-collapse: collapse;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-4 {
  --tw-translate-y: -1rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-0 {
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-full {
  --tw-translate-x: 100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-0 {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes bounce {

  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8,0,1,1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0,0,0.2,1);
  }
}
.animate-bounce {
  animation: bounce 1s infinite;
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-pointer {
  cursor: pointer;
}
.resize-none {
  resize: none;
}
.resize {
  resize: both;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.space-x-reverse > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(229 231 235 / 1);
  border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1));
}
.divide-white\/10 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgb(255 255 255 / 0.1);
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.rounded-t-lg {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-2 {
  border-width: 2px;
}
.border-4 {
  border-width: 4px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-b-4 {
  border-bottom-width: 4px;
}
.border-l {
  border-left-width: 1px;
}
.border-l-4 {
  border-left-width: 4px;
}
.border-r-4 {
  border-right-width: 4px;
}
.border-t {
  border-top-width: 1px;
}
.border-t-4 {
  border-top-width: 4px;
}
.border-dashed {
  border-style: dashed;
}
.border-amber-500 {
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / 1);
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
.border-blue-200 {
  --tw-border-opacity: 1;
  border-color: rgb(191 219 254 / 1);
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}
.border-blue-300 {
  --tw-border-opacity: 1;
  border-color: rgb(147 197 253 / 1);
  border-color: rgb(147 197 253 / var(--tw-border-opacity, 1));
}
.border-blue-400 {
  --tw-border-opacity: 1;
  border-color: rgb(96 165 250 / 1);
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
}
.border-blue-400\/30 {
  border-color: rgb(96 165 250 / 0.3);
}
.border-blue-500 {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / 1);
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-blue-500\/20 {
  border-color: rgb(59 130 246 / 0.2);
}
.border-blue-500\/30 {
  border-color: rgb(59 130 246 / 0.3);
}
.border-blue-600 {
  --tw-border-opacity: 1;
  border-color: rgb(37 99 235 / 1);
  border-color: rgb(37 99 235 / var(--tw-border-opacity, 1));
}
.border-blue-700 {
  --tw-border-opacity: 1;
  border-color: rgb(29 78 216 / 1);
  border-color: rgb(29 78 216 / var(--tw-border-opacity, 1));
}
.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / 1);
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / 1);
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / 1);
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-gray-500\/30 {
  border-color: rgb(107 114 128 / 0.3);
}
.border-gray-600 {
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / 1);
  border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
}
.border-green-200 {
  --tw-border-opacity: 1;
  border-color: rgb(187 247 208 / 1);
  border-color: rgb(187 247 208 / var(--tw-border-opacity, 1));
}
.border-green-400 {
  --tw-border-opacity: 1;
  border-color: rgb(74 222 128 / 1);
  border-color: rgb(74 222 128 / var(--tw-border-opacity, 1));
}
.border-green-500 {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / 1);
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}
.border-green-500\/30 {
  border-color: rgb(34 197 94 / 0.3);
}
.border-green-600 {
  --tw-border-opacity: 1;
  border-color: rgb(22 163 74 / 1);
  border-color: rgb(22 163 74 / var(--tw-border-opacity, 1));
}
.border-indigo-100 {
  --tw-border-opacity: 1;
  border-color: rgb(224 231 255 / 1);
  border-color: rgb(224 231 255 / var(--tw-border-opacity, 1));
}
.border-orange-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 215 170 / 1);
  border-color: rgb(254 215 170 / var(--tw-border-opacity, 1));
}
.border-orange-400 {
  --tw-border-opacity: 1;
  border-color: rgb(251 146 60 / 1);
  border-color: rgb(251 146 60 / var(--tw-border-opacity, 1));
}
.border-orange-500\/30 {
  border-color: rgb(249 115 22 / 0.3);
}
.border-orange-600 {
  --tw-border-opacity: 1;
  border-color: rgb(234 88 12 / 1);
  border-color: rgb(234 88 12 / var(--tw-border-opacity, 1));
}
.border-pink-500 {
  --tw-border-opacity: 1;
  border-color: rgb(236 72 153 / 1);
  border-color: rgb(236 72 153 / var(--tw-border-opacity, 1));
}
.border-purple-200 {
  --tw-border-opacity: 1;
  border-color: rgb(233 213 255 / 1);
  border-color: rgb(233 213 255 / var(--tw-border-opacity, 1));
}
.border-purple-500\/30 {
  border-color: rgb(168 85 247 / 0.3);
}
.border-purple-600 {
  --tw-border-opacity: 1;
  border-color: rgb(147 51 234 / 1);
  border-color: rgb(147 51 234 / var(--tw-border-opacity, 1));
}
.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / 1);
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}
.border-red-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 165 165 / 1);
  border-color: rgb(252 165 165 / var(--tw-border-opacity, 1));
}
.border-red-400 {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / 1);
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1));
}
.border-red-400\/30 {
  border-color: rgb(248 113 113 / 0.3);
}
.border-red-500 {
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / 1);
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
}
.border-red-500\/20 {
  border-color: rgb(239 68 68 / 0.2);
}
.border-slate-100 {
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / 1);
  border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
}
.border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / 1);
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}
.border-transparent {
  border-color: transparent;
}
.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / 1);
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}
.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}
.border-white\/5 {
  border-color: rgb(255 255 255 / 0.05);
}
.border-yellow-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 240 138 / 1);
  border-color: rgb(254 240 138 / var(--tw-border-opacity, 1));
}
.border-yellow-400 {
  --tw-border-opacity: 1;
  border-color: rgb(250 204 21 / 1);
  border-color: rgb(250 204 21 / var(--tw-border-opacity, 1));
}
.border-yellow-500\/20 {
  border-color: rgb(234 179 8 / 0.2);
}
.border-b-green-600 {
  --tw-border-opacity: 1;
  border-bottom-color: rgb(22 163 74 / 1);
  border-bottom-color: rgb(22 163 74 / var(--tw-border-opacity, 1));
}
.border-t-blue-600 {
  --tw-border-opacity: 1;
  border-top-color: rgb(37 99 235 / 1);
  border-top-color: rgb(37 99 235 / var(--tw-border-opacity, 1));
}
.border-t-red-600 {
  --tw-border-opacity: 1;
  border-top-color: rgb(220 38 38 / 1);
  border-top-color: rgb(220 38 38 / var(--tw-border-opacity, 1));
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / 1);
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / 1);
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}
.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / 1);
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}
.bg-blue-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(96 165 250 / 1);
  background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}
.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / 1);
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / 1);
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.bg-blue-500\/10 {
  background-color: rgb(59 130 246 / 0.1);
}
.bg-blue-500\/20 {
  background-color: rgb(59 130 246 / 0.2);
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / 1);
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-emerald-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / 1);
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
}
.bg-emerald-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / 1);
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / 1);
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / 1);
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / 1);
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / 1);
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.bg-gray-50\/50 {
  background-color: rgb(249 250 251 / 0.5);
}
.bg-gray-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / 1);
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}
.bg-gray-500\/20 {
  background-color: rgb(107 114 128 / 0.2);
}
.bg-gray-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / 1);
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / 1);
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / 1);
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / 1);
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}
.bg-green-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(74 222 128 / 1);
  background-color: rgb(74 222 128 / var(--tw-bg-opacity, 1));
}
.bg-green-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / 1);
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / 1);
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-green-500\/20 {
  background-color: rgb(34 197 94 / 0.2);
}
.bg-green-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / 1);
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.bg-indigo-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 255 / 1);
  background-color: rgb(224 231 255 / var(--tw-bg-opacity, 1));
}
.bg-indigo-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(99 102 241 / 1);
  background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
}
.bg-orange-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 237 213 / 1);
  background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
}
.bg-orange-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 237 / 1);
  background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
}
.bg-orange-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 115 22 / 1);
  background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
}
.bg-orange-500\/20 {
  background-color: rgb(249 115 22 / 0.2);
}
.bg-orange-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / 1);
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}
.bg-pink-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 72 153 / 1);
  background-color: rgb(236 72 153 / var(--tw-bg-opacity, 1));
}
.bg-purple-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 232 255 / 1);
  background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}
.bg-purple-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / 1);
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}
.bg-purple-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(168 85 247 / 1);
  background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
}
.bg-purple-500\/20 {
  background-color: rgb(168 85 247 / 0.2);
}
.bg-purple-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / 1);
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}
.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / 1);
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}
.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / 1);
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / 1);
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-red-500\/10 {
  background-color: rgb(239 68 68 / 0.1);
}
.bg-red-500\/20 {
  background-color: rgb(239 68 68 / 0.2);
}
.bg-red-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / 1);
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-slate-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(30 41 59 / 1);
  background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1));
}
.bg-slate-800\/50 {
  background-color: rgb(30 41 59 / 0.5);
}
.bg-slate-900\/50 {
  background-color: rgb(15 23 42 / 0.5);
}
.bg-slate-900\/80 {
  background-color: rgb(15 23 42 / 0.8);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / 1);
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}
.bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}
.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}
.bg-white\/50 {
  background-color: rgb(255 255 255 / 0.5);
}
.bg-white\/70 {
  background-color: rgb(255 255 255 / 0.7);
}
.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9);
}
.bg-white\/95 {
  background-color: rgb(255 255 255 / 0.95);
}
.bg-white\/\[0\.03\] {
  background-color: rgb(255 255 255 / 0.03);
}
.bg-white\/\[0\.05\] {
  background-color: rgb(255 255 255 / 0.05);
}
.bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / 1);
  background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
}
.bg-yellow-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 204 21 / 1);
  background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
}
.bg-yellow-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 232 / 1);
  background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
}
.bg-yellow-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 179 8 / 1);
  background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
}
.bg-yellow-500\/10 {
  background-color: rgb(234 179 8 / 0.1);
}
.bg-yellow-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(202 138 4 / 1);
  background-color: rgb(202 138 4 / var(--tw-bg-opacity, 1));
}
.bg-opacity-20 {
  --tw-bg-opacity: 0.2;
}
.bg-opacity-30 {
  --tw-bg-opacity: 0.3;
}
.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}
.bg-opacity-70 {
  --tw-bg-opacity: 0.7;
}
.bg-opacity-90 {
  --tw-bg-opacity: 0.9;
}
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.bg-gradient-to-l {
  background-image: linear-gradient(to left, var(--tw-gradient-stops));
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-amber-100 {
  --tw-gradient-from: #fef3c7 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(254 243 199 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-amber-50 {
  --tw-gradient-from: #fffbeb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 251 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-amber-500 {
  --tw-gradient-from: #f59e0b var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(245 158 11 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-black\/30 {
  --tw-gradient-from: rgb(0 0 0 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-400 {
  --tw-gradient-from: #60a5fa var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-50 {
  --tw-gradient-from: #eff6ff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-500 {
  --tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-500\/20 {
  --tw-gradient-from: rgb(59 130 246 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600 {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600\/10 {
  --tw-gradient-from: rgb(37 99 235 / 0.1) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600\/20 {
  --tw-gradient-from: rgb(37 99 235 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600\/30 {
  --tw-gradient-from: rgb(37 99 235 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-cyan-500 {
  --tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-500 {
  --tw-gradient-from: #10b981 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-600 {
  --tw-gradient-from: #059669 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(5 150 105 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-100 {
  --tw-gradient-from: #f3f4f6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(243 244 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-400 {
  --tw-gradient-from: #9ca3af var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(156 163 175 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-50 {
  --tw-gradient-from: #f9fafb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-500 {
  --tw-gradient-from: #6b7280 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(107 114 128 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-500\/20 {
  --tw-gradient-from: rgb(107 114 128 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(107 114 128 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-600 {
  --tw-gradient-from: #4b5563 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(75 85 99 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-800 {
  --tw-gradient-from: #1f2937 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-100 {
  --tw-gradient-from: #dcfce7 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(220 252 231 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-50 {
  --tw-gradient-from: #f0fdf4 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(240 253 244 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-500 {
  --tw-gradient-from: #22c55e var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-500\/20 {
  --tw-gradient-from: rgb(34 197 94 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-600 {
  --tw-gradient-from: #16a34a var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-500 {
  --tw-gradient-from: #6366f1 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-900 {
  --tw-gradient-from: #312e81 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-500 {
  --tw-gradient-from: #f97316 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 115 22 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-500\/20 {
  --tw-gradient-from: rgb(249 115 22 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 115 22 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-600 {
  --tw-gradient-from: #ea580c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 88 12 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-pink-100 {
  --tw-gradient-from: #fce7f3 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(252 231 243 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-pink-50 {
  --tw-gradient-from: #fdf2f8 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(253 242 248 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-pink-500 {
  --tw-gradient-from: #ec4899 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-50 {
  --tw-gradient-from: #faf5ff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(250 245 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-500 {
  --tw-gradient-from: #a855f7 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-500\/20 {
  --tw-gradient-from: rgb(168 85 247 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-600 {
  --tw-gradient-from: #9333ea var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-500 {
  --tw-gradient-from: #ef4444 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-600 {
  --tw-gradient-from: #dc2626 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(220 38 38 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-slate-800\/50 {
  --tw-gradient-from: rgb(30 41 59 / 0.5) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(30 41 59 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-slate-950 {
  --tw-gradient-from: #020617 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(2 6 23 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-teal-500 {
  --tw-gradient-from: #14b8a6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(20 184 166 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-transparent {
  --tw-gradient-from: transparent var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-white {
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-100 {
  --tw-gradient-from: #fef9c3 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(254 249 195 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-400 {
  --tw-gradient-from: #facc15 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(250 204 21 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-500 {
  --tw-gradient-from: #eab308 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-blue-950 {
  --tw-gradient-to: rgb(23 37 84 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #172554 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-indigo-50 {
  --tw-gradient-to: rgb(238 242 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-purple-600\/20 {
  --tw-gradient-to: rgb(147 51 234 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(147 51 234 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-purple-800 {
  --tw-gradient-to: rgb(107 33 168 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #6b21a8 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-red-600 {
  --tw-gradient-to: rgb(220 38 38 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #dc2626 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-slate-900 {
  --tw-gradient-to: rgb(15 23 42 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #0f172a var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-white {
  --tw-gradient-to: rgb(255 255 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-amber-500 {
  --tw-gradient-to: #f59e0b var(--tw-gradient-to-position);
}
.to-amber-500\/20 {
  --tw-gradient-to: rgb(245 158 11 / 0.2) var(--tw-gradient-to-position);
}
.to-amber-600 {
  --tw-gradient-to: #d97706 var(--tw-gradient-to-position);
}
.to-blue-100 {
  --tw-gradient-to: #dbeafe var(--tw-gradient-to-position);
}
.to-blue-400 {
  --tw-gradient-to: #60a5fa var(--tw-gradient-to-position);
}
.to-blue-50 {
  --tw-gradient-to: #eff6ff var(--tw-gradient-to-position);
}
.to-blue-500 {
  --tw-gradient-to: #3b82f6 var(--tw-gradient-to-position);
}
.to-blue-600 {
  --tw-gradient-to: #2563eb var(--tw-gradient-to-position);
}
.to-blue-700 {
  --tw-gradient-to: #1d4ed8 var(--tw-gradient-to-position);
}
.to-cyan-500 {
  --tw-gradient-to: #06b6d4 var(--tw-gradient-to-position);
}
.to-cyan-600 {
  --tw-gradient-to: #0891b2 var(--tw-gradient-to-position);
}
.to-emerald-50 {
  --tw-gradient-to: #ecfdf5 var(--tw-gradient-to-position);
}
.to-emerald-500 {
  --tw-gradient-to: #10b981 var(--tw-gradient-to-position);
}
.to-emerald-500\/20 {
  --tw-gradient-to: rgb(16 185 129 / 0.2) var(--tw-gradient-to-position);
}
.to-emerald-600 {
  --tw-gradient-to: #059669 var(--tw-gradient-to-position);
}
.to-gray-100 {
  --tw-gradient-to: #f3f4f6 var(--tw-gradient-to-position);
}
.to-gray-200 {
  --tw-gradient-to: #e5e7eb var(--tw-gradient-to-position);
}
.to-gray-500 {
  --tw-gradient-to: #6b7280 var(--tw-gradient-to-position);
}
.to-gray-600 {
  --tw-gradient-to: #4b5563 var(--tw-gradient-to-position);
}
.to-gray-700 {
  --tw-gradient-to: #374151 var(--tw-gradient-to-position);
}
.to-gray-900 {
  --tw-gradient-to: #111827 var(--tw-gradient-to-position);
}
.to-green-400 {
  --tw-gradient-to: #4ade80 var(--tw-gradient-to-position);
}
.to-green-600 {
  --tw-gradient-to: #16a34a var(--tw-gradient-to-position);
}
.to-green-700 {
  --tw-gradient-to: #15803d var(--tw-gradient-to-position);
}
.to-indigo-100 {
  --tw-gradient-to: #e0e7ff var(--tw-gradient-to-position);
}
.to-indigo-500 {
  --tw-gradient-to: #6366f1 var(--tw-gradient-to-position);
}
.to-indigo-500\/20 {
  --tw-gradient-to: rgb(99 102 241 / 0.2) var(--tw-gradient-to-position);
}
.to-indigo-600 {
  --tw-gradient-to: #4f46e5 var(--tw-gradient-to-position);
}
.to-indigo-950 {
  --tw-gradient-to: #1e1b4b var(--tw-gradient-to-position);
}
.to-orange-100 {
  --tw-gradient-to: #ffedd5 var(--tw-gradient-to-position);
}
.to-orange-400 {
  --tw-gradient-to: #fb923c var(--tw-gradient-to-position);
}
.to-orange-50 {
  --tw-gradient-to: #fff7ed var(--tw-gradient-to-position);
}
.to-orange-500 {
  --tw-gradient-to: #f97316 var(--tw-gradient-to-position);
}
.to-orange-600 {
  --tw-gradient-to: #ea580c var(--tw-gradient-to-position);
}
.to-pink-500 {
  --tw-gradient-to: #ec4899 var(--tw-gradient-to-position);
}
.to-pink-500\/20 {
  --tw-gradient-to: rgb(236 72 153 / 0.2) var(--tw-gradient-to-position);
}
.to-pink-600 {
  --tw-gradient-to: #db2777 var(--tw-gradient-to-position);
}
.to-pink-600\/20 {
  --tw-gradient-to: rgb(219 39 119 / 0.2) var(--tw-gradient-to-position);
}
.to-pink-700 {
  --tw-gradient-to: #be185d var(--tw-gradient-to-position);
}
.to-purple-100 {
  --tw-gradient-to: #f3e8ff var(--tw-gradient-to-position);
}
.to-purple-400 {
  --tw-gradient-to: #c084fc var(--tw-gradient-to-position);
}
.to-purple-50 {
  --tw-gradient-to: #faf5ff var(--tw-gradient-to-position);
}
.to-purple-500 {
  --tw-gradient-to: #a855f7 var(--tw-gradient-to-position);
}
.to-purple-500\/20 {
  --tw-gradient-to: rgb(168 85 247 / 0.2) var(--tw-gradient-to-position);
}
.to-purple-600 {
  --tw-gradient-to: #9333ea var(--tw-gradient-to-position);
}
.to-purple-600\/10 {
  --tw-gradient-to: rgb(147 51 234 / 0.1) var(--tw-gradient-to-position);
}
.to-purple-600\/20 {
  --tw-gradient-to: rgb(147 51 234 / 0.2) var(--tw-gradient-to-position);
}
.to-purple-600\/30 {
  --tw-gradient-to: rgb(147 51 234 / 0.3) var(--tw-gradient-to-position);
}
.to-purple-700 {
  --tw-gradient-to: #7e22ce var(--tw-gradient-to-position);
}
.to-red-500 {
  --tw-gradient-to: #ef4444 var(--tw-gradient-to-position);
}
.to-red-600 {
  --tw-gradient-to: #dc2626 var(--tw-gradient-to-position);
}
.to-red-700 {
  --tw-gradient-to: #b91c1c var(--tw-gradient-to-position);
}
.to-rose-500 {
  --tw-gradient-to: #f43f5e var(--tw-gradient-to-position);
}
.to-rose-600 {
  --tw-gradient-to: #e11d48 var(--tw-gradient-to-position);
}
.to-slate-500\/20 {
  --tw-gradient-to: rgb(100 116 139 / 0.2) var(--tw-gradient-to-position);
}
.to-slate-900\/50 {
  --tw-gradient-to: rgb(15 23 42 / 0.5) var(--tw-gradient-to-position);
}
.to-slate-950 {
  --tw-gradient-to: #020617 var(--tw-gradient-to-position);
}
.to-teal-500 {
  --tw-gradient-to: #14b8a6 var(--tw-gradient-to-position);
}
.to-teal-600 {
  --tw-gradient-to: #0d9488 var(--tw-gradient-to-position);
}
.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}
.to-white {
  --tw-gradient-to: #fff var(--tw-gradient-to-position);
}
.to-yellow-600 {
  --tw-gradient-to: #ca8a04 var(--tw-gradient-to-position);
}
.to-yellow-700 {
  --tw-gradient-to: #a16207 var(--tw-gradient-to-position);
}
.bg-clip-text {
  -webkit-background-clip: text;
          background-clip: text;
}
.fill-current {
  fill: currentColor;
}
.object-contain {
  object-fit: contain;
}
.object-cover {
  object-fit: cover;
}
.p-1 {
  padding: 0.25rem;
}
.p-12 {
  padding: 3rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-2\.5 {
  padding: 0.625rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.\!px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
.\!px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
.\!px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-20 {
  padding-bottom: 5rem;
}
.pb-24 {
  padding-bottom: 6rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pb-8 {
  padding-bottom: 2rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pr-10 {
  padding-right: 2.5rem;
}
.pr-12 {
  padding-right: 3rem;
}
.pr-8 {
  padding-right: 2rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-20 {
  padding-top: 5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pt-8 {
  padding-top: 2rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-8xl {
  font-size: 6rem;
  line-height: 1;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.italic {
  font-style: italic;
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.text-amber-400 {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / 1);
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / 1);
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-blue-100 {
  --tw-text-opacity: 1;
  color: rgb(219 234 254 / 1);
  color: rgb(219 234 254 / var(--tw-text-opacity, 1));
}
.text-blue-200 {
  --tw-text-opacity: 1;
  color: rgb(191 219 254 / 1);
  color: rgb(191 219 254 / var(--tw-text-opacity, 1));
}
.text-blue-300 {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / 1);
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / 1);
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / 1);
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}
.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / 1);
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}
.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / 1);
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}
.text-blue-800 {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / 1);
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}
.text-blue-900 {
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / 1);
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}
.text-cyan-600 {
  --tw-text-opacity: 1;
  color: rgb(8 145 178 / 1);
  color: rgb(8 145 178 / var(--tw-text-opacity, 1));
}
.text-emerald-600 {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / 1);
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / 1);
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / 1);
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / 1);
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / 1);
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / 1);
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / 1);
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / 1);
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-green-100 {
  --tw-text-opacity: 1;
  color: rgb(220 252 231 / 1);
  color: rgb(220 252 231 / var(--tw-text-opacity, 1));
}
.text-green-200 {
  --tw-text-opacity: 1;
  color: rgb(187 247 208 / 1);
  color: rgb(187 247 208 / var(--tw-text-opacity, 1));
}
.text-green-300 {
  --tw-text-opacity: 1;
  color: rgb(134 239 172 / 1);
  color: rgb(134 239 172 / var(--tw-text-opacity, 1));
}
.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / 1);
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / 1);
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}
.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / 1);
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-green-700 {
  --tw-text-opacity: 1;
  color: rgb(21 128 61 / 1);
  color: rgb(21 128 61 / var(--tw-text-opacity, 1));
}
.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / 1);
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}
.text-green-900 {
  --tw-text-opacity: 1;
  color: rgb(20 83 45 / 1);
  color: rgb(20 83 45 / var(--tw-text-opacity, 1));
}
.text-indigo-600 {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / 1);
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / 1);
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}
.text-orange-500 {
  --tw-text-opacity: 1;
  color: rgb(249 115 22 / 1);
  color: rgb(249 115 22 / var(--tw-text-opacity, 1));
}
.text-orange-600 {
  --tw-text-opacity: 1;
  color: rgb(234 88 12 / 1);
  color: rgb(234 88 12 / var(--tw-text-opacity, 1));
}
.text-orange-800 {
  --tw-text-opacity: 1;
  color: rgb(154 52 18 / 1);
  color: rgb(154 52 18 / var(--tw-text-opacity, 1));
}
.text-pink-500 {
  --tw-text-opacity: 1;
  color: rgb(236 72 153 / 1);
  color: rgb(236 72 153 / var(--tw-text-opacity, 1));
}
.text-pink-600 {
  --tw-text-opacity: 1;
  color: rgb(219 39 119 / 1);
  color: rgb(219 39 119 / var(--tw-text-opacity, 1));
}
.text-purple-100 {
  --tw-text-opacity: 1;
  color: rgb(243 232 255 / 1);
  color: rgb(243 232 255 / var(--tw-text-opacity, 1));
}
.text-purple-200 {
  --tw-text-opacity: 1;
  color: rgb(233 213 255 / 1);
  color: rgb(233 213 255 / var(--tw-text-opacity, 1));
}
.text-purple-300 {
  --tw-text-opacity: 1;
  color: rgb(216 180 254 / 1);
  color: rgb(216 180 254 / var(--tw-text-opacity, 1));
}
.text-purple-400 {
  --tw-text-opacity: 1;
  color: rgb(192 132 252 / 1);
  color: rgb(192 132 252 / var(--tw-text-opacity, 1));
}
.text-purple-500 {
  --tw-text-opacity: 1;
  color: rgb(168 85 247 / 1);
  color: rgb(168 85 247 / var(--tw-text-opacity, 1));
}
.text-purple-600 {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / 1);
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}
.text-purple-700 {
  --tw-text-opacity: 1;
  color: rgb(126 34 206 / 1);
  color: rgb(126 34 206 / var(--tw-text-opacity, 1));
}
.text-purple-800 {
  --tw-text-opacity: 1;
  color: rgb(107 33 168 / 1);
  color: rgb(107 33 168 / var(--tw-text-opacity, 1));
}
.text-red-100 {
  --tw-text-opacity: 1;
  color: rgb(254 226 226 / 1);
  color: rgb(254 226 226 / var(--tw-text-opacity, 1));
}
.text-red-200 {
  --tw-text-opacity: 1;
  color: rgb(254 202 202 / 1);
  color: rgb(254 202 202 / var(--tw-text-opacity, 1));
}
.text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / 1);
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / 1);
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / 1);
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / 1);
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / 1);
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / 1);
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}
.text-slate-400 {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / 1);
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.text-teal-500 {
  --tw-text-opacity: 1;
  color: rgb(20 184 166 / 1);
  color: rgb(20 184 166 / var(--tw-text-opacity, 1));
}
.text-teal-600 {
  --tw-text-opacity: 1;
  color: rgb(13 148 136 / 1);
  color: rgb(13 148 136 / var(--tw-text-opacity, 1));
}
.text-transparent {
  color: transparent;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-white\/40 {
  color: rgb(255 255 255 / 0.4);
}
.text-white\/50 {
  color: rgb(255 255 255 / 0.5);
}
.text-white\/60 {
  color: rgb(255 255 255 / 0.6);
}
.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}
.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}
.text-yellow-100 {
  --tw-text-opacity: 1;
  color: rgb(254 249 195 / 1);
  color: rgb(254 249 195 / var(--tw-text-opacity, 1));
}
.text-yellow-200 {
  --tw-text-opacity: 1;
  color: rgb(254 240 138 / 1);
  color: rgb(254 240 138 / var(--tw-text-opacity, 1));
}
.text-yellow-300 {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / 1);
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}
.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / 1);
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / 1);
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}
.text-yellow-600 {
  --tw-text-opacity: 1;
  color: rgb(202 138 4 / 1);
  color: rgb(202 138 4 / var(--tw-text-opacity, 1));
}
.text-yellow-700 {
  --tw-text-opacity: 1;
  color: rgb(161 98 7 / 1);
  color: rgb(161 98 7 / var(--tw-text-opacity, 1));
}
.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / 1);
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}
.text-yellow-900 {
  --tw-text-opacity: 1;
  color: rgb(113 63 18 / 1);
  color: rgb(113 63 18 / var(--tw-text-opacity, 1));
}
.underline {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.placeholder-gray-400::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / 1);
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}
.opacity-0 {
  opacity: 0;
}
.opacity-10 {
  opacity: 0.1;
}
.opacity-100 {
  opacity: 1;
}
.opacity-20 {
  opacity: 0.2;
}
.opacity-25 {
  opacity: 0.25;
}
.opacity-30 {
  opacity: 0.3;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-75 {
  opacity: 0.75;
}
.opacity-80 {
  opacity: 0.8;
}
.opacity-90 {
  opacity: 0.9;
}
.mix-blend-multiply {
  mix-blend-mode: multiply;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-blue-500\/20 {
  --tw-shadow-color: rgb(59 130 246 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-blue-500\/25 {
  --tw-shadow-color: rgb(59 130 246 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.outline {
  outline-style: solid;
}
.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-blue-500 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}
.ring-red-500 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
}
.ring-offset-2 {
  --tw-ring-offset-width: 2px;
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.blur-2xl {
  --tw-blur: blur(40px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.blur-3xl {
  --tw-blur: blur(64px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-2xl {
  --tw-backdrop-blur: blur(40px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-lg {
  --tw-backdrop-blur: blur(16px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-md {
  --tw-backdrop-blur: blur(12px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-xl {
  --tw-backdrop-blur: blur(24px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-filter {
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-1000 {
  transition-duration: 1000ms;
}
.duration-150 {
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.duration-700 {
  transition-duration: 700ms;
}
.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
/* Performance Optimizations */
/* RTL Utilities */

/* EMERGENCY TEXT VISIBILITY FIX - MUST BE LOADED FIRST */

/* OPTIMIZED TEXT READABILITY WITHOUT BOLD - Enhanced contrast and hierarchy */

/* Apple Design System - Premium UI Components and Styling */

/* COMPACT SIZING - Reduces font sizes and spacing for better screen fit */

/* Optimized Arabic Fonts - Enhanced for Apple Design System */

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

  .loading-spinner {
    animation: none;
    border-top-color: transparent;
  }
}
.hover\:-translate-x-1:hover {
  --tw-translate-x: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:transform:hover {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:gap-2:hover {
  gap: 0.5rem;
}
.hover\:border-blue-200:hover {
  --tw-border-opacity: 1;
  border-color: rgb(191 219 254 / 1);
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}
.hover\:border-blue-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(96 165 250 / 1);
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
}
.hover\:border-blue-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / 1);
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.hover\:border-gray-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / 1);
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}
.hover\:border-red-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / 1);
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1));
}
.hover\:border-white\/10:hover {
  border-color: rgb(255 255 255 / 0.1);
}
.hover\:border-white\/20:hover {
  border-color: rgb(255 255 255 / 0.2);
}
.hover\:bg-blue-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / 1);
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}
.hover\:bg-blue-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(191 219 254 / 1);
  background-color: rgb(191 219 254 / var(--tw-bg-opacity, 1));
}
.hover\:bg-blue-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / 1);
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.hover\:bg-blue-500\/10:hover {
  background-color: rgb(59 130 246 / 0.1);
}
.hover\:bg-blue-500\/30:hover {
  background-color: rgb(59 130 246 / 0.3);
}
.hover\:bg-blue-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / 1);
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / 1);
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / 1);
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / 1);
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-300:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / 1);
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / 1);
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-50\/50:hover {
  background-color: rgb(249 250 251 / 0.5);
}
.hover\:bg-gray-500\/30:hover {
  background-color: rgb(107 114 128 / 0.3);
}
.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / 1);
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.hover\:bg-green-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / 1);
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}
.hover\:bg-green-500\/30:hover {
  background-color: rgb(34 197 94 / 0.3);
}
.hover\:bg-green-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / 1);
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.hover\:bg-green-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(21 128 61 / 1);
  background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
}
.hover\:bg-purple-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(233 213 255 / 1);
  background-color: rgb(233 213 255 / var(--tw-bg-opacity, 1));
}
.hover\:bg-purple-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / 1);
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}
.hover\:bg-purple-500\/30:hover {
  background-color: rgb(168 85 247 / 0.3);
}
.hover\:bg-purple-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(126 34 206 / 1);
  background-color: rgb(126 34 206 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / 1);
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 202 202 / 1);
  background-color: rgb(254 202 202 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / 1);
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-500\/30:hover {
  background-color: rgb(239 68 68 / 0.3);
}
.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / 1);
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / 1);
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}
.hover\:bg-slate-800\/70:hover {
  background-color: rgb(30 41 59 / 0.7);
}
.hover\:bg-white:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / 1);
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.hover\:bg-white\/10:hover {
  background-color: rgb(255 255 255 / 0.1);
}
.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}
.hover\:bg-white\/30:hover {
  background-color: rgb(255 255 255 / 0.3);
}
.hover\:bg-white\/5:hover {
  background-color: rgb(255 255 255 / 0.05);
}
.hover\:bg-white\/50:hover {
  background-color: rgb(255 255 255 / 0.5);
}
.hover\:bg-white\/70:hover {
  background-color: rgb(255 255 255 / 0.7);
}
.hover\:bg-white\/\[0\.05\]:hover {
  background-color: rgb(255 255 255 / 0.05);
}
.hover\:bg-yellow-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(161 98 7 / 1);
  background-color: rgb(161 98 7 / var(--tw-bg-opacity, 1));
}
.hover\:bg-opacity-20:hover {
  --tw-bg-opacity: 0.2;
}
.hover\:bg-opacity-30:hover {
  --tw-bg-opacity: 0.3;
}
.hover\:bg-opacity-90:hover {
  --tw-bg-opacity: 0.9;
}
.hover\:from-amber-600:hover {
  --tw-gradient-from: #d97706 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-blue-500:hover {
  --tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-blue-600:hover {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-blue-700:hover {
  --tw-gradient-from: #1d4ed8 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(29 78 216 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-green-500:hover {
  --tw-gradient-from: #22c55e var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-green-600:hover {
  --tw-gradient-from: #16a34a var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-orange-500:hover {
  --tw-gradient-from: #f97316 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 115 22 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-orange-700:hover {
  --tw-gradient-from: #c2410c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(194 65 12 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-pink-600:hover {
  --tw-gradient-from: #db2777 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(219 39 119 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-purple-700:hover {
  --tw-gradient-from: #7e22ce var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(126 34 206 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-red-700:hover {
  --tw-gradient-from: #b91c1c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(185 28 28 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:to-blue-300:hover {
  --tw-gradient-to: #93c5fd var(--tw-gradient-to-position);
}
.hover\:to-blue-700:hover {
  --tw-gradient-to: #1d4ed8 var(--tw-gradient-to-position);
}
.hover\:to-blue-800:hover {
  --tw-gradient-to: #1e40af var(--tw-gradient-to-position);
}
.hover\:to-green-300:hover {
  --tw-gradient-to: #86efac var(--tw-gradient-to-position);
}
.hover\:to-green-700:hover {
  --tw-gradient-to: #15803d var(--tw-gradient-to-position);
}
.hover\:to-orange-300:hover {
  --tw-gradient-to: #fdba74 var(--tw-gradient-to-position);
}
.hover\:to-orange-700:hover {
  --tw-gradient-to: #c2410c var(--tw-gradient-to-position);
}
.hover\:to-purple-500:hover {
  --tw-gradient-to: #a855f7 var(--tw-gradient-to-position);
}
.hover\:to-purple-700:hover {
  --tw-gradient-to: #7e22ce var(--tw-gradient-to-position);
}
.hover\:to-red-800:hover {
  --tw-gradient-to: #991b1b var(--tw-gradient-to-position);
}
.hover\:text-blue-300:hover {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / 1);
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.hover\:text-blue-700:hover {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / 1);
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}
.hover\:text-blue-800:hover {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / 1);
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}
.hover\:text-blue-900:hover {
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / 1);
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-200:hover {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / 1);
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-600:hover {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / 1);
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-700:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / 1);
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-900:hover {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / 1);
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.hover\:text-green-800:hover {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / 1);
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}
.hover\:text-green-900:hover {
  --tw-text-opacity: 1;
  color: rgb(20 83 45 / 1);
  color: rgb(20 83 45 / var(--tw-text-opacity, 1));
}
.hover\:text-indigo-600:hover {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / 1);
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.hover\:text-purple-800:hover {
  --tw-text-opacity: 1;
  color: rgb(107 33 168 / 1);
  color: rgb(107 33 168 / var(--tw-text-opacity, 1));
}
.hover\:text-red-800:hover {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / 1);
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}
.hover\:text-red-900:hover {
  --tw-text-opacity: 1;
  color: rgb(127 29 29 / 1);
  color: rgb(127 29 29 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hover\:shadow-2xl:hover {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-lg:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-xl:hover {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-blue-500\/10:hover {
  --tw-shadow-color: rgb(59 130 246 / 0.1);
  --tw-shadow: var(--tw-shadow-colored);
}
.focus\:border-amber-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / 1);
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
.focus\:border-blue-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / 1);
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.focus\:border-green-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / 1);
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}
.focus\:border-pink-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(236 72 153 / 1);
  border-color: rgb(236 72 153 / var(--tw-border-opacity, 1));
}
.focus\:border-transparent:focus {
  border-color: transparent;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-amber-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity, 1));
}
.focus\:ring-blue-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}
.focus\:ring-green-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity, 1));
}
.focus\:ring-pink-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(236 72 153 / var(--tw-ring-opacity, 1));
}
.focus\:ring-purple-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1));
}
.focus\:ring-purple-600:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(147 51 234 / var(--tw-ring-opacity, 1));
}
.focus\:ring-red-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:bg-gray-300:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / 1);
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.disabled\:bg-gray-400:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / 1);
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}
.disabled\:opacity-30:disabled {
  opacity: 0.3;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.group:hover .group-hover\:scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.group:hover .group-hover\:bg-indigo-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 255 / 1);
  background-color: rgb(224 231 255 / var(--tw-bg-opacity, 1));
}
.group:hover .group-hover\:bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}
.group:hover .group-hover\:from-blue-500\/30 {
  --tw-gradient-from: rgb(59 130 246 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.group:hover .group-hover\:to-purple-500\/30 {
  --tw-gradient-to: rgb(168 85 247 / 0.3) var(--tw-gradient-to-position);
}
.group:hover .group-hover\:text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / 1);
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / 1);
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / 1);
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:text-indigo-600 {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / 1);
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
@media (min-width: 640px) {

  .sm\:-mx-8 {
    margin-left: -2rem;
    margin-right: -2rem;
  }

  .sm\:ml-4 {
    margin-left: 1rem;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:h-12 {
    height: 3rem;
  }

  .sm\:h-14 {
    height: 3.5rem;
  }

  .sm\:h-7 {
    height: 1.75rem;
  }

  .sm\:h-8 {
    height: 2rem;
  }

  .sm\:w-12 {
    width: 3rem;
  }

  .sm\:w-14 {
    width: 3.5rem;
  }

  .sm\:w-7 {
    width: 1.75rem;
  }

  .sm\:w-8 {
    width: 2rem;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:gap-3 {
    gap: 0.75rem;
  }

  .sm\:gap-6 {
    gap: 1.5rem;
  }

  .sm\:p-8 {
    padding: 2rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
@media (min-width: 768px) {

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:flex {
    display: flex;
  }

  .md\:h-96 {
    height: 24rem;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:flex-initial {
    flex: 0 1 auto;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:justify-between {
    justify-content: space-between;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
@media (min-width: 1024px) {

  .lg\:static {
    position: static;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:-mx-16 {
    margin-left: -4rem;
    margin-right: -4rem;
  }

  .lg\:mr-72 {
    margin-right: 18rem;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:w-72 {
    width: 18rem;
  }

  .lg\:translate-x-0 {
    --tw-translate-x: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:items-center {
    align-items: center;
  }

  .lg\:justify-between {
    justify-content: space-between;
  }

  .lg\:gap-8 {
    gap: 2rem;
  }

  .lg\:space-y-8 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(2rem * var(--tw-space-y-reverse));
  }

  .lg\:p-16 {
    padding: 4rem;
  }

  .lg\:p-8 {
    padding: 2rem;
  }

  .lg\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1280px) {

  .xl\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .xl\:mr-80 {
    margin-right: 20rem;
  }

  .xl\:w-80 {
    width: 20rem;
  }

  .xl\:grid-cols-10 {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .xl\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .xl\:grid-cols-8 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .xl\:grid-cols-9 {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}
.rtl\:space-x-reverse:where([dir="rtl"], [dir="rtl"] *) > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}
/*
==========================================
  ENHANCED DROPDOWN STYLES
  Applied to all form dropdowns in the system
==========================================
*/

/* ===== FORM GROUP STRUCTURE ===== */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

/* ===== ENHANCED LABELS ===== */
.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #2d3748;
    font-weight: 600;
    font-size: 15px;
}

.label-icon {
    font-size: 18px;
}

.required-mark {
    color: #e53e3e;
    font-size: 16px;
}

/* ===== SELECT WRAPPER ===== */
.select-wrapper {
    position: relative;
}

/* ===== CUSTOM SELECT STYLING ===== */
.custom-select,
select.enhanced-dropdown {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: #2d3748;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
}

.custom-select:hover,
select.enhanced-dropdown:hover {
    border-color: #cbd5e0;
}

.custom-select:focus,
select.enhanced-dropdown:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.custom-select:disabled,
select.enhanced-dropdown:disabled {
    background: #f7fafc;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #e2e8f0;
}

/* ===== DROPDOWN ARROW ===== */
.select-arrow {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 18px;
    color: #667eea;
    transition: transform 0.3s ease;
}

.select-wrapper:hover .select-arrow {
    transform: translateY(-50%) scale(1.1);
}

/* ===== LOADING SPINNER ===== */
.select-loading {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.select-loading.active {
    display: block;
}

.select-loading.active ~ .select-arrow {
    display: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin-animation 0.8s linear infinite;
}

@keyframes spin-animation {
    to { transform: rotate(360deg); }
}

/* ===== HELPER TEXT ===== */
.helper-text {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #718096;
}

.helper-icon {
    font-size: 14px;
}

/* ===== DEPENDENT DROPDOWN INDICATOR ===== */
.dependent-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #e6fffa;
    color: #234e52;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
}

/* ===== CASCADE CONNECTION VISUAL ===== */
.cascade-connection {
    position: relative;
    padding-right: 30px;
}

.cascade-connection::before {
    content: '';
    position: absolute;
    right: 8px;
    top: -20px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(to bottom, #667eea, transparent);
}

.cascade-connection::after {
    content: '↓';
    position: absolute;
    right: 0;
    top: -30px;
    font-size: 18px;
    color: #667eea;
    animation: cascade-bounce 2s ease-in-out infinite;
}

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

/* ===== ERROR STATE ===== */
.custom-select.error,
select.enhanced-dropdown.error {
    border-color: #fc8181;
}

.custom-select.error:focus,
select.enhanced-dropdown.error:focus {
    box-shadow: 0 0 0 4px rgba(252, 129, 129, 0.1);
}

.error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #c53030;
}

/* ===== SUCCESS STATE ===== */
.custom-select.success,
select.enhanced-dropdown.success {
    border-color: #68d391;
}

.custom-select.success:focus,
select.enhanced-dropdown.success:focus {
    box-shadow: 0 0 0 4px rgba(104, 211, 145, 0.1);
}

/* ===== PLACEHOLDER OPTION STYLING ===== */
.custom-select option:first-child,
select.enhanced-dropdown option:first-child {
    color: #a0aec0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .custom-select,
    select.enhanced-dropdown {
        padding: 12px 40px 12px 16px;
        font-size: 15px;
    }

    .form-label {
        font-size: 14px;
    }

    .cascade-connection {
        padding-right: 20px;
    }

    .cascade-connection::before {
        right: 4px;
    }

    .cascade-connection::after {
        right: -4px;
        font-size: 16px;
    }
}

/* ===== DARK MODE SUPPORT (OPTIONAL) ===== */
@media (prefers-color-scheme: dark) {
    .custom-select,
    select.enhanced-dropdown {
        background: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }

    .custom-select:hover,
    select.enhanced-dropdown:hover {
        border-color: #718096;
    }

    .form-label {
        color: #e2e8f0;
    }

    .helper-text {
        color: #a0aec0;
    }
}

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

body {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  direction: rtl;
}

.App {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.1rem;
  font-weight: 400;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.navigation a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
}

.navigation a:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

/* Main Content */
.main-content {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.login-container {
  max-width: 400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideIn 0.5s ease;
}

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

.login-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  text-align: center;
}

.login-header h2 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.login-header p {
  opacity: 0.9;
  font-size: 0.75rem;
}

.login-form {
  padding: 1rem;
}

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

/* Override margin for ArabicSelect when dropdown is open */
.arabic-select-container.dropdown-open {
  margin-bottom: 280px !important;
  transition: margin-bottom 0.2s ease;
}

.arabic-select-container:not(.dropdown-open) {
  margin-bottom: 25px !important;
  transition: margin-bottom 0.2s ease;
}

/* Fix for member status dropdown - ensure text is visible */
#membership_status,
#membership_type {
  height: 48px !important;
  line-height: 24px !important;
  padding: 12px 40px 12px 16px !important;
  font-size: 16px !important;
}

/* Fix for Hijri month dropdown - ensure text is visible */
.form-group select.form-input {
  height: auto !important;
  min-height: 38px !important;
  line-height: 1.5 !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  color: #2d3748 !important;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  color: #555;
  font-weight: 400;
  font-size: 0.8rem;
}

.form-group input {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  font-family: inherit;
  direction: rtl;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-button {
  width: 100%;
  padding: 0.6rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.login-button:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  text-align: center;
  color: white;
  font-size: 0.75rem;
}

.footer-content p {
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .navigation ul {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .App {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .login-container {
    margin: 0 10px;
  }

  .login-header {
    padding: 1.5rem;
  }

  .login-form {
    padding: 1.5rem;
  }

  .footer {
    padding: 1rem 0;
  }

  .footer-content {
    font-size: 0.8rem;
  }
}
/* Modern Login Page Styles - Clean, Minimal, Professional */

/* Root variables for modern design */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #64748b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Modern Login Container */
.modern-login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

/* Geometric Background Pattern */
.modern-bg-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
}

/* Animated Circles Background - DISABLED */
.modern-circles {
  display: none;
}

.circle {
  display: none;
}

.circle-1,
.circle-2,
.circle-3 {
  display: none;
}

/* Main Content Area */
.modern-main-content {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 10;
}

/* Modern Login Card */
.modern-login-card {
  width: 100%;
  max-width: 440px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  animation: slideUp 0.6s ease-out;
}

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

/* Card Header with Gradient */
.modern-card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  position: relative;
}

.modern-card-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

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

/* Logo Section */
.modern-logo-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modern-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Logo Pulse Animation */
.modern-logo-wrapper::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 25px;
  opacity: 0;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.05);
  }
}

/* Title Text */
.modern-title {
  color: white;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.modern-system-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 300;
}

/* Login Form Container */
.modern-form-container {
  padding: 2.5rem;
}

/* Welcome Text */
.modern-welcome {
  text-align: center;
  margin-bottom: 2rem;
}

.modern-welcome-title {
  font-size: 22px;
  color: #1e293b;
  color: var(--text-primary);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.modern-welcome-subtitle {
  font-size: 15px;
  color: #64748b;
  color: var(--text-secondary);
}

/* Modern Form */
.modern-login-form {
  width: 100%;
}

/* Input Groups */
.modern-input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.modern-input-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #1e293b;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

/* Modern Input Field */
.modern-input-wrapper {
  position: relative;
}

.modern-input-field {
  width: 100%;
  padding: 14px 16px 14px 48px;
  font-size: 15px;
  border: 2px solid #e2e8f0;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: white;
  color: #1e293b;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
}

.modern-input-field:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-input-field::placeholder {
  color: #94a3b8;
  color: var(--text-light);
}

/* Input Icons */
.modern-input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #64748b;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.modern-input-wrapper:focus-within .modern-input-icon {
  color: #667eea;
}

/* Modern Login Button */
.modern-login-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.modern-login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.modern-login-button:active {
  transform: translateY(0);
}

/* Button Ripple Effect */
.modern-login-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modern-login-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Button Arrow Icon */
.modern-button-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.modern-login-button:hover .modern-button-arrow {
  transform: translateX(4px);
}

/* Footer Links */
.modern-footer-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.modern-secure-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  color: var(--text-secondary);
}

.modern-lock-icon {
  width: 14px;
  height: 14px;
  color: #10b981;
  color: var(--success-color);
}

/* Footer Copyright */
.modern-footer {
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  position: relative;
  z-index: 10;
}

/* Responsive Design */
@media (max-width: 640px) {
  .modern-login-card {
    max-width: 100%;
    margin: 1rem;
  }

  .modern-card-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .modern-form-container {
    padding: 1.5rem;
  }

  .modern-title {
    font-size: 24px;
  }

  .modern-logo-wrapper {
    width: 100px;
    height: 100px;
  }
}

/* Loading State */
.modern-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

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

/* Error Message */
.modern-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Success Message */
.modern-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
/**
 * Global Theme Styles
 * Dark mode and theme customization support
 *
 * @version 1.0.0
 * @date 2025-01-13
 */

/* ============================================================================
   CSS VARIABLES - LIGHT MODE (DEFAULT)
   ============================================================================ */

:root {
  /* Primary Colors */
  --color-primary-50: #EFF6FF;
  --color-primary-100: #DBEAFE;
  --color-primary-200: #BFDBFE;
  --color-primary-300: #93C5FD;
  --color-primary-400: #60A5FA;
  --color-primary-500: #3B82F6;
  --color-primary-600: #2563EB;
  --color-primary-700: #1D4ED8;
  --color-primary-800: #1E40AF;
  --color-primary-900: #1E3A8A;

  /* Background Colors */
  --color-background: #FFFFFF;
  --color-surface: #F9FAFB;
  --color-elevated: #F3F4F6;

  /* Text Colors */
  --color-text-primary: #111827;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;

  /* Border Colors */
  --color-border: #E5E7EB;
  --color-border-strong: #D1D5DB;

  /* Semantic Colors */
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* ============================================================================
   DARK MODE COLORS
   ============================================================================ */

.dark-mode {
  /* Background Colors */
  --color-background: #0F172A;
  --color-surface: #1E293B;
  --color-elevated: #334155;

  /* Text Colors */
  --color-text-primary: #F1F5F9;
  --color-text-secondary: #CBD5E1;
  --color-text-tertiary: #94A3B8;

  /* Border Colors */
  --color-border: #334155;
  --color-border-strong: #475569;

  /* Shadows - darker in dark mode */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
}

/* ============================================================================
   THEME APPLICATION
   ============================================================================ */

body {
  background-color: #FFFFFF;
  background-color: var(--color-background);
  color: #111827;
  color: var(--color-text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Disable animations when preference is set */
.no-animations,
.no-animations * {
  animation-duration: 0s !important;
  transition-duration: 0s !important;
}

/* Compact mode - reduced spacing */
.compact-mode {
  --spacing-multiplier: 0.75;
}

/* ============================================================================
   COMPONENT OVERRIDES FOR DARK MODE
   ============================================================================ */

/* Cards */
.dark-mode .bg-white {
  background-color: #F9FAFB !important;
  background-color: var(--color-surface) !important;
}

.dark-mode .bg-gray-50 {
  background-color: #FFFFFF !important;
  background-color: var(--color-background) !important;
}

.dark-mode .bg-gray-100 {
  background-color: #F9FAFB !important;
  background-color: var(--color-surface) !important;
}

.dark-mode .bg-gray-200 {
  background-color: #F3F4F6 !important;
  background-color: var(--color-elevated) !important;
}

/* Text */
.dark-mode .text-gray-900,
.dark-mode .text-gray-800,
.dark-mode .text-gray-700 {
  color: #111827 !important;
  color: var(--color-text-primary) !important;
}

.dark-mode .text-gray-600,
.dark-mode .text-gray-500 {
  color: #6B7280 !important;
  color: var(--color-text-secondary) !important;
}

.dark-mode .text-gray-400 {
  color: #9CA3AF !important;
  color: var(--color-text-tertiary) !important;
}

/* Borders */
.dark-mode .border-gray-200,
.dark-mode .border-gray-300 {
  border-color: #E5E7EB !important;
  border-color: var(--color-border) !important;
}

.dark-mode .border-gray-400 {
  border-color: #D1D5DB !important;
  border-color: var(--color-border-strong) !important;
}

/* Inputs */
.dark-mode input,
.dark-mode textarea,
.dark-mode select {
  background-color: #F3F4F6 !important;
  background-color: var(--color-elevated) !important;
  color: #111827 !important;
  color: var(--color-text-primary) !important;
  border-color: #E5E7EB !important;
  border-color: var(--color-border) !important;
}

.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
  color: #9CA3AF !important;
  color: var(--color-text-tertiary) !important;
}

/* Buttons - preserve their colors but adjust hover states */
.dark-mode button:not(.btn-primary):not(.btn-success):not(.btn-error):not(.btn-warning) {
  background-color: #F3F4F6 !important;
  background-color: var(--color-elevated) !important;
  color: #111827 !important;
  color: var(--color-text-primary) !important;
}

/* Dropdowns and Menus */
.dark-mode .dropdown-menu,
.dark-mode .menu {
  background-color: #F9FAFB !important;
  background-color: var(--color-surface) !important;
  border-color: #E5E7EB !important;
  border-color: var(--color-border) !important;
}

/* Tables */
.dark-mode table {
  background-color: #F9FAFB !important;
  background-color: var(--color-surface) !important;
}

.dark-mode th {
  background-color: #F3F4F6 !important;
  background-color: var(--color-elevated) !important;
  color: #111827 !important;
  color: var(--color-text-primary) !important;
  border-color: #E5E7EB !important;
  border-color: var(--color-border) !important;
}

.dark-mode td {
  color: #111827 !important;
  color: var(--color-text-primary) !important;
  border-color: #E5E7EB !important;
  border-color: var(--color-border) !important;
}

.dark-mode tr:hover {
  background-color: #F3F4F6 !important;
  background-color: var(--color-elevated) !important;
}

/* Modals and Dialogs */
.dark-mode .modal,
.dark-mode .dialog {
  background-color: #F9FAFB !important;
  background-color: var(--color-surface) !important;
}

.dark-mode .modal-backdrop {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Shadows */
.dark-mode .shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
  box-shadow: var(--shadow-sm) !important;
}

.dark-mode .shadow-md,
.dark-mode .shadow {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
  box-shadow: var(--shadow-md) !important;
}

.dark-mode .shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1) !important;
  box-shadow: var(--shadow-lg) !important;
}

.dark-mode .shadow-xl {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1) !important;
  box-shadow: var(--shadow-xl) !important;
}

/* Scrollbars - dark mode */
.dark-mode ::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.dark-mode ::-webkit-scrollbar-track {
  background: #FFFFFF;
  background: var(--color-background);
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: #F3F4F6;
  background: var(--color-elevated);
  border-radius: 6px;
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #D1D5DB;
  background: var(--color-border-strong);
}

/**
 * Ultra Premium Islamic Design System
 * $1000+ Enterprise-Grade Family Management Platform
 * Fusion of Apple's Design Excellence with Islamic Cultural Heritage
 * Al-Shuail Family Admin Dashboard
 */

/* Import Premium Arabic & English Fonts */

:root {
  /* Premium Islamic Color Palette */
  --islamic-emerald: #00A86B;          /* Prophetic Green */
  --islamic-gold: #FFD700;             /* Masjid Dome Gold */
  --islamic-deep-blue: #1e3a8a;        /* Night Prayer Blue */
  --islamic-royal-purple: #5B21B6;     /* Royal Heritage Purple */
  --islamic-turquoise: #06B6D4;        /* Persian Turquoise */
  --islamic-pearl: #FFF8F0;            /* Pearl White */
  --islamic-saffron: #F59E0B;          /* Premium Saffron */
  --islamic-rose: #F43F5E;             /* Damascus Rose */

  /* Premium Apple-Inspired Gradients */
  --gradient-premium: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  --gradient-islamic: linear-gradient(135deg, #00A86B 0%, #06B6D4 100%);
  --gradient-royal: linear-gradient(135deg, #5B21B6 0%, #1e3a8a 100%);
  --gradient-gold: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%);
  --gradient-sunset: linear-gradient(135deg, #F59E0B 0%, #F43F5E 100%);
  --gradient-night: linear-gradient(135deg, #1e3a8a 0%, #000000 100%);
  --gradient-emerald: linear-gradient(135deg, #00A86B 0%, #065F46 100%);
  --gradient-radial-glow: radial-gradient(circle at center, rgba(0, 168, 107, 0.15) 0%, transparent 70%);

  /* Ultra Premium Glassmorphism */
  --glass-ultra: rgba(255, 255, 255, 0.95);
  --glass-premium: rgba(255, 255, 255, 0.9);
  --glass-medium: rgba(255, 255, 255, 0.8);
  --glass-light: rgba(255, 255, 255, 0.7);
  --glass-subtle: rgba(255, 255, 255, 0.6);
  --glass-dark: rgba(0, 0, 0, 0.85);
  --glass-dark-medium: rgba(0, 0, 0, 0.7);

  /* Premium Backdrop Filters */
  --blur-ultra: blur(60px);
  --blur-heavy: blur(40px);
  --blur-medium: blur(20px);
  --blur-light: blur(10px);
  --blur-subtle: blur(5px);

  /* Islamic Pattern Overlays */
  --pattern-arabesque: url("data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%23007AFF%27 fill-opacity=%270.05%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --pattern-geometric: url("data:image/svg+xml,%3Csvg width=%2740%27 height=%2740%27 viewBox=%270 0 40 40%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27%235856D6%27 fill-opacity=%270.03%27%3E%3Cpath d=%27M20 20h20v20h-20z%27/%3E%3Cpath d=%27M0 0h20v20H0z%27/%3E%3C/g%3E%3C/svg%3E");

  /* Typography Scale - Dual Language Support */
  --font-arabic-primary: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-arabic-display: 'Amiri', 'Cairo', serif;
  --font-english-primary: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Premium Typography Sizes */
  --text-hero: clamp(48px, 6vw, 72px);
  --text-display: clamp(36px, 4vw, 48px);
  --text-title: clamp(28px, 3vw, 36px);
  --text-heading: clamp(20px, 2.5vw, 28px);
  --text-subheading: clamp(18px, 2vw, 24px);
  --text-body-large: 18px;
  --text-body: 16px;
  --text-body-small: 14px;
  --text-caption: 13px;
  --text-micro: 11px;

  /* Font Weights */
  --weight-thin: 200;
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-heavy: 800;
  --weight-black: 900;

  /* Premium Shadows */
  --shadow-glow: 0 0 40px rgba(0, 168, 107, 0.3);
  --shadow-ultra: 0 40px 80px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 10px 40px rgba(0, 0, 0, 0.1), 0 5px 20px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-button: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Animation Curves */
  --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Animation Durations */
  --duration-instant: 150ms;
  --duration-fast: 250ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;
  --duration-slower: 750ms;
  --duration-lazy: 1000ms;

  /* Border Radius - Islamic Inspired */
  --radius-sharp: 4px;
  --radius-soft: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
  --radius-xlarge: 24px;
  --radius-2xlarge: 32px;
  --radius-round: 50%;
  --radius-pill: 9999px;

  /* Spacing Scale */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
}

/* Premium Keyframe Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  }
  50% {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
  }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 168, 107, 0.3),
                0 0 40px rgba(0, 168, 107, 0.2),
                0 0 60px rgba(0, 168, 107, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 168, 107, 0.4),
                0 0 60px rgba(0, 168, 107, 0.3),
                0 0 90px rgba(0, 168, 107, 0.2);
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes entrance-fade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Ultra Premium Glass Card */
.glass-card-premium {
  background: rgba(255, 255, 255, 0.9);
  background: var(--glass-premium);
  backdrop-filter: blur(40px);
  backdrop-filter: var(--blur-heavy);
  -webkit-backdrop-filter: blur(40px);
  -webkit-backdrop-filter: var(--blur-heavy);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  border-radius: var(--radius-large);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-premium);
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--duration-normal) var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.glass-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%23007AFF%27 fill-opacity=%270.05%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background: var(--pattern-arabesque);
  opacity: 0.5;
  pointer-events: none;
}

.glass-card-premium:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-ultra);
  border-color: rgba(0, 168, 107, 0.3);
}

/* Premium Gradient Button */
.btn-gradient-premium {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--gradient-premium);
  background-size: 200% 200%;
  color: white;
  font-weight: 600;
  font-weight: var(--weight-semibold);
  padding: 14px 32px;
  border-radius: 12px;
  border-radius: var(--radius-medium);
  border: none;
  cursor: pointer;
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--duration-normal) var(--ease-premium);
  position: relative;
  overflow: hidden;
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  font-family: var(--font-arabic-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-button);
}

.btn-gradient-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 500ms ease;
  transition: left var(--duration-slow) ease;
}

.btn-gradient-premium:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 5px 20px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-elevated);
  animation: gradient-shift 3s ease infinite;
}

.btn-gradient-premium:hover::before {
  left: 100%;
}

/* Islamic Pattern Overlay */
.islamic-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(0, 168, 107, 0.03) 35px, rgba(0, 168, 107, 0.03) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(88, 86, 214, 0.03) 35px, rgba(88, 86, 214, 0.03) 70px);
  pointer-events: none;
  z-index: 1;
}

/* Floating Animation Elements */
.floating-element {
  animation: float 3s ease-in-out infinite;
}

.floating-delayed {
  animation: float 3s ease-in-out 0.5s infinite;
}

/* Premium Statistics Badge */
.stat-badge-premium {
  background: rgba(255, 255, 255, 0.95);
  background: var(--glass-ultra);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--blur-medium);
          backdrop-filter: var(--blur-medium);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  border-radius: var(--radius-large);
  padding: 20px 24px;
  padding: var(--space-5) var(--space-6);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-card);
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--duration-normal) var(--ease-premium);
}

.stat-badge-premium::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 168, 107, 0.15) 0%, transparent 70%);
  background: var(--gradient-radial-glow);
  opacity: 0;
  transition: opacity 500ms ease;
  transition: opacity var(--duration-slow) ease;
  pointer-events: none;
}

.stat-badge-premium:hover::after {
  opacity: 1;
}

/* Icon Wrapper with Gradient */
.icon-wrapper-gradient {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border-radius: var(--radius-medium);
  background: linear-gradient(135deg, #00A86B 0%, #06B6D4 100%);
  background: var(--gradient-islamic);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-button);
  transition: all 350ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all var(--duration-normal) var(--ease-bounce);
}

.icon-wrapper-gradient:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 5px 20px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-elevated);
}

/* Header with Gradient Pattern */
.header-gradient-pattern {
  background:
    linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%),
    url("data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%23007AFF%27 fill-opacity=%270.05%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background:
    linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%),
    var(--pattern-arabesque);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  -webkit-backdrop-filter: var(--blur-light);
          backdrop-filter: var(--blur-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-card);
}

/* Progress Bar Premium */
.progress-bar-premium {
  height: 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--gradient-premium);
  border-radius: 9999px;
  border-radius: var(--radius-pill);
  transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: width var(--duration-slow) var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

/* Premium Table Styles */
.table-premium {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table-premium thead th {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--gradient-premium);
  color: white;
  padding: 16px 20px;
  padding: var(--space-4) var(--space-5);
  text-align: right;
  font-weight: 600;
  font-weight: var(--weight-semibold);
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  font-family: var(--font-arabic-primary);
  font-size: 14px;
  font-size: var(--text-body-small);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
}

.table-premium thead th:first-child {
  border-top-right-radius: 12px;
  border-top-right-radius: var(--radius-medium);
  border-bottom-right-radius: 12px;
  border-bottom-right-radius: var(--radius-medium);
}

.table-premium thead th:last-child {
  border-top-left-radius: 12px;
  border-top-left-radius: var(--radius-medium);
  border-bottom-left-radius: 12px;
  border-bottom-left-radius: var(--radius-medium);
}

.table-premium tbody tr {
  background: rgba(255, 255, 255, 0.9);
  background: var(--glass-premium);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  -webkit-backdrop-filter: var(--blur-light);
          backdrop-filter: var(--blur-light);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--duration-fast) var(--ease-premium);
}

.table-premium tbody tr:hover {
  background: rgba(255, 255, 255, 0.95);
  background: var(--glass-ultra);
  transform: scale(1.01);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-card);
}

.table-premium tbody td {
  padding: 16px 20px;
  padding: var(--space-4) var(--space-5);
  border: none;
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  font-family: var(--font-arabic-primary);
  color: #1e3a8a;
  color: var(--islamic-deep-blue);
}

.table-premium tbody td:first-child {
  border-top-right-radius: 12px;
  border-top-right-radius: var(--radius-medium);
  border-bottom-right-radius: 12px;
  border-bottom-right-radius: var(--radius-medium);
}

.table-premium tbody td:last-child {
  border-top-left-radius: 12px;
  border-top-left-radius: var(--radius-medium);
  border-bottom-left-radius: 12px;
  border-bottom-left-radius: var(--radius-medium);
}

/* Modal Overlay Premium */
.modal-overlay-premium {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: entrance-fade 350ms ease;
  animation: entrance-fade var(--duration-normal) ease;
}

.modal-content-premium {
  background: rgba(255, 255, 255, 0.95);
  background: var(--glass-ultra);
  -webkit-backdrop-filter: blur(40px);
          backdrop-filter: blur(40px);
  -webkit-backdrop-filter: var(--blur-heavy);
          backdrop-filter: var(--blur-heavy);
  border-radius: 24px;
  border-radius: var(--radius-xlarge);
  padding: 40px;
  padding: var(--space-8);
  max-width: 600px;
  width: 90%;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-ultra);
  animation: slide-up 350ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: slide-up var(--duration-normal) var(--ease-bounce);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.modal-content-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #00A86B 0%, #06B6D4 100%);
  background: var(--gradient-islamic);
}

/* Form Elements Premium */
.input-premium {
  width: 100%;
  padding: 12px 16px;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.9);
  background: var(--glass-premium);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  -webkit-backdrop-filter: var(--blur-light);
          backdrop-filter: var(--blur-light);
  border: 1px solid rgba(0, 168, 107, 0.2);
  border-radius: 12px;
  border-radius: var(--radius-medium);
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  font-family: var(--font-arabic-primary);
  font-size: 16px;
  font-size: var(--text-body);
  color: #1e3a8a;
  color: var(--islamic-deep-blue);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--duration-fast) var(--ease-premium);
}

.input-premium:focus {
  outline: none;
  border-color: #00A86B;
  border-color: var(--islamic-emerald);
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
  background: white;
}

.input-premium::placeholder {
  color: rgba(30, 58, 138, 0.4);
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  font-family: var(--font-arabic-primary);
}

/* Tab Navigation Premium */
.tabs-premium {
  display: flex;
  gap: 8px;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.7);
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  -webkit-backdrop-filter: var(--blur-light);
          backdrop-filter: var(--blur-light);
  padding: 8px;
  padding: var(--space-2);
  border-radius: 16px;
  border-radius: var(--radius-large);
  margin-bottom: 24px;
  margin-bottom: var(--space-6);
}

.tab-premium {
  flex: 1 1;
  padding: 12px 20px;
  padding: var(--space-3) var(--space-5);
  background: transparent;
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-medium);
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  font-family: var(--font-arabic-primary);
  font-weight: 500;
  font-weight: var(--weight-medium);
  color: #1e3a8a;
  color: var(--islamic-deep-blue);
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--duration-fast) var(--ease-premium);
  position: relative;
}

.tab-premium.active {
  background: linear-gradient(135deg, #00A86B 0%, #06B6D4 100%);
  background: var(--gradient-islamic);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-button);
}

.tab-premium:hover:not(.active) {
  background: rgba(0, 168, 107, 0.1);
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  padding: 0 var(--space-2);
  background: linear-gradient(135deg, #F59E0B 0%, #F43F5E 100%);
  background: var(--gradient-sunset);
  color: white;
  border-radius: 9999px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-size: var(--text-micro);
  font-weight: 700;
  font-weight: var(--weight-bold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-button);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

/* Responsive Utilities */
@media (max-width: 768px) {
  :root {
    --text-hero: 36px;
    --text-display: 28px;
    --text-title: 24px;
    --text-heading: 20px;
    --text-subheading: 18px;
  }

  .glass-card-premium {
    margin: 12px;
    margin: var(--space-3);
    padding: 16px;
    padding: var(--space-4);
  }

  .modal-content-premium {
    width: 95%;
    padding: 20px;
    padding: var(--space-5);
  }
}

/* Dark Mode Support - DISABLED to maintain consistent white theme */
/* @media (prefers-color-scheme: dark) {
  :root {
    --glass-ultra: rgba(0, 0, 0, 0.95);
    --glass-premium: rgba(0, 0, 0, 0.9);
    --glass-medium: rgba(0, 0, 0, 0.8);
    --glass-light: rgba(0, 0, 0, 0.7);
    --glass-subtle: rgba(0, 0, 0, 0.6);
  }

  .glass-card-premium {
    border-color: rgba(255, 255, 255, 0.1);
  }

  .input-premium {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
  }

  .input-premium:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--islamic-emerald);
  }
} */

/* Print Styles */
@media print {
  .glass-card-premium {
    background: white;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .btn-gradient-premium {
    background: #00A86B;
    background: var(--islamic-emerald);
  }
}
/* Expense Voucher Styles */

.voucher-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

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

.voucher-modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

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

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.close-modal:hover {
  background: #FF3B30;
  color: white;
  transform: rotate(90deg);
}

.voucher-container {
  padding: 40px;
  background: white;
  direction: rtl;
}

.voucher-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px double #333;
}

.voucher-logo h1 {
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 400;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.voucher-title {
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  margin: 10px 0;
}

.voucher-number {
  font-size: 16px;
  color: #666;
  margin: 5px 0;
}

.voucher-date {
  font-size: 14px;
  color: #666;
  margin: 5px 0;
}

.voucher-body {
  margin: 30px 0;
}

.voucher-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
  transition: all 0.2s;
}

.voucher-row:hover {
  background: #f0f0f0;
}

.voucher-label {
  font-weight: 400;
  color: #555;
  flex: 0 0 150px;
  font-size: 15px;
}

.voucher-value {
  flex: 1 1;
  color: #333;
  font-size: 16px;
  padding-right: 20px;
}

.amount-section {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.amount-label {
  font-size: 18px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.amount-value {
  font-size: 42px;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
}

.status-badge.status-pending {
  background: rgba(255, 204, 0, 0.2);
  color: #FF9500;
}

.status-badge.status-approved {
  background: rgba(52, 199, 89, 0.2);
  color: #34C759;
}

.status-badge.status-rejected {
  background: rgba(255, 59, 48, 0.2);
  color: #FF3B30;
}

.rejection-row {
  background: rgba(255, 59, 48, 0.05);
  border-right: 3px solid #FF3B30;
}

.voucher-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #ddd;
}

.signature-section {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
  gap: 30px;
}

.signature-box {
  text-align: center;
  flex: 1 1;
}

.signature-line {
  border-bottom: 2px solid #333;
  width: 80%;
  margin: 0 auto 10px;
  height: 50px;
}

.signature-label {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.voucher-stamp {
  margin-top: 40px;
}

.voucher-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  background: #f5f5f7;
  border-top: 1px solid #ddd;
  border-radius: 0 0 20px 20px;
}

.print-btn,
.download-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.print-btn {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
}

.print-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.download-btn {
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  color: white;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(52, 199, 89, 0.3);
}

/* Print Styles */
@media print {
  body {
    margin: 0;
    padding: 0;
  }

  .no-print,
  .voucher-modal,
  .voucher-actions,
  .close-modal {
    display: none !important;
  }

  .voucher-modal-content {
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .voucher-container {
    max-width: 100%;
    border: 1px solid #333;
    margin: 0;
    padding: 20px;
    box-shadow: none;
  }

  .voucher-header {
    page-break-inside: avoid;
  }

  .voucher-body {
    page-break-inside: avoid;
  }

  .signature-section {
    page-break-inside: avoid;
  }

  .amount-section {
    background: #f0f0f0 !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .voucher-row {
    background: #f9f9f9 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Ensure text is black for printing */
  .voucher-label,
  .voucher-value,
  .voucher-title,
  .voucher-number,
  .voucher-date {
    color: #000 !important;
  }

  .voucher-logo h1 {
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
  }
}
/* Expense Management - Premium Apple-Inspired Design System */
/* Using established design patterns from CLAUDE.md */

/* Main Container */
.expense-management {
  padding: 24px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
  direction: rtl;
  /* Ensure no overlays block input interactions */
  isolation: isolate;
}

/* Glass Morphism Effect */
.glass-morphism {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto !important;
  position: relative;
  isolation: isolate;
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.glass-morphism:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  transform: translateZ(0);
}

/* Header Section */
.expense-header {
  margin-bottom: 24px;
  padding: 28px;
}

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

.header-actions h2 {
  font-size: 32px;
  font-weight: 400;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* Create Button */
.create-btn {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  /* GPU Acceleration for smoother animations */
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.create-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.create-btn:hover::before {
  left: 100%;
}

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

.btn-icon {
  font-size: 20px;
}

/* View Only Notice */
.view-only-notice {
  background: linear-gradient(135deg, #FFCC00 0%, #FF9500 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.notice-icon {
  font-size: 18px;
}

/* Filters Section */
.filters-section {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.search-box {
  display: flex;
  flex: 1 1;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-input {
  flex: 1 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  direction: rtl;
  pointer-events: auto !important;
  z-index: 999 !important;
  position: relative;
  -webkit-user-select: text !important;
  user-select: text !important;
}

.search-btn {
  padding: 10px 16px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s;
  /* GPU Acceleration for smoother animations */
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.search-btn:hover {
  transform: scale(1.05) translateZ(0);
}

.filter-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  direction: rtl;
  pointer-events: auto !important;
  z-index: 999 !important;
  position: relative;
  /* GPU Acceleration for smoother animations */
  will-change: border-color, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.filter-select:hover {
  border-color: #007AFF;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
  transform: translateZ(0);
}

/* Create Expense Form */
.create-expense-form {
  margin-bottom: 24px;
  padding: 28px;
  position: relative;
  z-index: 100 !important; /* Force form above everything */
  isolation: isolate;
}

/* Force form to be interactive */
.create-expense-form * {
  pointer-events: auto !important;
}

/* Ensure form container doesn't block */
.create-expense-form form {
  position: relative;
  z-index: 101;
}

.animate-float {
  animation: none;
  will-change: auto;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  transform: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-10px) translateZ(0); }
}

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

.form-header h3 {
  font-size: 24px;
  font-weight: 400;
  color: #1D1D1F;
  margin: 0;
}

.close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-btn:hover {
  background: #FF3B30;
  color: white;
  transform: rotate(90deg) translateZ(0);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  /* Ensure form groups are properly layered */
  position: relative;
  isolation: isolate;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 400;
  color: #86868B;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  background: white !important;
  font-size: 15px !important;
  transition: all 0.2s;
  direction: rtl;
  pointer-events: auto !important;
  z-index: 999 !important;
  position: relative !important;
  -webkit-user-select: text !important;
  user-select: text !important;
  outline: none;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  /* GPU Acceleration for smoother animations */
  will-change: border-color, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.form-select {
  -webkit-appearance: menulist !important;
  appearance: menulist !important;
  height: auto !important;
  min-height: 48px !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled,
.form-file:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #f5f5f5;
}

/* Ensure inputs are always interactive when not disabled */
.form-input:not(:disabled),
.form-select:not(:disabled),
.form-textarea:not(:disabled),
.form-file:not(:disabled) {
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.form-select {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpolyline points=%276 9 12 15 18 9%27%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: left 10px center !important;
  background-size: 20px !important;
  padding-left: 40px !important;
}

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

.form-file {
  padding: 10px;
  border: 2px dashed rgba(0, 122, 255, 0.3);
  border-radius: 10px;
  background: rgba(0, 122, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s;
  pointer-events: auto !important; /* Force file input to receive events */
  z-index: 999 !important; /* Very high z-index for file input */
  position: relative !important;
}

.form-file:hover {
  border-color: #007AFF;
  background: rgba(0, 122, 255, 0.05);
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.submit-btn {
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.submit-btn:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 10px 30px rgba(52, 199, 89, 0.3);
}

.cancel-btn {
  background: rgba(142, 142, 147, 0.1);
  color: #1D1D1F;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  /* GPU Acceleration for smoother animations */
  will-change: transform, background;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.cancel-btn:hover {
  background: rgba(142, 142, 147, 0.2);
  transform: translateY(-1px) translateZ(0);
}

.form-actions.stacked {
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action-hint {
  color: #4b5563;
  font-size: 13px;
  margin: 0;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-header.enhanced {
  align-items: flex-start;
  gap: 12px;
}

.form-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.form-subtitle {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.form-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pill-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 122, 255, 0.22);
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(88, 86, 214, 0.08) 100%);
  color: #0a84ff;
  font-size: 12px;
  font-weight: 600;
}

.close-btn.elevated {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.input-helper {
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

.input-helper.inline {
  margin: 0;
}

.input-with-prefix {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.input-with-prefix .form-input {
  border: none !important;
  box-shadow: none !important;
  padding: 10px 8px !important;
  background: transparent !important;
}

.input-with-prefix .form-input:focus {
  box-shadow: none !important;
}

.input-with-prefix:focus-within {
  border-color: #007AFF;
  box-shadow: 0 14px 45px rgba(0, 122, 255, 0.15);
}

.input-prefix {
  font-weight: 700;
  color: #007AFF;
  padding-inline: 8px;
  -webkit-border-start: 1px solid rgba(0, 0, 0, 0.08);
          border-inline-start: 1px solid rgba(0, 0, 0, 0.08);
}

.file-input-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.category-select {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  direction: rtl;
}

/* Keep selects simple and aligned with inputs */
.form-select {
  min-width: 100%;
}

.category-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 248, 252, 0.95) 100%);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-trigger:hover {
  border-color: #007AFF;
  box-shadow: 0 16px 40px rgba(0, 122, 255, 0.15);
  transform: translateY(-1px);
}

.category-trigger.open {
  border-color: #5856D6;
  box-shadow: 0 18px 46px rgba(88, 86, 214, 0.14);
}

.category-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  background: #d1d5db;
  text-transform: uppercase;
}

.category-badge.small {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 12px;
}

.category-labels {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-primary {
  font-weight: 600;
  color: #111827;
}

.category-primary.placeholder {
  color: #9ca3af;
}

.category-secondary {
  font-size: 12px;
  color: #6b7280;
}

.category-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-total-chip {
  background: rgba(0, 122, 255, 0.08);
  color: #0a84ff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(0, 122, 255, 0.12);
  white-space: nowrap;
}

.category-total-chip.subtle {
  background: rgba(0, 0, 0, 0.04);
  color: #111827;
}

.category-total-chip.muted {
  color: #6b7280;
  border-style: dashed;
}

.category-panel {
  position: absolute;
  inset-inline: 0;
  margin-top: 8px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  z-index: 20;
  overflow: hidden;
  animation: dropdownIn 0.2s ease;
}

.category-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.04) 0%, rgba(88, 86, 214, 0.04) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.category-search input {
  flex: 1 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f8fafc;
  font-size: 14px;
}

.category-search input:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.clear-query {
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.clear-query:hover {
  background: rgba(0, 0, 0, 0.05);
}

.category-options {
  max-height: 280px;
  overflow-y: auto;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s;
}

.category-option:hover,
.category-option.focused {
  background: rgba(0, 122, 255, 0.06);
  transform: translateY(-1px);
}

.category-option.selected {
  background: rgba(0, 122, 255, 0.12);
  -webkit-border-start: 3px solid #007AFF;
          border-inline-start: 3px solid #007AFF;
}

.category-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-option-text .category-name {
  font-weight: 600;
  color: #111827;
}

.category-option-text .category-hint {
  font-size: 12px;
  color: #6b7280;
}

.category-option-meta {
  -webkit-margin-start: auto;
          margin-inline-start: auto;
}

.category-empty,
.category-quick-create {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #374151;
  border-top: 1px dashed rgba(0, 0, 0, 0.06);
}

.quick-add-btn {
  border: none;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 12px 36px rgba(0, 122, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 42px rgba(0, 122, 255, 0.28);
}

.category-select--compact .category-panel {
  width: min(520px, 100%);
}

.chevron {
  width: 10px;
  height: 10px;
  -webkit-border-start: 2px solid #6b7280;
          border-inline-start: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(-45deg);
  transition: transform 0.2s;
}

.category-trigger.open .chevron {
  transform: rotate(135deg);
}

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

@media (max-width: 768px) {
  .category-trigger {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .category-meta {
    width: 100%;
    justify-content: space-between;
  }

  .action-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .action-buttons button {
    flex: 1 1 140px;
  }
}

/* Expenses List */
.expenses-list {
  margin-top: 24px;
}

.empty-state {
  padding: 60px 40px;
  text-align: center;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 24px;
  font-weight: 400;
  color: #1D1D1F;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 16px;
  color: #86868B;
}

/* Expenses Grid */
.expenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

/* Expense Card */
.expense-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU Acceleration for smoother animations */
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.hover-lift:hover {
  transform: translateY(-4px) translateZ(0);
}

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

.expense-title h4 {
  font-size: 20px;
  font-weight: 400;
  color: #1D1D1F;
  margin: 0 0 4px 0;
}

.title-en {
  font-size: 14px;
  color: #86868B;
  font-style: italic;
  margin: 0;
}

/* Status Badge */
.expense-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 400;
  background: rgba(0, 0, 0, 0.05);
}

.expense-status.status-pending {
  background: rgba(255, 204, 0, 0.1);
  color: #FF9500;
}

.expense-status.status-approved {
  background: rgba(52, 199, 89, 0.1);
  color: #34C759;
}

.expense-status.status-rejected {
  background: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
}

.status-indicator {
  font-size: 10px;
}

/* Expense Details */
.expense-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expense-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(88, 86, 214, 0.05) 100%);
  border-radius: 10px;
}

.amount-label {
  font-size: 14px;
  color: #86868B;
  font-weight: 400;
}

.amount-value {
  font-size: 24px;
  font-weight: 400;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.expense-category {
  display: flex;
  gap: 8px;
  align-items: center;
}

.category-label {
  font-size: 14px;
  color: #86868B;
}

.category-value {
  padding: 4px 12px;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 6px;
  font-size: 14px;
  color: #007AFF;
  font-weight: 400;
}

.expense-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hijri-date {
  font-size: 15px;
  font-weight: 400;
  color: #1D1D1F;
}

.gregorian-date {
  font-size: 13px;
  color: #86868B;
}

.expense-description,
.expense-notes {
  padding: 12px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.notes-label {
  font-weight: 400;
  color: #86868B;
  margin-bottom: 4px;
  display: block;
}

.expense-receipt {
  margin-top: 12px;
}

.receipt-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Action Buttons */
.expense-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.approve-btn {
  flex: 1 1;
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.approve-btn:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 8px 20px rgba(52, 199, 89, 0.3);
}

.reject-btn {
  flex: 1 1;
  background: linear-gradient(135deg, #FF3B30 0%, #FF453A 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.reject-btn:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.3);
}

/* Status Notice */
.expense-status-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 204, 0, 0.1);
  border-radius: 8px;
  color: #FF9500;
  font-size: 14px;
  margin-top: 16px;
}

.status-icon {
  font-size: 18px;
}

/* Rejection Reason */
.rejection-reason {
  margin-top: 16px;
  padding: 12px;
  background: rgba(255, 59, 48, 0.05);
  border-right: 3px solid #FF3B30;
  border-radius: 8px;
}

.reason-label {
  font-size: 14px;
  color: #86868B;
  font-weight: 400;
  margin-bottom: 4px;
  display: block;
}

.rejection-reason p {
  font-size: 14px;
  color: #FF3B30;
  margin: 0;
  line-height: 1.5;
}

/* Footer */
.expense-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 13px;
  color: #86868B;
}

/* Print Actions */
.expense-print-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.voucher-btn {
  background: linear-gradient(135deg, #FF9500 0%, #FF5E3A 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.voucher-btn:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 8px 20px rgba(255, 149, 0, 0.3);
}

.voucher-btn .btn-icon {
  font-size: 18px;
}

.created-by,
.approved-by {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Ripple Effect */
.ripple-effect {
  position: relative;
  overflow: hidden;
  /* GPU Acceleration for smoother animations */
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.ripple-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::after {
  width: 300px;
  height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .expense-management {
    padding: 16px;
  }

  .expense-header {
    padding: 20px;
  }

  .header-actions {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .filters-section {
    flex-direction: column;
  }

  .filter-controls {
    width: 100%;
  }

  .filter-select {
    width: 100%;
  }

  .expenses-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .expense-actions {
    flex-direction: column;
  }
}

/* Loading and Error States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateY(-20px) translateZ(0);
    opacity: 0;
  }
  to {
    transform: translateY(0) translateZ(0);
    opacity: 1;
  }
}

.expense-card {
  animation: slideIn 0.3s ease-out;
  /* GPU Acceleration for smoother animations */
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

/* Print Styles */
@media print {
  .create-btn,
  .filter-controls,
  .search-box,
  .expense-actions,
  .close-btn {
    display: none;
  }

  .glass-morphism {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Ensure all form inputs are interactive */
.expense-management input,
.expense-management select,
.expense-management textarea,
.expense-management button {
  -webkit-user-select: auto;
  user-select: auto;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* Ensure form container doesn't block inputs */
.create-expense-form {
  position: relative;
  z-index: 10;
}

.create-expense-form input,
.create-expense-form select,
.create-expense-form textarea {
  background-color: white;
  opacity: 1;
}

/* Action Buttons Container */
.action-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Export Buttons */
.export-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

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

.export-btn.pdf-btn {
  background: linear-gradient(135deg, #FF3B30 0%, #FF453A 100%);
  color: white;
}

.export-btn.pdf-btn:hover:not(:disabled) {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.3);
}

.export-btn.excel-btn {
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  color: white;
}

.export-btn.excel-btn:hover:not(:disabled) {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 8px 20px rgba(52, 199, 89, 0.3);
}

/* Edit Button */
.edit-btn {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.edit-btn:hover:not(:disabled) {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

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

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

/* Edit Expense Form */
.edit-expense-form {
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Responsive adjustments for action buttons */
@media (max-width: 768px) {
  .action-buttons {
    width: 100%;
    justify-content: center;
  }

  .export-btn {
    flex: 1 1;
    justify-content: center;
  }

  .modal-overlay {
    padding: 10px;
  }

  .edit-expense-form {
    max-height: 95vh;
    padding: 20px;
  }
}

/* Category Button */
.category-btn {
  background: linear-gradient(135deg, #34C759 0%, #00C7BE 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(52, 199, 89, 0.3);
}

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

/* Category Modal */
.category-modal {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

/* Color Picker Row */
.color-picker-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-color {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.color-preview {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.preset-colors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-color {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.preset-color:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.preset-color.selected {
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.3);
}

/* Spinning animation for loading button */
.btn-icon.spinning {
  animation: spin 1s linear infinite;
}

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

/* Simple Category Form - matches expense form style */
.create-category-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.create-category-form .form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.create-category-form .form-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1D1D1F;
}

.create-category-form .form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.create-category-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  align-items: end;
}

.create-category-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.create-category-form .form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.create-category-form .form-group input {
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  font-size: 15px;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  direction: rtl;
}

.create-category-form .form-group input:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Simple Color Options */
.color-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0;
}

.color-btn:hover {
  transform: scale(1.1);
}

.color-btn.selected {
  border-color: #1D1D1F;
  box-shadow: 0 0 0 2px white, 0 0 0 4px #007AFF;
}

/* Form Actions - Simple Style */
.create-category-form .form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

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

.btn-secondary {
  background: rgba(142, 142, 147, 0.12);
  color: #1D1D1F;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(142, 142, 147, 0.2);
}

/* Responsive for category form */
@media (max-width: 768px) {
  .create-category-form .form-row {
    grid-template-columns: 1fr;
  }

  .create-category-form .form-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive for category modal */
@media (max-width: 480px) {
  .category-modal {
    padding: 20px;
  }

  .color-picker-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .preset-colors {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Premium Registration Form - Apple-Inspired Design System */

/* ═══════════════════════════════════════════════════════════════ */
/* Root Variables & Base Setup */
/* ═══════════════════════════════════════════════════════════════ */

:root {
  --primary-gradient: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  --secondary-gradient: linear-gradient(135deg, #FF3B30 0%, #FF6482 100%);
  --success-gradient: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  --warning-gradient: linear-gradient(135deg, #FF9500 0%, #FFB340 100%);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 24px 48px rgba(0, 0, 0, 0.16);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ═══════════════════════════════════════════════════════════════ */
/* Container & Layout */
/* ═══════════════════════════════════════════════════════════════ */

.premium-registration-container {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #F5F5F7 0%, #FFFFFF 50%, #F5F5F7 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Cairo', 'Tajawal', sans-serif;
  position: relative;
  overflow-x: hidden;
  direction: rtl;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Premium Header */
/* ═══════════════════════════════════════════════════════════════ */

.premium-header {
  position: relative;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--primary-gradient);
  padding: 48px 32px 32px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-xl);
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  top: -100%;
  right: -50%;
  width: 200%;
  height: 300%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 60%);
  animation: rotateGradient 30s linear infinite;
}

.pattern-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%23ffffff%27 fill-opacity=%270.05%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: patternMove 60s linear infinite;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  animation: breathe 4s ease-in-out infinite;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: #007AFF;
  animation: sparkle 3s ease-in-out infinite;
}

.logo-text {
  color: white;
}

.logo-title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-subtitle {
  font-size: 14px;
  font-weight: 400;
  margin: 4px 0 0;
  opacity: 0.9;
}

.header-badges {
  display: flex;
  gap: 16px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
}

.badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.badge-icon {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Progress Bar */
/* ═══════════════════════════════════════════════════════════════ */

.progress-bar-container {
  background: white;
  padding: 20px 32px;
  border-bottom: 1px solid #E5E5EA;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.progress-bar-track {
  height: 6px;
  background: #F2F2F7;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--primary-gradient);
  border-radius: 100px;
  position: relative;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: width var(--transition-slow);
}

.progress-bar-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmerProgress 2s linear infinite;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.progress-step {
  font-size: 14px;
  color: #1D1D1F;
  font-weight: 400;
}

.progress-percent {
  font-size: 14px;
  color: #007AFF;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Step Indicator */
/* ═══════════════════════════════════════════════════════════════ */

.step-indicator-wrapper {
  padding: 32px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
  padding: 0 16px;
}

.step-item.completed {
  cursor: pointer;
}

.step-item.completed:hover {
  transform: translateY(-3px);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: white;
  border: 2px solid #E5E5EA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8E8E93;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-item.active .step-icon {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: scale(1.15);
  box-shadow:
    0 4px 12px rgba(0, 122, 255, 0.3),
    0 8px 24px rgba(0, 122, 255, 0.15);
}

.step-item.completed .step-icon {
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  border-color: transparent;
  color: white;
}

.step-label {
  font-size: 12px;
  font-weight: 400;
  color: #8E8E93;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
}

.step-item.active .step-label {
  color: #007AFF;
  font-weight: 400;
}

.step-item.completed .step-label {
  color: #34C759;
}

.step-active-indicator {
  position: absolute;
  bottom: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #007AFF;
  animation: pulse 2s ease-in-out infinite;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: #E5E5EA;
  position: relative;
  top: -28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
}

.step-connector.completed {
  background: #34C759;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Form Container */
/* ═══════════════════════════════════════════════════════════════ */

.form-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
}

.form-wrapper {
  background: white;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.form-content {
  padding: 40px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Form Sections */
/* ═══════════════════════════════════════════════════════════════ */

.form-section {
  opacity: 0;
  animation: slideUpFade 0.5s ease forwards;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F2F2F7;
}

.section-icon-wrapper {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--primary-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(0, 122, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.section-icon {
  width: 28px;
  height: 28px;
  color: white;
}

.section-text {
  flex: 1 1;
}

.section-title {
  font-size: 24px;
  font-weight: 400;
  color: #1D1D1F;
  margin: 0;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 14px;
  color: #8E8E93;
  margin: 4px 0 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Form Grid & Inputs */
/* ═══════════════════════════════════════════════════════════════ */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group.large {
  grid-column: 1 / -1;
}

.input-label {
  font-size: 14px;
  font-weight: 400;
  color: #1D1D1F;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-label.required::after {
  content: '*';
  color: #FF3B30;
  font-size: 12px;
  margin-right: 2px;
}

.label-icon {
  width: 16px;
  height: 16px;
  color: #8E8E93;
}

.input-wrapper {
  position: relative;
}

.input-field {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #F2F2F7;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  color: #1D1D1F;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.input-field:hover {
  background: #E5E5EA;
}

.input-field:focus {
  outline: none;
  background: white;
  border-color: #007AFF;
  box-shadow:
    0 0 0 4px rgba(0, 122, 255, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08);
  box-shadow:
    0 0 0 4px rgba(0, 122, 255, 0.1),
    var(--shadow-md);
}

.input-field.focused {
  background: white;
  border-color: #007AFF;
  box-shadow:
    0 0 0 4px rgba(0, 122, 255, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08);
  box-shadow:
    0 0 0 4px rgba(0, 122, 255, 0.1),
    var(--shadow-md);
}

.input-field.error {
  border-color: #FF3B30;
  background: #FFF5F5;
}

.input-field.error:focus {
  box-shadow:
    0 0 0 4px rgba(255, 59, 48, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08);
  box-shadow:
    0 0 0 4px rgba(255, 59, 48, 0.1),
    var(--shadow-md);
}

.input-field.textarea {
  min-height: 100px;
  padding: 12px 16px;
  resize: vertical;
}

.input-field.small {
  height: 40px;
  font-size: 14px;
}

.input-field.number-field {
  text-align: center;
  padding: 0 48px;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-hint {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  font-size: 12px;
  color: #007AFF;
  background: white;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  animation: slideDownFade 0.2s ease;
  z-index: 5;
}

/* Select Styles */
select.input-field {
  cursor: pointer;
  padding-left: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath fill=%27%238E8E93%27 d=%27M6 8L0 0h12z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
}

/* Radio & Checkbox Styles */
.radio-group {
  display: flex;
  gap: 24px;
  align-items: center;
  height: 48px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-fast);
}

.radio-input {
  width: 20px;
  height: 20px;
  accent-color: #007AFF;
  cursor: pointer;
}

.radio-text {
  font-size: 15px;
  color: #1D1D1F;
}

.checkbox-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-fast);
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-box {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: #F2F2F7;
  border: 2px solid #E5E5EA;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
  color: white;
}

.checkbox-input:checked ~ .checkbox-box {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--primary-gradient);
  border-color: transparent;
}

.checkbox-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #1D1D1F;
  padding-top: 2px;
}

.conditional-field {
  margin-right: 36px;
  margin-top: 8px;
  animation: expandDown 0.3s ease;
}

/* Number Input */
.number-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  background: #F2F2F7;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
}

.number-input-wrapper:focus-within {
  border-color: #007AFF;
  box-shadow:
    0 0 0 4px rgba(0, 122, 255, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08);
  box-shadow:
    0 0 0 4px rgba(0, 122, 255, 0.1),
    var(--shadow-md);
}

.number-button {
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  color: #007AFF;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-fast);
}

.number-button:hover {
  background: rgba(0, 122, 255, 0.1);
}

.number-button:active {
  transform: scale(0.95);
}

/* ═══════════════════════════════════════════════════════════════ */
/* Upload Section */
/* ═══════════════════════════════════════════════════════════════ */

.document-upload-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #F2F2F7;
}

.upload-section-title {
  font-size: 18px;
  font-weight: 400;
  color: #1D1D1F;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.upload-card {
  position: relative;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background: #F8F8FA;
  border: 2px dashed #E5E5EA;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
  text-align: center;
}

.upload-label:hover {
  background: white;
  border-color: #007AFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.upload-icon-wrapper {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.upload-icon {
  width: 24px;
  height: 24px;
  color: #007AFF;
}

.upload-title {
  font-size: 14px;
  font-weight: 400;
  color: #1D1D1F;
}

.upload-hint {
  font-size: 12px;
  color: #8E8E93;
}

.upload-success {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #34C759;
  font-weight: 400;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Special Sections */
/* ═══════════════════════════════════════════════════════════════ */

/* Address Preview */
.address-preview-card {
  background: linear-gradient(135deg, #F8F8FA 0%, #FFFFFF 100%);
  border: 1px solid #E5E5EA;
  border-radius: 16px;
  padding: 20px;
  margin-top: 24px;
}

.address-preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.address-preview-header h3 {
  font-size: 16px;
  font-weight: 400;
  color: #1D1D1F;
  margin: 0;
}

.address-preview-content {
  font-size: 14px;
  line-height: 1.6;
  color: #1D1D1F;
}

/* Dependents Section */
.dependents-section {
  margin-top: 32px;
  padding: 24px;
  background: #F8F8FA;
  border-radius: 16px;
}

.subsection-title {
  font-size: 18px;
  font-weight: 400;
  color: #1D1D1F;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dependents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.dependent-card {
  background: white;
  border: 1px solid #E5E5EA;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
}

.dependent-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dependent-header {
  font-size: 14px;
  font-weight: 400;
  color: #007AFF;
  margin-bottom: 12px;
}

.dependent-number {
  display: inline-block;
  padding: 4px 12px;
  background: #F2F2F7;
  border-radius: 100px;
  font-size: 12px;
  color: #1D1D1F;
}

.dependent-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Summary Section */
.summary-section {
  margin-top: 40px;
  padding: 24px;
  background: linear-gradient(135deg, #F8F8FA 0%, #FFFFFF 100%);
  border: 2px solid #E5E5EA;
  border-radius: 16px;
}

.summary-title {
  font-size: 18px;
  font-weight: 400;
  color: #1D1D1F;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label {
  font-size: 12px;
  font-weight: 400;
  color: #8E8E93;
}

.summary-value {
  font-size: 14px;
  font-weight: 400;
  color: #1D1D1F;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Navigation */
/* ═══════════════════════════════════════════════════════════════ */

.form-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: #F8F8FA;
  border-top: 1px solid #E5E5EA;
}

.nav-spacer {
  flex: 1 1;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
  text-decoration: none;
}

.nav-button.primary {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--primary-gradient);
  color: white;
  box-shadow:
    0 4px 12px rgba(0, 122, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-button.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(0, 122, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-button.secondary {
  background: white;
  color: #007AFF;
  border: 2px solid #E5E5EA;
}

.nav-button.secondary:hover {
  background: #F2F2F7;
  transform: translateY(-2px);
}

.nav-button.submit {
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  background: var(--success-gradient);
  color: white;
  box-shadow:
    0 4px 12px rgba(52, 199, 89, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-button.submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(52, 199, 89, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.nav-button.loading {
  position: relative;
  pointer-events: none;
}

.button-icon {
  width: 20px;
  height: 20px;
}

.button-icon.rotate-180 {
  transform: rotate(180deg);
}

.button-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Error Banner */
/* ═══════════════════════════════════════════════════════════════ */

.error-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #FFF5F5;
  border: 1px solid #FFD4D4;
  border-radius: 12px;
  margin-bottom: 24px;
}

.error-icon {
  width: 20px;
  height: 20px;
  color: #FF3B30;
  flex-shrink: 0;
}

.error-messages {
  flex: 1 1;
}

.error-message {
  font-size: 14px;
  color: #FF3B30;
  margin: 0;
  line-height: 1.5;
}

.error-message + .error-message {
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Success Screen */
/* ═══════════════════════════════════════════════════════════════ */

.success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(180deg, #F5F5F7 0%, #FFFFFF 100%);
}

.success-animation {
  position: relative;
  margin-bottom: 32px;
}

.success-circle {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-circle-fill {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
  background: var(--success-gradient);
  border-radius: 50%;
  animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon {
  width: 60px;
  height: 60px;
  color: white;
  position: relative;
  z-index: 1;
  animation: checkIn 0.6s ease;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.success-sparkles {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sparkle {
  position: absolute;
  color: #FFD60A;
  opacity: 0;
  animation: sparkleOut 1s ease;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.sparkle-1 { top: 0; left: 50%; transform: translateX(-50%); }
.sparkle-2 { top: 15%; right: 15%; }
.sparkle-3 { right: 0; top: 50%; transform: translateY(-50%); }
.sparkle-4 { bottom: 15%; right: 15%; }
.sparkle-5 { bottom: 0; left: 50%; transform: translateX(-50%); }
.sparkle-6 { bottom: 15%; left: 15%; }
.sparkle-7 { left: 0; top: 50%; transform: translateY(-50%); }
.sparkle-8 { top: 15%; left: 15%; }

.success-title {
  font-size: 32px;
  font-weight: 400;
  color: #1D1D1F;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  animation: slideUpFade 0.5s ease;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.success-message {
  font-size: 16px;
  color: #8E8E93;
  margin: 0 0 32px;
  max-width: 400px;
  line-height: 1.5;
  animation: slideUpFade 0.5s ease;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

.success-details {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  animation: slideUpFade 0.5s ease;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.success-detail-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: white;
  border: 1px solid #E5E5EA;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: #F2F2F7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007AFF;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.detail-label {
  font-size: 12px;
  color: #8E8E93;
  font-weight: 400;
}

.detail-value {
  font-size: 14px;
  color: #1D1D1F;
  font-weight: 400;
}

.success-actions {
  animation: slideUpFade 0.5s ease;
  animation-delay: 0.7s;
  animation-fill-mode: both;
}

.primary-button.large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow:
    0 4px 12px rgba(0, 122, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.primary-button.large:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(0, 122, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════════════════════════════ */
/* Footer */
/* ═══════════════════════════════════════════════════════════════ */

.registration-footer {
  background: white;
  border-top: 1px solid #E5E5EA;
  padding: 24px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-text {
  font-size: 14px;
  color: #8E8E93;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #007AFF;
  text-decoration: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  text-decoration: underline;
}

.separator {
  color: #C7C7CC;
  margin: 0 8px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Animations */
/* ═══════════════════════════════════════════════════════════════ */

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

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

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

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes checkIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sparkleOut {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.5) rotate(360deg);
  }
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

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

@keyframes patternMove {
  from {
    transform: translateX(0) translateY(0);
  }
  to {
    transform: translateX(60px) translateY(60px);
  }
}

@keyframes shimmerProgress {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(200%);
  }
}

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

@keyframes expandDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.animate-slide-up {
  animation: slideUpFade 0.5s ease forwards;
}

.animate-scale-up {
  animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-fade-in {
  animation: fadeInUp 0.4s ease;
}

.animate-shake {
  animation: shake 0.5s ease;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Responsive Design */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-badges {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .step-indicator {
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .step-label {
    display: none;
  }

  .step-connector {
    width: 40px;
  }

  .form-content {
    padding: 24px 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-navigation {
    padding: 20px;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .nav-button {
    width: 100%;
    justify-content: center;
  }

  .success-details {
    flex-direction: column;
    width: 100%;
  }

  .success-detail-card {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
/* Compact Add Member Form - No Scroll Needed */

.compact-add-member-form {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.member-form {
  width: 100%;
  max-width: 1400px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  animation: slideUp 0.4s ease-out;
}

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

/* Form Grid - 3 Columns */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
  height: 100%;
}

/* Column Styling */
.form-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.column-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 0.5rem;
}

.header-icon {
  width: 24px;
  height: 24px;
  color: #667eea;
}

.column-header h3 {
  font-size: 16px;
  font-weight: 400;
  color: #1e293b;
  margin: 0;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Upload Areas */
.upload-area {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 0.75rem;
  background: #f8fafc;
  transition: all 0.3s ease;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-area:hover {
  border-color: #667eea;
  background: #f1f5f9;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  width: 100%;
}

.upload-icon {
  width: 32px;
  height: 32px;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

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

.upload-hint {
  font-size: 10px !important;
  color: #94a3b8 !important;
}

/* Preview Containers */
.preview-container {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-preview,
.id-preview {
  max-width: 100%;
  max-height: 90px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.pdf-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem;
}

.doc-icon {
  width: 40px;
  height: 40px;
  color: #667eea;
}

.pdf-preview span {
  font-size: 12px;
  color: #475569;
}

.remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.remove-btn:hover {
  transform: scale(1.1);
  background: #dc2626;
}

.remove-btn svg {
  width: 12px;
  height: 12px;
}

.form-group label {
  font-size: 13px;
  font-weight: 400;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-group input {
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error {
  border-color: #ef4444;
}

.form-group input::placeholder {
  color: #cbd5e1;
  font-size: 13px;
}

/* Error Messages */
.error-message {
  font-size: 11px;
  color: #ef4444;
  margin-top: 2px;
}

/* Form Actions */
.form-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.submit-btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 6px rgba(102, 126, 234, 0.2);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
}

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

.submit-btn .btn-icon {
  width: 20px;
  height: 20px;
}

/* Loading Spinner */
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Submit Error */
.submit-error {
  margin-top: 0.5rem;
  padding: 8px 12px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
}

/* Success Screen */
.success-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  color: #10b981;
  animation: checkmark 0.6s ease;
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(-45deg);
  }
  50% {
    transform: scale(1.2) rotate(-45deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

.success-screen h2 {
  font-size: 24px;
  font-weight: 400;
  color: #0f172a;
  margin: 0;
}

.success-screen p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-column:last-child {
    grid-column: span 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .form-column:last-child .column-header {
    width: 100%;
  }

  .form-column:last-child .form-group {
    width: calc(50% - 0.5rem);
  }

  .form-column:last-child .form-actions {
    width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .compact-add-member-form {
    padding: 0.5rem;
  }

  .member-form {
    padding: 1rem;
    border-radius: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-column:last-child {
    flex-direction: column;
  }

  .form-column:last-child .form-group {
    width: 100%;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input {
    padding: 6px 10px;
    font-size: 13px;
  }

  .column-header h3 {
    font-size: 14px;
  }

  .submit-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* For small screens - make it scrollable if needed */
@media (max-height: 600px) {
  .compact-add-member-form {
    height: auto;
    min-height: 100%;
    align-items: flex-start;
  }

  .member-form {
    margin: 1rem 0;
  }
}
/* Two Section Members Layout - Modern Clean Design */

:root {
  --bg-surface: #f5f7fb;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --muted: #64748b;
  --text-main: #0f172a;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --secondary: #6366f1;
  --accent: #0ea5e9;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
  0% {
    background-color: #f0f0f0;
  }
  50% {
    background-color: #e0e0e0;
  }
  100% {
    background-color: #f0f0f0;
  }
}

.skeleton {
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-text {
  height: 16px;
  width: 80%;
  margin: 8px 0;
}

.skeleton-badge {
  height: 24px;
  width: 60px;
  margin: 8px 0;
}

.skeleton-actions {
  height: 32px;
  width: 100px;
  margin: 4px 0;
}

.skeleton-row td {
  padding: 12px;
}

/* Empty State */
.empty-cell {
  text-align: center;
  padding: 60px 20px !important;
}

.empty-state {
  color: #6b7280;
  font-size: 16px;
}

.two-section-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f5f7fb;
  background: var(--bg-surface);
  max-width: 1440px;
  margin: 0 auto;
}

/* TOP CONTROL SECTION */
.top-control-section {
  background: #ffffff;
  background: var(--card-bg);
  border-radius: 16px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  animation: slideDown 0.4s ease-out;
  border: 1px solid rgba(226, 232, 240, 0.7);
}

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

.control-section-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Add Member Button */
.add-member-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 22px;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  background: linear-gradient(135deg, var(--secondary) 0%, #7c3aed 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.28);
}

.add-member-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Search Container */
.search-container {
  position: relative;
  flex: 1 1;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #64748b;
  color: var(--muted);
}

.search-input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border: 2px solid #e2e8f0;
  border: 2px solid var(--border);
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fff;
}

.search-input:focus {
  outline: none;
  border-color: #2563eb;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Filter Group */
.filter-group {
  position: relative;
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 18px;
  background: #fff;
  color: #334155;
  border: 2px solid #e2e8f0;
  border: 2px solid var(--border);
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.filter-badge {
  background: #667eea;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
}

/* Filter Dropdown */
.filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  min-width: 280px;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

.filter-item label {
  font-size: 13px;
  color: #64748b;
  font-weight: 400;
}

.filter-item select {
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-item select:focus {
  outline: none;
  border-color: #667eea;
}

/* Import/Export Button Group */
.import-export-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Import Button */
.import-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 20px;
  background: #2563eb;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
  min-width: 140px;
  justify-content: center;
}

.import-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
  background: #2563eb;
}

/* Export Button */
.export-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 20px;
  background: #10b981;
  background: var(--success);
  color: white;
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
  min-width: 140px;
  justify-content: center;
}

.export-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
  background: #059669;
}

/* BOTTOM DATA SECTION */
.bottom-data-section {
  background: #ffffff;
  background: var(--card-bg);
  border-radius: 16px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  animation: slideUp 0.4s ease-out;
  border: 1px solid rgba(226, 232, 240, 0.7);
}

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

.data-section-inner {
  padding: 1.5rem;
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

/* Results Info */
.results-info {
  margin-bottom: 1rem;
  color: #64748b;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* Members Table Container */
.members-table-container {
  flex: 1 1;
  overflow-x: auto;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 12px;
  border-radius: var(--radius-md);
}

.members-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.members-table thead {
  background: #f8fafc;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
}

.members-table th {
  padding: 12px;
  text-align: right;
  font-size: 13px;
  font-weight: 400;
  color: #475569;
  text-transform: uppercase;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.members-table tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid #f1f5f9;
}

.clickable-row {
  cursor: pointer;
}

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

.members-table td {
  padding: 14px 18px;
  font-size: 14px;
  color: #1e293b;
  vertical-align: middle;
  line-height: 1.6;
}

.member-name {
  font-weight: 400;
  color: #0f172a;
}

.member-phone {
  direction: ltr;
  text-align: right;
  font-family: monospace;
  color: #475569;
}

.member-email {
  color: #64748b;
  font-size: 13px;
  min-width: 420px;
  max-width: 520px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-gender {
  min-width: 120px;
  white-space: nowrap;
}

/* Status Badges */
.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 400;
  display: inline-block;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #0f9f6e;
}

.status-badge.inactive {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

/* Profile Badges */
.profile-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 400;
  display: inline-block;
}

.profile-badge.complete {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.profile-badge.incomplete {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

/* Actions Cell */
.actions-cell {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  min-width: 200px;
}

.action-btn {
  height: 36px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.action-btn svg {
  width: 16px;
  height: 16px;
}

.action-btn.view {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(14, 165, 233, 0.18));
  color: #1d4ed8;
}

.action-btn.view:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(14, 165, 233, 0.28));
}

.action-btn.edit {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(16, 185, 129, 0.18));
  color: #0f766e;
}

.action-btn.edit:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(16, 185, 129, 0.26));
}

.action-btn.delete {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(248, 113, 113, 0.18));
  color: #b91c1c;
}

.action-btn.delete:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.24), rgba(248, 113, 113, 0.26));
}

/* No permission text for non-super_admin users */
.no-permission-text {
  font-size: 12px;
  color: #9CA3AF;
  font-style: italic;
  padding: 0 8px;
}

/* Pagination Container */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.pagination-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #667eea;
  background: #f8fafc;
}

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

.pagination-btn svg {
  width: 16px;
  height: 16px;
  color: #475569;
}

.page-numbers {
  display: flex;
  gap: 0.25rem;
}

.page-number {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-number:hover {
  background: #f8fafc;
}

.page-number.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 400;
}

/* Loading State */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: #64748b;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

/* Page Size Selector */
.page-size-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-size-selector label {
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

.page-size-selector select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: white;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
  min-width: 80px;
  transition: all 0.2s ease;
}

.page-size-selector select:hover {
  border-color: #667eea;
  background: #f8fafc;
}

.page-size-selector select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.page-size-selector .suffix {
  font-size: 14px;
  color: #475569;
}

/* Full Page Add Member Styles */
.full-page-add-member {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
  animation: fadeIn 0.3s ease;
}

.add-member-header {
  background: white;
  padding: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.back-to-list-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(100, 116, 139, 0.2);
}

.back-to-list-btn:hover {
  transform: translateX(-4px);
  box-shadow: 0 4px 8px rgba(100, 116, 139, 0.3);
}

.back-to-list-btn .btn-icon {
  width: 18px;
  height: 18px;
}

.add-member-title {
  font-size: 24px;
  font-weight: 400;
  color: #0f172a;
  margin: 0;
}

.add-member-content {
  flex: 1 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.add-member-content > * {
  width: 100%;
  height: 100%;
}

/* Modal Overlay - Removed since we're using full page */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

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

.modal-header h2 {
  font-size: 20px;
  font-weight: 400;
  color: #0f172a;
}

.close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #e2e8f0;
}

.close-btn svg {
  width: 20px;
  height: 20px;
  color: #475569;
}

.modal-body {
  flex: 1 1;
  overflow-y: auto;
  padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .control-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container {
    max-width: 100%;
  }

  .import-export-group {
    flex-direction: column;
    width: 100%;
  }

  .import-btn,
  .export-btn {
    width: 100%;
  }

  .members-table {
    font-size: 12px;
  }

  .members-table th,
  .members-table td {
    padding: 8px;
  }

  .actions-cell {
    flex-direction: column;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }
}

/* Tab Navigation Styles */
.section-tabs .tab {
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-user-select: none;
          user-select: none;
}

.section-tabs .tab:hover:not(.active) {
  background-color: #f0f0f5;
  color: #6366f1;
}

.section-tabs .tab.active {
  background-color: #6366f1;
  color: white;
  font-weight: 600;
}

/* Edit Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

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

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

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1F2937;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #6B7280;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
}

.close-btn:hover {
  background: #F3F4F6;
  color: #1F2937;
}

.modal-body {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 18px 20px;
  gap: 18px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #0f172a;
  font-size: 14px;
  letter-spacing: 0.1px;
}

.form-input {
  padding: 12px 14px;
  border: 1px solid #d5d9e2;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.2s;
  font-family: inherit;
  width: 100%;
  background: #fbfcfe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  min-height: 44px;
}

.form-input::placeholder {
  color: #9ca3af;
}

/* Simple select element styling for RTL */
select.form-input {
  padding: 12px 16px;
  border: 1px solid #d5d9e2;
  border-radius: 10px;
  font-size: 15px;
  font-family: system-ui, -apple-system, Arial, sans-serif;
  width: 100%;
  background-color: white;
  direction: rtl;
  text-align: right;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" stroke=\"%23666\"%3E%3Cpath d=\"M5 8l5 5 5-5\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 20px;
  padding-left: 35px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Option styling */
select.form-input option {
  color: #1f2937;
  background-color: white;
  padding: 8px;
  direction: rtl;
  text-align: right;
}

/* Focus state */
select.form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

select.form-input:focus-visible {
  outline: none;
}

/* Hover state */
select.form-input:hover {
  border-color: #94a3b8;
}

select.form-input:disabled {
  background-color: #f5f7fb;
  color: #94a3b8;
  cursor: not-allowed;
}

.form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-input:disabled {
  background: #f5f7fb;
  color: #94a3b8;
  cursor: not-allowed;
}

.form-input:hover {
  border-color: #94a3b8;
}

.form-input:disabled {
  background: #f5f7fb;
  color: #94a3b8;
  cursor: not-allowed;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 30px;
  border-top: 1px solid #E5E7EB;
  background: #F9FAFB;
  border-radius: 0 0 16px 16px;
}

.btn-cancel,
.btn-save {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-cancel {
  background: white;
  color: #6B7280;
  border: 1px solid #D1D5DB;
}

.btn-cancel:hover {
  background: #F3F4F6;
  border-color: #9CA3AF;
}

.btn-save {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
}

.btn-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }
}

/* Full Page Edit Member Styles */
.edit-member-fullpage {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f5f5f7;
  z-index: 10000;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}

.edit-member-fullpage .modal-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.edit-member-fullpage .modal-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

.edit-member-fullpage .close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.edit-member-fullpage .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.edit-member-fullpage .modal-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.edit-member-fullpage .modal-footer {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 100;
  background: white;
  border-top: 2px solid #e5e7eb;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.edit-member-fullpage .btn-cancel,
.edit-member-fullpage .btn-save {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.edit-member-fullpage .btn-cancel {
  background: #f3f4f6;
  color: #374151;
}

.edit-member-fullpage .btn-cancel:hover {
  background: #e5e7eb;
}

.edit-member-fullpage .btn-save {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.edit-member-fullpage .btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Enhanced Edit Member Modal Styles - Legacy */
.edit-member-modal {
  max-width: 1000px !important;
  width: 95%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.edit-member-modal .modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 200px);
  padding: 0;
}

/* Section Tabs */
.section-tabs {
  display: flex;
  gap: 10px;
  padding: 20px 30px;
  border-bottom: 2px solid #f0f0f0;
  background: #fafafa;
}

.section-tabs .tab {
  padding: 10px 20px;
  background: white;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: all 0.3s;
  color: #666;
  font-weight: 500;
  border: 1px solid #e0e0e0;
  border-bottom: none;
}

.section-tabs .tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

/* Form Sections */
.form-sections {
  padding: 30px;
}

.edit-member-fullpage .form-sections {
  padding: 40px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section {
  margin-bottom: 30px;
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '📋';
  font-size: 20px;
}

.form-section:nth-child(2) .section-title::before {
  content: '🏠';
}

.form-section:nth-child(3) .section-title::before {
  content: '👤';
}

.form-section:nth-child(4) .section-title::before {
  content: '📝';
}

/* File Upload Area */
.file-upload-area {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.file-input {
  display: none;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 120px;
}

.file-upload-label:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  border-style: solid;
}

.file-upload-label span {
  display: block;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.file-upload-label .file-info {
  font-size: 12px;
  color: #9ca3af;
}

/* Form Input Enhancements */
.edit-member-modal .form-input {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.edit-member-modal .form-input:focus {
  background: white;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.edit-member-modal select.form-input {
  cursor: pointer;
  min-width: 200px;
}

/* Field hint for showing current selection */
.field-hint {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: 0.85rem;
  font-style: italic;
  padding-right: 5px;
}

/* Modal Footer Enhancement */
.edit-member-modal .modal-footer {
  border-top: 2px solid #e5e7eb;
  padding: 20px 30px;
  background: linear-gradient(to bottom, #fafafa, #f3f4f6);
}

.edit-member-modal .btn-save {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Member Statement Search - Enhanced Premium Styles */

.member-statement-container {
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
  direction: rtl;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f5f7 0%, #e5e5ea 100%);
}

/* Header Section */
.statement-header {
  text-align: center;
  margin-bottom: 30px;
}

.statement-title {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

.statement-subtitle {
  color: #666;
  font-size: 16px;
}

/* Search Section */
.search-section {
  margin-bottom: 30px;
}

.search-input-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #999;
}

.search-input {
  width: 100%;
  padding: 15px 55px 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  transition: all 0.3s ease;
  direction: rtl;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.search-loading {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #007AFF;
  font-size: 14px;
}

.search-error {
  text-align: center;
  color: #ff3b30;
  margin-top: 10px;
  font-size: 14px;
}

/* Auto-complete dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  direction: rtl;
  text-align: right;
}

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.autocomplete-item:hover {
  background: rgba(0, 122, 255, 0.08);
  transform: translateX(2px);
  /* RTL: Move right on hover */
}

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

/* Members Table Section */
.members-table-section {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  direction: rtl;
  text-align: right;
}

.table-header {
  text-align: center;
  margin-bottom: 8px;
  padding-bottom: 0px !important;
  /* Removed border-bottom to prevent duplicate header appearance */
  background: transparent !important;
  min-height: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.table-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  line-height: 1.4;
  min-height: auto;
  background: transparent !important;
}

.table-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  direction: rtl;
  flex-direction: row-reverse;
  /* RTL: Icon on right, text on left */
}

.stat-item.stat-good {
  background: rgba(52, 199, 89, 0.1);
  color: #34C759;
  border: 2px solid rgba(52, 199, 89, 0.2);
}

.stat-item.stat-warning {
  background: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
  border: 2px solid rgba(255, 59, 48, 0.2);
}

.stat-icon {
  width: 20px;
  height: 20px;
}

.table-subtitle {
  font-size: 14px;
  color: #666;
  font-weight: 400;
  margin-top: 8px;
  margin-bottom: 0px;
}

/* Desktop Table View */
.desktop-view {
  display: block !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.mobile-view {
  display: none !important;
}

/* Ensure cards container is also hidden on desktop */
.members-cards-container {
  display: none;
}

/* Remove any gap between table-header and table container */
.table-header + .members-table-container {
  margin-top: 0 !important;
}

.table-header + * {
  margin-top: 0 !important;
}

.members-table-container {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  direction: rtl;
  /* Ensure smooth scrolling and proper RTL behavior */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: white !important;
  padding: 0 !important;
  margin: 0 !important;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  direction: rtl;
  table-layout: fixed;
  /* Fixed layout ensures headers align perfectly with columns */
}

.members-table thead {
  color: white;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.members-table th {
  padding: 16px 12px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  border-bottom: none;
  white-space: nowrap;
  vertical-align: middle;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  direction: rtl;
}

/* Column-specific widths for perfect alignment */
.members-table th:nth-child(1),
.members-table td:nth-child(1) {
  width: 10%;
  /* رقم العضوية */
}

.members-table th:nth-child(2),
.members-table td:nth-child(2) {
  width: 20%;
  /* الاسم الكامل */
}

.members-table th:nth-child(3),
.members-table td:nth-child(3) {
  width: 12%;
  /* رقم الجوال */
}

.members-table th:nth-child(4),
.members-table td:nth-child(4) {
  width: 15%;
  /* الفخذ */
}

.members-table th:nth-child(5),
.members-table td:nth-child(5) {
  width: 12%;
  /* الرصيد */
}

.members-table th:nth-child(6),
.members-table td:nth-child(6) {
  width: 13%;
  /* الحالة */
}

.members-table th:nth-child(7),
.members-table td:nth-child(7) {
  width: 18%;
  /* الإجراءات */
}

.members-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.members-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(0, 122, 255, 0.03) 0%, rgba(88, 86, 214, 0.03) 100%);
  transform: translateX(2px);
  /* RTL: Move right on hover (positive value) */
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.1);
}

.members-table td {
  padding: 16px 12px;
  text-align: right;
  font-size: 14px;
  color: #333;
}

.member-no {
  font-weight: 600;
  color: #007AFF;
  font-size: 13px;
  direction: ltr;
  text-align: right;
  unicode-bidi: embed;
}

.name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
  flex-direction: row-reverse;
  /* RTL: Icon on the right, name on the left */
}

.name-icon {
  width: 20px;
  height: 20px;
  color: #007AFF;
}

.member-name {
  font-weight: 600;
  color: #1a1a1a;
}

.member-phone {
  color: #666;
  direction: ltr;
  text-align: right;
  unicode-bidi: embed;
}

.member-section {
  color: #666;
}

.member-balance {
  font-weight: 700;
  font-size: 15px;
}

.balance-good {
  color: #34C759;
}

.balance-low {
  color: #FF3B30;
}

.member-status {
  text-align: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  direction: rtl;
  flex-direction: row-reverse;
  /* RTL: Icon on right, text on left */
}

.status-badge.status-good {
  background: rgba(52, 199, 89, 0.1);
  color: #34C759;
}

.status-badge.status-warning {
  background: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
}

.status-icon {
  width: 16px;
  height: 16px;
}

.member-actions {
  text-align: center;
  direction: ltr;
  /* Actions column appears on the left in RTL layout */
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  direction: rtl;
  flex-direction: row-reverse;
  /* RTL: Icon on right, text on left */
}

.view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.view-btn .btn-icon {
  width: 16px;
  height: 16px;
}

/* Mobile Cards View */
.members-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.member-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.member-card:hover {
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.15);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-member-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
  color: #007AFF;
  border-radius: 12px;
}

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

.card-member-no {
  font-size: 12px;
  color: #007AFF;
  margin-top: 2px;
}

.card-status-icon {
  width: 28px;
  height: 28px;
}

.card-status-icon.status-good {
  color: #34C759;
}

.card-status-icon.status-warning {
  color: #FF3B30;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.card-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.detail-icon {
  width: 18px;
  height: 18px;
  color: #007AFF;
}

.card-view-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  direction: rtl;
  flex-direction: row-reverse;
  /* RTL: Icon on right, text on left */
}

.card-view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.card-view-btn .btn-icon {
  width: 18px;
  height: 18px;
}

/* RTL Table Loading State - Prevent Layout Shift */
.members-table-container.loading .members-table,
.statement-table-wrapper.loading .statement-table {
  min-height: 200px;
}

/* Loading state no longer needs background override since th already has it */

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-view {
    display: none !important;
  }

  .mobile-view {
    display: block !important;
  }

  .members-cards-container {
    display: grid !important;
  }

  .table-title {
    font-size: 20px;
  }

  .members-table-section {
    padding: 20px 16px;
  }

  /* Maintain RTL on mobile */
  .members-table-container,
  .statement-table-wrapper {
    direction: rtl;
  }
}

/* Search Results */
.search-results {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.results-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.result-item:hover {
  background: #e9ecef;
  transform: translateX(-5px);
}

.result-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.result-name,
.result-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.result-name {
  font-weight: 600;
  color: #333;
}

.result-phone {
  color: #666;
}

.result-icon {
  width: 16px;
  height: 16px;
  color: #999;
}

.result-status {
  font-weight: 600;
  font-size: 16px;
}

.result-status.sufficient {
  color: #34c759;
}

.result-status.insufficient {
  color: #ff3b30;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.status-badge {
  font-size: 12px;
  background: #ffebea;
  color: #ff3b30;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Statement Display */
.statement-display {
  animation: fadeIn 0.3s ease;
}

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

.statement-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Member Header */
.statement-member-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

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

.member-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.member-details h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.member-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 14px;
}

.member-info-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.member-info-section p {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

/* Action Buttons */
.statement-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.print-btn {
  background: #007AFF;
  color: white;
}

.print-btn:hover {
  background: #0051D5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.export-btn {
  background: #34c759;
  color: white;
}

.export-btn:hover {
  background: #28a745;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
}

.pdf-btn {
  background: #ff3b30;
  color: white;
}

.pdf-btn:hover {
  background: #dc3545;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
}

.back-btn {
  background: #f0f0f0;
  color: #333;
}

.back-btn:hover {
  background: #e0e0e0;
}

/* Statement Table */
.statement-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
  direction: rtl;
  /* Ensure smooth scrolling and proper RTL behavior */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.statement-table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl;
}

.statement-table th {
  background: #f8f9fa;
  padding: 12px;
  text-align: right;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  border-bottom: 2px solid #dee2e6;
  white-space: nowrap;
  vertical-align: middle;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.statement-table td {
  padding: 12px;
  text-align: right;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.payment-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.payment-status.paid {
  background: #d4edda;
  color: #155724;
}

.payment-status.unpaid {
  background: #f8d7da;
  color: #721c24;
}

/* Total Row */
.total-row {
  background: #f8f9fa;
  font-weight: 600;
}

.total-row td {
  padding: 16px 12px;
  border-top: 2px solid #dee2e6;
  border-bottom: none;
  font-size: 16px;
}

.total-amount {
  font-size: 18px;
}

.total-amount.sufficient {
  color: #34c759;
}

.total-amount.insufficient {
  color: #ff3b30;
}

.minimum-notice {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  margin-right: 10px;
}

/* Balance Status Card */
.balance-status-card {
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

/* Summary Statistics */
.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,245,247,0.9) 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.stat-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.stat-badge.compliant {
  background: linear-gradient(135deg, #34c759 0%, #28a745 100%);
  color: white;
}

.stat-badge.non-compliant {
  background: linear-gradient(135deg, #ff3b30 0%, #dc3545 100%);
  color: white;
}

/* Payment Progress */
.payment-progress {
  margin: 30px 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.progress-bar {
  height: 8px;
  background: rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007AFF 0%, #34c759 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Payment Details Table Title */
.statement-table-wrapper .table-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
  line-height: 1.4;
  background: transparent !important;
}

/* Payment Chart */
.payment-chart-card {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
}

.chart-container {
  padding: 20px 0;
}

.bar-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 200px;
  padding: 0 20px;
}

.chart-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1 1;
  position: relative;
  height: 100%;
}

.chart-bar {
  width: 40px;
  min-height: 10px;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 40px;
}

.chart-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  position: absolute;
  bottom: 20px;
}

.chart-value {
  font-size: 12px;
  color: #333;
  position: absolute;
  bottom: 0;
}

/* Balance Status Card */
.balance-status-card {
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
  transition: all 0.3s ease;
}

.balance-status-card.compliant {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
  border: 1px solid rgba(52, 199, 89, 0.3);
}

.balance-status-card.non-compliant {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.1) 0%, rgba(220, 53, 69, 0.1) 100%);
  border: 1px solid rgba(255, 59, 48, 0.3);
}

.status-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.status-text {
  font-size: 16px;
  margin-bottom: 10px;
}

.balance-status-card.sufficient .status-text {
  color: #155724;
}

.balance-status-card.insufficient .status-text {
  color: #721c24;
}

.remaining-amount {
  font-size: 18px;
  font-weight: 600;
  color: #721c24;
}

/* Print Styles */
@media print {
  .statement-actions {
    display: none;
  }

  .search-section {
    display: none;
  }

  .search-results {
    display: none;
  }

  .statement-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  body {
    font-size: 12pt;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .statement-member-header {
    flex-direction: column;
    gap: 20px;
  }

  .statement-actions {
    width: 100%;
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }

  .statement-table {
    font-size: 12px;
  }

  .statement-table th,
  .statement-table td {
    padding: 8px;
  }

  .result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* ===================================================================
   ENHANCED STATEMENT SEARCH - MONITORING DASHBOARD AESTHETIC
   Matching the beautiful gradient design with glassmorphism effects
   =================================================================== */

/* ===== CONTAINER & LAYOUT ===== */
.enhanced-statement-container {
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  direction: rtl;
}

.statement-content-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== HEADER SECTION ===== */
.enhanced-statement-header {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  padding: 30px 40px;
  border-radius: 20px;
  margin-bottom: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.statement-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.header-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.header-title-section h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.header-subtitle {
  font-size: 1rem;
  color: #666;
  margin-top: 5px;
}

/* ===== ENHANCED SEARCH BAR ===== */
.enhanced-search-section {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  padding: 30px 40px;
  border-radius: 20px;
  margin-bottom: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.glassmorphism-search-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.glassmorphism-search-input {
  width: 100%;
  padding: 20px 60px 20px 20px;
  font-size: 1.1rem;
  border: 3px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  direction: rtl;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  position: relative;
  z-index: 1;
}

.glassmorphism-search-input:focus {
  outline: none;
  background: white;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.glassmorphism-search-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glassmorphism-search-input:focus + .glassmorphism-search-wrapper::before,
.glassmorphism-search-wrapper:has(input:focus)::before {
  opacity: 1;
}

.search-icon-enhanced {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: #667eea;
  pointer-events: none;
}

.search-loading-enhanced {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== QUICK FILTER CHIPS ===== */
.quick-filters-section {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-chip {
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #667eea;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.filter-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.filter-chip.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.filter-count-badge {
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 25px;
  text-align: center;
}

.filter-chip.active .filter-count-badge {
  background: rgba(255, 255, 255, 0.25);
}

/* ===== ANIMATED STAT CARDS ===== */
.enhanced-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 25px;
}

.animated-stat-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.animated-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--card-gradient);
}

.animated-stat-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--card-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--card-shadow);
}

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

.stat-content-wrapper h3 {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: 500;
}

.stat-value-animated {
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--card-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-trend-indicator {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.stat-trend-indicator.up {
  color: #28a745;
}

.stat-trend-indicator.down {
  color: #dc3545;
}

/* ===== ENHANCED MEMBERS TABLE ===== */
.enhanced-table-section {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 25px;
}

.enhanced-table-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 25px 30px;
  color: white;
}

.enhanced-table-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.table-stats-row {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.table-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.table-stat-icon {
  width: 20px;
  height: 20px;
}

.enhanced-members-table-wrapper {
  overflow-x: auto;
  direction: rtl;
}

.enhanced-members-table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl;
}

.enhanced-members-table thead {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.enhanced-members-table thead th {
  padding: 20px 16px;
  text-align: right;
  font-size: 0.95rem;
  font-weight: 700;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #667eea;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 10;
}

.enhanced-members-table tbody tr {
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.enhanced-members-table tbody tr:hover {
  background: linear-gradient(
    90deg,
    rgba(102, 126, 234, 0.08) 0%,
    rgba(118, 75, 162, 0.08) 100%
  );
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.enhanced-members-table tbody td {
  padding: 18px 16px;
  text-align: right;
  font-size: 0.95rem;
  color: #333;
}

/* Member Avatar Badge */
.member-avatar-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.member-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

/* Balance Progress Mini */
.balance-mini-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-mini-bar {
  width: 80px;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.balance-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745 0%, #34d399 100%);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.balance-amount-text {
  font-weight: 700;
  font-size: 1rem;
}

.balance-amount-text.high {
  color: #28a745;
}

.balance-amount-text.low {
  color: #dc3545;
}

/* Status Badge Enhanced */
.status-badge-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-badge-enhanced.compliant {
  background: linear-gradient(135deg, #28a745 0%, #34d399 100%);
  color: white;
}

.status-badge-enhanced.non-compliant {
  background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
  color: white;
}

.status-icon-enhanced {
  width: 16px;
  height: 16px;
}

/* View Button Enhanced */
.view-btn-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.view-btn-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.view-btn-enhanced:active {
  transform: translateY(0);
}

.btn-icon-enhanced {
  width: 16px;
  height: 16px;
}

/* ===== CIRCULAR PROGRESS RING ===== */
.circular-progress-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.progress-ring-svg {
  transform: rotate(-90deg);
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
}

.progress-ring-circle-bg {
  fill: none;
  stroke: rgba(102, 126, 234, 0.1);
  stroke-width: 12;
}

.progress-ring-circle {
  fill: none;
  stroke: url(#progressGradient);
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.progress-percentage-text {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.progress-label-text {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
}

/* ===== TIMELINE VIEW ===== */
.payment-timeline-wrapper {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-top: 25px;
}

.timeline-header {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-container {
  position: relative;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--timeline-gradient);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.95), 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.timeline-content {
  flex: 1 1;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid var(--timeline-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.timeline-year {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--timeline-color);
  margin-bottom: 8px;
}

.timeline-amount {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.timeline-details {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #666;
}

.timeline-detail-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Timeline Status Colors */
.timeline-item.paid .timeline-marker {
  --timeline-gradient: linear-gradient(135deg, #28a745 0%, #34d399 100%);
}

.timeline-item.paid .timeline-content {
  --timeline-border: rgba(40, 167, 69, 0.3);
  --timeline-color: #28a745;
}

.timeline-item.partial .timeline-marker {
  --timeline-gradient: linear-gradient(135deg, #ffc107 0%, #ffeb3b 100%);
}

.timeline-item.partial .timeline-content {
  --timeline-border: rgba(255, 193, 7, 0.3);
  --timeline-color: #ffc107;
}

.timeline-item.pending .timeline-marker {
  --timeline-gradient: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

.timeline-item.pending .timeline-content {
  --timeline-border: rgba(220, 53, 69, 0.3);
  --timeline-color: #dc3545;
}

/* ===== AUTOCOMPLETE ENHANCED ===== */
.autocomplete-dropdown-enhanced {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  border: 2px solid rgba(102, 126, 234, 0.2);
}

.autocomplete-item-enhanced {
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

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

.autocomplete-item-enhanced:hover {
  background: linear-gradient(
    90deg,
    rgba(102, 126, 234, 0.08) 0%,
    rgba(118, 75, 162, 0.08) 100%
  );
  transform: translateX(3px);
}

.autocomplete-main-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.autocomplete-name {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.autocomplete-number {
  font-size: 0.85rem;
  color: #667eea;
  font-weight: 600;
}

.autocomplete-sub-info {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  gap: 12px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .statement-content-wrapper {
    padding: 15px;
  }

  .enhanced-statement-header,
  .enhanced-search-section,
  .enhanced-table-section {
    padding: 20px;
    border-radius: 15px;
  }

  .header-title-section h1 {
    font-size: 1.5rem;
  }

  .enhanced-stats-grid {
    grid-template-columns: 1fr;
  }

  .animated-stat-card {
    flex-direction: column;
    text-align: center;
  }

  .enhanced-members-table thead th,
  .enhanced-members-table tbody td {
    padding: 12px 8px;
    font-size: 0.85rem;
  }

  .timeline-line {
    right: 25px;
  }

  .timeline-item {
    padding-right: 50px;
    padding-left: 0;
  }

  .quick-filters-section {
    justify-content: center;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease;
}

/* Stagger animation for table rows */
.enhanced-members-table tbody tr {
  animation: fadeInUp 0.4s ease;
  animation-fill-mode: both;
}

.enhanced-members-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.enhanced-members-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.enhanced-members-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.enhanced-members-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.enhanced-members-table tbody tr:nth-child(5) { animation-delay: 0.25s; }

/* Loading shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading-shimmer {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 1000px 100%;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
.enhanced-members-table-wrapper::-webkit-scrollbar,
.autocomplete-dropdown-enhanced::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.enhanced-members-table-wrapper::-webkit-scrollbar-track,
.autocomplete-dropdown-enhanced::-webkit-scrollbar-track {
  background: rgba(102, 126, 234, 0.1);
  border-radius: 4px;
}

.enhanced-members-table-wrapper::-webkit-scrollbar-thumb,
.autocomplete-dropdown-enhanced::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

.enhanced-members-table-wrapper::-webkit-scrollbar-thumb:hover,
.autocomplete-dropdown-enhanced::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5568d3 0%, #653b8b 100%);
}

/* ===================================================================
   PREMIUM STAT CARDS - ENHANCED VERSION WITH ADVANCED ANIMATIONS
   Beautiful modern cards with glassmorphism and glow effects
   =================================================================== */

.premium-stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: fadeInScale 0.6s ease-out forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.premium-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--stat-gradient-start), var(--stat-gradient-end));
  border-radius: 24px 24px 0 0;
}

.premium-stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Animated Glow Effect */
.stat-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--stat-glow-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.premium-stat-card:hover .stat-card-glow {
  opacity: 0.15;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.1);
  }
}

/* Card Color Variants */
.stat-card-primary {
  --stat-gradient-start: #667eea;
  --stat-gradient-end: #764ba2;
  --stat-glow-color: rgba(102, 126, 234, 0.5);
}

.stat-card-success {
  --stat-gradient-start: #10b981;
  --stat-gradient-end: #059669;
  --stat-glow-color: rgba(16, 185, 129, 0.5);
}

.stat-card-warning {
  --stat-gradient-start: #f59e0b;
  --stat-gradient-end: #d97706;
  --stat-glow-color: rgba(245, 158, 11, 0.5);
}

.stat-card-info {
  --stat-gradient-start: #3b82f6;
  --stat-gradient-end: #1d4ed8;
  --stat-glow-color: rgba(59, 130, 246, 0.5);
}

/* Glow Colors */
.stat-glow-primary {
  --stat-glow-color: rgba(102, 126, 234, 0.4);
}

.stat-glow-success {
  --stat-glow-color: rgba(34, 197, 94, 0.4);
}

.stat-glow-warning {
  --stat-glow-color: rgba(251, 146, 60, 0.4);
}

.stat-glow-info {
  --stat-glow-color: rgba(59, 130, 246, 0.4);
}

/* Card Content Layout */
.stat-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Enhanced Icon Circle */
.stat-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.stat-icon-circle::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--stat-gradient-start), var(--stat-gradient-end));
  z-index: -1;
  opacity: 0.2;
  transition: all 0.4s ease;
}

.premium-stat-card:hover .stat-icon-circle::before {
  opacity: 0.4;
  inset: -5px;
  filter: blur(8px);
}

.stat-icon-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.stat-icon-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.stat-icon-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.stat-icon-info {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.premium-stat-card:hover .stat-icon-circle {
  transform: rotate(10deg) scale(1.1);
}

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

/* Premium Value with Count-Up Animation */
.stat-value-premium {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--stat-gradient-start), var(--stat-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-family: 'Cairo', sans-serif;
  letter-spacing: -1px;
  animation: numberPulse 0.5s ease-out;
}

@keyframes numberPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Premium Label */
.stat-label-premium {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-top: 4px;
}

/* Trend Indicator */
.stat-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  width: -webkit-fit-content;
  width: fit-content;
  transition: all 0.3s ease;
}

.stat-trend-icon {
  font-size: 1rem;
}

.stat-trend-up {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-trend-down {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.stat-trend-neutral {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.premium-stat-card:hover .stat-trend {
  transform: scale(1.05);
}

/* Decorative Elements */
.stat-card-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--stat-gradient-start), var(--stat-gradient-end));
  opacity: 0.05;
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.6s ease;
}

.premium-stat-card:hover .stat-card-decoration {
  transform: scale(1.5) rotate(45deg);
  opacity: 0.1;
}

/* Responsive Design for Premium Cards */
@media (max-width: 768px) {
  .premium-stat-card {
    padding: 20px;
  }

  .stat-icon-circle {
    width: 60px;
    height: 60px;
  }

  .stat-value-premium {
    font-size: 2.2rem;
  }

  .stat-label-premium {
    font-size: 0.9rem;
  }

  .stat-trend {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}

/* ===================================
   PAGINATION CONTROLS
   =================================== */

.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  flex-wrap: wrap;
}

.items-per-page-selector {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4B5563;
  font-family: 'Cairo', sans-serif;
}

.page-size-buttons {
  display: flex;
  gap: 8px;
  background: rgba(102, 126, 234, 0.05);
  padding: 4px;
  border-radius: 10px;
}

.page-size-btn {
  min-width: 50px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6B7280;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
}

.page-size-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.page-size-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination-info {
  font-size: 0.9rem;
  color: #6B7280;
  font-family: 'Cairo', sans-serif;
}

.page-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-nav-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
}

.page-nav-btn:hover:not(:disabled) {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.page-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 6px;
  max-width: 300px;
  overflow-x: auto;
  padding: 2px;
}

.page-numbers::-webkit-scrollbar {
  height: 4px;
}

.page-numbers::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 2px;
}

.page-number-btn {
  min-width: 40px;
  height: 40px;
  padding: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6B7280;
  background: rgba(102, 126, 234, 0.05);
  border: 1px solid rgba(102, 126, 234, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
}

.page-number-btn:hover:not(.active) {
  background: rgba(102, 126, 234, 0.15);
  color: #667eea;
  transform: translateY(-2px);
}

.page-number-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.current-page-info {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4B5563;
  font-family: 'Cairo', sans-serif;
  white-space: nowrap;
}

/* Responsive Design for Pagination */
@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .items-per-page-selector {
    width: 100%;
    justify-content: space-between;
  }

  .page-navigation {
    width: 100%;
    justify-content: center;
  }

  .page-numbers {
    max-width: 180px;
  }

  .page-nav-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .page-number-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .current-page-info {
    width: 100%;
    text-align: center;
  }
}

/* ===== BACK TO LIST BUTTON ===== */
.back-to-list-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
}

.back-to-list-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.back-to-list-btn:active {
  transform: translateY(0);
}

.back-to-list-btn svg {
  flex-shrink: 0;
}

.back-to-list-btn .esc-hint {
  margin-right: 8px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Adjust statement card to make room for back button */
.statement-card {
  position: relative;
  padding-top: 70px;
}

/* Responsive Design for Back Button */
@media (max-width: 768px) {
  .back-to-list-btn {
    top: 10px;
    right: 10px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .back-to-list-btn .esc-hint {
    display: none;
  }

  .statement-card {
    padding-top: 60px;
  }
}

@media print {
  .back-to-list-btn {
    display: none !important;
  }
}

.document-manager {
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* Header */
.dm-header {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.dm-header h2 {
  color: #2C3E50;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.dm-stats {
  display: flex;
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-label {
  color: #7f8c8d;
  font-size: 14px;
}

.stat-value {
  font-size: 20px;
  font-weight: 600;
  color: #3498DB;
}

/* Controls */
.dm-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.search-box,
.filter-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.search-box {
  flex: 1 1;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 16px;
  font-family: 'Cairo', sans-serif;
}

.filter-box select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  padding-right: 10px;
}

.search-box svg,
.filter-box svg {
  color: #3498DB;
  font-size: 18px;
}

/* Upload Zone */
.upload-zone {
  background: rgba(255, 255, 255, 0.95);
  border: 2px dashed #3498DB;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.upload-zone:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.upload-zone.active {
  background: rgba(52, 152, 219, 0.1);
  border-color: #2980b9;
  border-width: 3px;
}

.upload-icon {
  font-size: 48px;
  color: #3498DB;
  margin-bottom: 15px;
}

.upload-text {
  font-size: 18px;
  color: #2C3E50;
  font-weight: 500;
  margin: 10px 0;
}

.upload-hint {
  font-size: 14px;
  color: #7f8c8d;
  margin: 5px 0;
}

/* Documents Grid */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 25px;
  gap: 25px;
  animation: fadeIn 0.5s ease-in;
}

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

.document-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.doc-icon {
  text-align: center;
  margin-bottom: 15px;
}

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

.file-icon.pdf {
  color: #e74c3c;
}

.file-icon.image {
  color: #27ae60;
}

.file-icon.default {
  color: #95a5a6;
}

.doc-info {
  flex: 1 1;
}

.doc-title {
  font-size: 16px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-category {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin: 5px 0;
}

.doc-size,
.doc-date {
  font-size: 13px;
  color: #7f8c8d;
  margin: 5px 0;
}

.doc-description {
  font-size: 14px;
  color: #34495e;
  margin: 10px 0;
  line-height: 1.5;
}

.doc-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ecf0f1;
}

.action-btn {
  flex: 1 1;
  padding: 8px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.action-btn svg {
  font-size: 18px;
}

.action-btn.view {
  background: #3498db;
  color: white;
}

.action-btn.view:hover {
  background: #2980b9;
  transform: scale(1.05);
}

.action-btn.download {
  background: #27ae60;
  color: white;
}

.action-btn.download:hover {
  background: #229954;
  transform: scale(1.05);
}

.action-btn.delete {
  background: #e74c3c;
  color: white;
}

.action-btn.delete:hover {
  background: #c0392b;
  transform: scale(1.05);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
}

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

.modal-content h3 {
  color: #2C3E50;
  margin: 0 0 20px 0;
  font-size: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #34495e;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #3498DB;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.btn-primary,
.btn-secondary {
  flex: 1 1;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

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

.btn-secondary {
  background: #ecf0f1;
  color: #34495e;
}

.btn-secondary:hover {
  background: #d5dbdb;
}

.upload-progress {
  margin-top: 20px;
  height: 8px;
  background: #ecf0f1;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
  border-radius: 10px;
}

/* Loading */
.loading-spinner {
  text-align: center;
  padding: 50px;
  font-size: 18px;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .dm-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .dm-controls {
    flex-direction: column;
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }

  .dm-stats {
    justify-content: center;
  }

  .upload-zone {
    padding: 30px 20px;
  }

  .upload-icon {
    font-size: 36px;
  }

  .modal-content {
    width: 95%;
    padding: 20px;
  }
}
/* ====================================
   ARABIC SELECT DROPDOWN FIX
   Al-Shuail Family Management System
   ==================================== */

/* Ensure Arabic text renders properly in all select elements */
select[dir="rtl"] {
    text-align: right !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif !important;
    direction: rtl !important;
    font-size: 16px !important;
    color: #111827 !important;
    background-color: white !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

/* Style options for RTL */
select[dir="rtl"] option {
    direction: rtl !important;
    text-align: right !important;
    padding: 8px 12px !important;
    background-color: white !important;
    color: #111827 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif !important;
}

/* Remove browser default styling - COMMENTED OUT TO FIX WINDOWS CHROME BUG */
/* select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
} */

/* Add custom dropdown arrow for RTL */
select[dir="rtl"] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23374151%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpolyline points=%276 9 12 15 18 9%27%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    background-size: 1.25em 1.25em !important;
    padding-left: 2.5rem !important;
}

/* Hover state */
select[dir="rtl"]:hover {
    border-color: #60a5fa;
    background-color: #f9fafb;
}

/* Focus state */
select[dir="rtl"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Disabled state */
select[dir="rtl"]:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Fix for mobile Safari */
@supports (-webkit-touch-callout: none) {
    select {
        font-size: 16px !important;
    }
}

/* Improve option visibility on hover */
select option:hover,
select option:focus {
    background-color: #eff6ff !important;
    color: #1e40af !important;
}

/* Ensure proper spacing in options */
select option {
    padding: 12px 16px;
    line-height: 1.5;
}
/* ========================================
   SUBSCRIPTION DASHBOARD STYLES
   ======================================== */

.subscription-dashboard {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #EFF6FF, #FFFFFF, #F5F3FF);
  padding: 2rem;
  color: #1f2937;
  direction: rtl;
}

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

.dashboard-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.refresh-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 0.75rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.stat-card-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.9));
  border-color: rgba(59, 130, 246, 0.2);
}

.stat-card-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(255, 255, 255, 0.9));
  border-color: rgba(16, 185, 129, 0.2);
}

.stat-card-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(255, 255, 255, 0.9));
  border-color: rgba(239, 68, 68, 0.2);
}

.stat-card-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(255, 255, 255, 0.9));
  border-color: rgba(20, 184, 166, 0.2);
}

.stat-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-title {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: bold;
  margin: 0;
  color: #1f2937;
}

.stat-icon {
  font-size: 2.5rem;
}

/* Filters Section */
.filters-section {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-grid {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  grid-gap: 1rem;
  gap: 1rem;
}

.search-input,
.filter-select {
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #1f2937;
  font-size: 1rem;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-input:focus,
.filter-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 0.5rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Table */
.table-container {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 1rem;
  overflow-y: auto;
  overflow-x: auto;
  max-height: 600px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar for table */
.table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.table-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5568d3 0%, #65428a 100%);
}

.subscriptions-table {
  width: 100%;
  border-collapse: collapse;
}

.subscriptions-table thead {
  background: rgba(102, 126, 234, 0.05);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.subscriptions-table th {
  padding: 1rem;
  text-align: right;
  font-weight: 600;
  color: #374151;
  background: rgba(102, 126, 234, 0.05);
  border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.subscriptions-table td {
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: #1f2937;
}

.table-row:hover {
  background: rgba(102, 126, 234, 0.03);
}

.phone-cell {
  font-family: 'Courier New', monospace;
  direction: ltr;
  text-align: right;
}

.loading-cell,
.empty-cell {
  padding: 3rem;
  text-align: center;
  color: #6b7280;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-overdue {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.action-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.payment-btn {
  background: #10b981;
  color: white;
}

.payment-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

.reminder-btn {
  background: #f59e0b;
  color: white;
}

.reminder-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.page-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
  background: rgba(102, 126, 234, 0.1);
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
}

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

.page-info {
  padding: 0.75rem 1.5rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 0.5rem;
  color: #374151;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.member-info {
  background: rgba(102, 126, 234, 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.member-info p {
  margin: 0.5rem 0;
  color: #374151;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #374151;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #1f2937;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.submit-btn,
.cancel-btn {
  flex: 1 1;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.submit-btn {
  background: #10b981;
  color: white;
}

.submit-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

.cancel-btn {
  background: #ef4444;
  color: white;
}

.cancel-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .subscription-dashboard {
    padding: 1rem;
  }

  .dashboard-title {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .filters-grid {
    grid-template-columns: 1fr;
  }

  .table-container {
    overflow-x: auto;
  }

  .subscriptions-table {
    min-width: 800px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
  }
}

/* Apple Design System for Al-Shuail Family Dashboard */

/* ========================================
   DESIGN TOKENS - APPLE COLOR PALETTE
   ======================================== */
:root {
  /* Apple Blue Family */
  --apple-blue-50: #eff8ff;
  --apple-blue-100: #dbeafe;
  --apple-blue-200: #bfdbfe;
  --apple-blue-300: #93c5fd;
  --apple-blue-400: #60a5fa;
  --apple-blue-500: #3b82f6;
  --apple-blue-600: #2563eb;
  --apple-blue-700: #1d4ed8;
  --apple-blue-800: #1e40af;
  --apple-blue-900: #1e3a8a;
  --apple-blue-950: #172554;

  /* Apple Gray Family */
  --apple-gray-50: #f9fafb;
  --apple-gray-100: #f3f4f6;
  --apple-gray-200: #e5e7eb;
  --apple-gray-300: #d1d5db;
  --apple-gray-400: #9ca3af;
  --apple-gray-500: #6b7280;
  --apple-gray-600: #4b5563;
  --apple-gray-700: #374151;
  --apple-gray-800: #1f2937;
  --apple-gray-900: #111827;
  --apple-gray-950: #030712;

  /* Apple System Colors */
  --apple-red-500: #ef4444;
  --apple-orange-500: #f97316;
  --apple-amber-500: #f59e0b;
  --apple-yellow-500: #eab308;
  --apple-lime-500: #84cc16;
  --apple-green-500: #22c55e;
  --apple-emerald-500: #10b981;
  --apple-teal-500: #14b8a6;
  --apple-cyan-500: #06b6d4;
  --apple-sky-500: #0ea5e9;
  --apple-indigo-500: #6366f1;
  --apple-violet-500: #8b5cf6;
  --apple-purple-500: #a855f7;
  --apple-fuchsia-500: #d946ef;
  --apple-pink-500: #ec4899;
  --apple-rose-500: #f43f5e;

  /* Glassmorphism Variables */
  --glass-bg-light: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-shadow-hover: 0 16px 64px rgba(0, 0, 0, 0.15);
  --glass-blur: blur(20px);
  --glass-blur-strong: blur(40px);

  /* Typography - SF Pro Display Style */
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-arabic: 'SF Arabic', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing System (Apple's 4pt grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius (Apple Style) */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-4xl: 32px;
  --radius-full: 9999px;

  /* Apple Animation Curves */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Timing */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;

  /* Shadow System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Apple Multi-layered Shadows */
  --apple-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --apple-shadow-md: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  --apple-shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  --apple-shadow-xl: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  --apple-shadow-2xl: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

/* ========================================
   GLASSMORPHISM COMPONENTS
   ======================================== */

.glass-container {
  background: rgba(255, 255, 255, 0.75);
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  box-shadow: var(--glass-shadow);
  transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-normal) var(--ease-apple);
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.glass-container:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-2px) translateZ(0);
}

.glass-container-strong {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(40px);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: blur(40px);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-lg);
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  border-radius: var(--radius-xl);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-md);
  position: relative;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-normal) var(--ease-apple);
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.glass-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-lg);
  transform: translateY(-4px) scale(1.02) translateZ(0);
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */

.floating-element {
  animation: floating 6s ease-in-out infinite;
  transform-origin: center;
  /* GPU Acceleration for smoother animations */
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px) rotate(0deg) translateZ(0); }
  50% { transform: translateY(-10px) rotate(1deg) translateZ(0); }
}

.breathing-element {
  animation: breathing 4s ease-in-out infinite;
  /* GPU Acceleration for smoother animations */
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

@keyframes breathing {
  0%, 100% { transform: scale(1) translateZ(0); opacity: 0.8; }
  50% { transform: scale(1.05) translateZ(0); opacity: 1; }
}

/* ========================================
   APPLE BUTTONS
   ======================================== */

.apple-button-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  background: linear-gradient(135deg, var(--apple-blue-600) 0%, var(--apple-blue-700) 100%);
  border: none;
  border-radius: 16px;
  border-radius: var(--radius-xl);
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  padding: 0.75rem 1.5rem;
  padding: var(--space-3) var(--space-6);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-normal) var(--ease-apple);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  gap: var(--space-2);
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.apple-button-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 500ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: left var(--duration-slow) var(--ease-apple);
}

.apple-button-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  background: linear-gradient(135deg, var(--apple-blue-700) 0%, var(--apple-blue-800) 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-lg);
  transform: translateY(-2px) translateZ(0);
}

.apple-button-primary:hover::before {
  left: 100%;
}

.apple-button-primary:active {
  transform: translateY(0px) scale(0.98) translateZ(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: var(--apple-shadow-sm);
}

.apple-button-secondary {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  border-radius: var(--radius-xl);
  color: #1f2937;
  color: var(--apple-gray-800);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  padding: 0.75rem 1.5rem;
  padding: var(--space-3) var(--space-6);
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-normal) var(--ease-apple);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: var(--apple-shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  gap: var(--space-2);
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.apple-button-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-md);
  transform: translateY(-1px) translateZ(0);
}

/* ========================================
   PILL NAVIGATION
   ======================================== */

.pill-navigation {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  border-radius: var(--radius-full);
  padding: 0.25rem;
  padding: var(--space-1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-md);
  position: relative;
  overflow: hidden;
}

.pill-navigation::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  border-radius: var(--radius-full);
  z-index: 0;
}

.pill-tab {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  border-radius: 9999px;
  border-radius: var(--radius-full);
  color: #4b5563;
  color: var(--apple-gray-600);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  padding: 0.5rem 1rem;
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-normal) var(--ease-apple);
  white-space: nowrap;
  /* GPU Acceleration for smoother animations */
  will-change: background, color, transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.pill-tab.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  background: linear-gradient(135deg, var(--apple-blue-600) 0%, var(--apple-blue-700) 100%);
  color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: var(--apple-shadow-sm);
  transform: scale(1.05) translateZ(0);
}

.pill-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
  color: #1f2937;
  color: var(--apple-gray-800);
}

/* ========================================
   SEARCH BAR
   ======================================== */

.apple-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  border-radius: var(--radius-full);
  padding: 0.75rem;
  padding: var(--space-3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: var(--apple-shadow-sm);
  transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-normal) var(--ease-apple);
  overflow: hidden;
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.apple-search-bar:focus-within {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-md);
  border-color: #3b82f6;
  border-color: var(--apple-blue-500);
  /* Removed scale transform to prevent input field issues */
  transform: translateZ(0);
}

.apple-search-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 9999px;
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: opacity var(--duration-normal) var(--ease-apple);
}

.apple-search-bar:focus-within::before {
  opacity: 1;
}

.apple-search-input {
  background: transparent;
  border: none;
  outline: none;
  flex: 1 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 16px;
  color: #1f2937;
  color: var(--apple-gray-800);
  padding: 0;
}

.apple-search-input::placeholder {
  color: #6b7280;
  color: var(--apple-gray-500);
}

.apple-search-icon {
  color: #6b7280;
  color: var(--apple-gray-500);
  margin-right: 0.75rem;
  margin-right: var(--space-3);
  transition: color 150ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: color var(--duration-fast) var(--ease-apple);
}

.apple-search-bar:focus-within .apple-search-icon {
  color: #2563eb;
  color: var(--apple-blue-600);
}

/* ========================================
   STATISTICS CARDS
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  grid-gap: 1.5rem;
  grid-gap: var(--space-6);
  gap: var(--space-6);
  margin-bottom: 2rem;
  margin-bottom: var(--space-8);
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-normal) var(--ease-apple);
  cursor: pointer;
  /* GPU Acceleration for smoother animations */
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  background: linear-gradient(90deg, var(--apple-blue-500), var(--apple-purple-500));
  transform: scaleX(0);
  transition: transform 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: transform var(--duration-normal) var(--ease-apple);
}

.stat-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-lg);
  transform: translateY(-4px) scale(1.02) translateZ(0);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3b82f6 0%, var(--apple-purple-600) 100%);
  background: linear-gradient(135deg, var(--apple-blue-500) 0%, var(--apple-purple-600) 100%);
  border-radius: 16px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  margin-bottom: var(--space-4);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-md);
  position: relative;
  overflow: hidden;
  /* GPU Acceleration for smoother animations */
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.stat-icon-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg) translateZ(0); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg) translateZ(0); }
}

.stat-icon {
  width: 28px;
  height: 28px;
  color: white;
  z-index: 1;
}

.stat-number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: #111827;
  color: var(--apple-gray-900);
  line-height: 1;
  margin-bottom: 0.5rem;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: #4b5563;
  color: var(--apple-gray-600);
  line-height: 1.2;
}

/* ========================================
   TABLE STYLING
   ======================================== */

.apple-table-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: var(--apple-shadow-md);
  /* GPU Acceleration for smoother animations */
  will-change: auto;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

.apple-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.apple-table-header {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(20px);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-filter: var(--glass-blur);
}

.apple-table-header th {
  padding: 1rem 1.5rem;
  padding: var(--space-4) var(--space-6);
  text-align: right;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: #4b5563;
  color: var(--apple-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.apple-table-row {
  background: rgba(255, 255, 255, 0.4);
  transition: all 150ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-fast) var(--ease-apple);
  position: relative;
  /* GPU Acceleration for smoother animations */
  will-change: transform, background;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.apple-table-row:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.01) translateZ(0);
}

.apple-table-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.6);
}

.apple-table-row:nth-child(even):hover {
  background: rgba(255, 255, 255, 0.8);
}

.apple-table-cell {
  padding: 1rem 1.5rem;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 14px;
  color: #1f2937;
  color: var(--apple-gray-800);
  vertical-align: middle;
}

/* ========================================
   ANIMATIONS & MICRO-INTERACTIONS
   ======================================== */

.slide-in-up {
  animation: slideInUp 500ms cubic-bezier(0.25, 0.1, 0.25, 1);
  animation: slideInUp var(--duration-slow) var(--ease-apple);
  /* GPU Acceleration for smoother animations */
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.fade-in {
  animation: fadeIn 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  animation: fadeIn var(--duration-normal) var(--ease-apple);
  /* GPU Acceleration for smoother animations */
  will-change: opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

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

.scale-in {
  animation: scaleIn 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: scaleIn var(--duration-normal) var(--ease-spring);
  /* GPU Acceleration for smoother animations */
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateZ(0);
  }
  to {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }
}

.pulse {
  animation: pulse 2s infinite;
  /* GPU Acceleration for smoother animations */
  will-change: opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

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

/* ========================================
   LOADING STATES
   ======================================== */

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  /* GPU Acceleration for smoother animations */
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

@keyframes spin {
  0% { transform: rotate(0deg) translateZ(0); }
  100% { transform: rotate(360deg) translateZ(0); }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  /* GPU Acceleration for smoother animations */
  will-change: background-position;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

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

/* ========================================
   BADGES & STATUS INDICATORS
   ======================================== */

.apple-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  padding: var(--space-1) var(--space-3);
  border-radius: 9999px;
  border-radius: var(--radius-full);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 150ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all var(--duration-fast) var(--ease-apple);
}

.apple-badge-success {
  background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
  background: linear-gradient(135deg, var(--apple-green-500) 0%, var(--apple-emerald-500) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.apple-badge-warning {
  background: linear-gradient(135deg, #eab308 0%, #f59e0b 100%);
  background: linear-gradient(135deg, var(--apple-yellow-500) 0%, var(--apple-amber-500) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
}

.apple-badge-error {
  background: linear-gradient(135deg, #ef4444 0%, #f43f5e 100%);
  background: linear-gradient(135deg, var(--apple-red-500) 0%, var(--apple-rose-500) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.apple-badge-info {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  background: linear-gradient(135deg, var(--apple-blue-500) 0%, var(--apple-cyan-500) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.apple-badge-neutral {
  background: rgba(255, 255, 255, 0.8);
  color: #374151;
  color: var(--apple-gray-700);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: var(--apple-shadow-sm);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    gap: var(--space-4);
  }

  .pill-navigation {
    flex-wrap: wrap;
    gap: 0.25rem;
    gap: var(--space-1);
  }

  .apple-search-bar {
    min-width: 100%;
    margin-bottom: 1rem;
    margin-bottom: var(--space-4);
  }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .glass-container,
  .glass-card,
  .stat-card {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #e5e7eb !important;
  }

  .apple-button-primary,
  .apple-button-secondary {
    background: white !important;
    color: black !important;
    border: 1px solid black !important;
  }
}
/* Apple-Style Premium Registration Form CSS */

/* ═══════════════════════════════════════════════════════════════ */
/* Base Container & Layout */
/* ═══════════════════════════════════════════════════════════════ */

.apple-registration-container {
  width: 100vw;
  min-height: 100vh;
  background: linear-gradient(180deg, #FAFAFA 0%, #F2F2F7 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Cairo', 'Tajawal', sans-serif;
  position: relative;
  overflow-x: hidden;
  direction: rtl;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Premium Header Section */
/* ═══════════════════════════════════════════════════════════════ */

.premium-header {
  position: relative;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  padding: 60px 40px 40px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 122, 255, 0.15);
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.gradient-overlay {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 8s ease-in-out infinite;
}

.particle-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 20%, white, transparent);
  background-size: 200px 200px;
  animation: particleFloat 20s linear infinite;
  opacity: 0.3;
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: breathe 3s ease-in-out infinite;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: #007AFF;
  animation: sparkle 2s ease-in-out infinite;
}

.logo-text {
  color: white;
}

.logo-title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-subtitle {
  font-size: 16px;
  font-weight: 400;
  margin: 4px 0 0;
  opacity: 0.95;
}

.header-info {
  display: flex;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.info-icon {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Step Indicator */
/* ═══════════════════════════════════════════════════════════════ */

.step-indicator-container {
  padding: 40px 20px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
}

.step-item.completed {
  cursor: pointer;
}

.step-item.completed:hover {
  transform: translateY(-2px);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, #FFFFFF 0%, #F2F2F7 100%);
  border: 2px solid #E5E5EA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8E8E93;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.step-item.active .step-icon {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  border-color: transparent;
  color: white;
  transform: scale(1.1);
  box-shadow:
    0 4px 16px rgba(0,122,255,0.3),
    0 8px 32px rgba(0,122,255,0.15);
}

.step-item.completed .step-icon {
  background: linear-gradient(135deg, #34C759 0%, #30B350 100%);
  border-color: transparent;
  color: white;
}

.step-label {
  font-size: 14px;
  font-weight: 400;
  color: #8E8E93;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 120px;
}

.step-item.active .step-label {
  color: #007AFF;
  font-weight: 400;
}

.step-item.completed .step-label {
  color: #34C759;
}

.step-line {
  width: 80px;
  height: 2px;
  background: #E5E5EA;
  position: relative;
  transition: all 0.5s ease;
}

.step-line.completed {
  background: linear-gradient(90deg, #34C759 0%, #30B350 100%);
}

.step-line.completed::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  bottom: -2px;
  background: linear-gradient(90deg, transparent 0%, rgba(52,199,89,0.3) 50%, transparent 100%);
  animation: lineGlow 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Form Container & Sections */
/* ═══════════════════════════════════════════════════════════════ */

.form-container {
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.form-container.form-visible {
  opacity: 1;
}

.form-wrapper {
  width: 100%;
}

.form-section {
  background: linear-gradient(145deg, #FFFFFF 0%, #FBFBFD 100%);
  border-radius: 24px;
  padding: 32px;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.02),
    0 4px 12px rgba(0,0,0,0.04),
    0 16px 32px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 24px;
}

.form-section:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.08),
    0 24px 48px rgba(0,0,0,0.12);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-icon {
  width: 48px;
  height: 48px;
  color: #007AFF;
  margin: 0 auto 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(0,122,255,0.1) 0%, rgba(88,86,214,0.1) 100%);
  border-radius: 16px;
}

.section-title {
  font-size: 28px;
  font-weight: 400;
  color: #1C1C1E;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: #8E8E93;
  margin: 0;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Form Grid & Input Styling */
/* ═══════════════════════════════════════════════════════════════ */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

.input-group {
  position: relative;
}

.input-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #1C1C1E;
  margin-bottom: 8px;
}

.label-icon {
  width: 16px;
  height: 16px;
  color: #8E8E93;
}

.input-wrapper {
  position: relative;
}

.input-field {
  width: 100%;
  height: 56px;
  background: rgba(255,255,255,0.8);
  border: 1.5px solid #E5E5EA;
  border-radius: 16px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 400;
  color: #1C1C1E;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  -webkit-appearance: none;
  appearance: none;
}

.input-field::placeholder {
  color: #8E8E93;
  font-weight: 400;
}

.input-field:focus {
  outline: none;
  border-color: #007AFF;
  background: #FFFFFF;
  box-shadow:
    0 0 0 4px rgba(0,122,255,0.1),
    0 2px 8px rgba(0,122,255,0.08);
  transform: scale(1.01);
}

.input-field.error {
  border-color: #FF3B30;
  background: rgba(255,59,48,0.03);
}

.input-field.error:focus {
  box-shadow:
    0 0 0 4px rgba(255,59,48,0.1),
    0 2px 8px rgba(255,59,48,0.08);
}

.input-field.textarea {
  min-height: 100px;
  padding: 16px 20px;
  resize: vertical;
}

.input-field.small {
  height: 48px;
  font-size: 14px;
}

select.input-field {
  cursor: pointer;
  padding-right: 50px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2714%27 height=%278%27 viewBox=%270 0 14 8%27%3e%3cpath fill=%27%238E8E93%27 d=%27M7 8L0 1l1-1 6 6 6-6 1 1z%27/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 14px;
}

.field-hint {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  font-size: 12px;
  color: #007AFF;
  background: white;
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
  animation: slideInUp 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Upload Section */
/* ═══════════════════════════════════════════════════════════════ */

.document-upload-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #E5E5EA;
}

.upload-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  color: #1C1C1E;
  margin-bottom: 20px;
}

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

.upload-card {
  position: relative;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: linear-gradient(145deg, #FAFAFA 0%, #F2F2F7 100%);
  border: 2px dashed #E5E5EA;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
}

.upload-label:hover {
  border-color: #007AFF;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F8FC 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,122,255,0.1);
}

.upload-icon {
  width: 48px;
  height: 48px;
  color: #8E8E93;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.upload-label:hover .upload-icon {
  color: #007AFF;
  transform: scale(1.1);
}

.upload-text {
  font-size: 16px;
  font-weight: 400;
  color: #1C1C1E;
  margin-bottom: 4px;
}

.upload-hint {
  font-size: 12px;
  color: #8E8E93;
}

.upload-success {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #34C759;
  font-size: 14px;
  font-weight: 400;
  background: rgba(52,199,89,0.1);
  padding: 6px 12px;
  border-radius: 100px;
  animation: slideInDown 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Family Members Section */
/* ═══════════════════════════════════════════════════════════════ */

.family-members-section {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(145deg, #FAFAFA 0%, #F7F7FC 100%);
  border-radius: 16px;
  border: 1px solid #E5E5EA;
}

.subsection-title {
  font-size: 18px;
  font-weight: 400;
  color: #1C1C1E;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.family-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.family-member-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #E5E5EA;
  transition: all 0.3s ease;
}

.family-member-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.member-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #1C1C1E;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E5EA;
}

.member-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Checkbox & Conditional Fields */
/* ═══════════════════════════════════════════════════════════════ */

.checkbox-group {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 16px;
  background: linear-gradient(145deg, #FAFAFA 0%, #F7F7FC 100%);
  border-radius: 12px;
  border: 1px solid #E5E5EA;
  transition: all 0.3s ease;
}

.checkbox-label:hover {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F8FC 100%);
  border-color: #007AFF;
}

.checkbox-input {
  width: 22px;
  height: 22px;
  margin-left: 16px;
  cursor: pointer;
  accent-color: #007AFF;
}

.checkbox-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  color: #1C1C1E;
}

.conditional-field {
  margin-top: 16px;
  animation: slideInDown 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Summary Section */
/* ═══════════════════════════════════════════════════════════════ */

.summary-section {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0,122,255,0.05) 0%, rgba(88,86,214,0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(0,122,255,0.2);
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  color: #007AFF;
  margin-bottom: 20px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: white;
  border-radius: 8px;
}

.summary-label {
  font-size: 14px;
  color: #8E8E93;
  font-weight: 400;
}

.summary-value {
  font-size: 14px;
  color: #1C1C1E;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Navigation Buttons */
/* ═══════════════════════════════════════════════════════════════ */

.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #E5E5EA;
}

.primary-button {
  background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 16px rgba(0,122,255,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.primary-button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,122,255,0.4);
}

.primary-button:active {
  transform: translateY(0) scale(0.98);
}

.primary-button.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.secondary-button {
  background: linear-gradient(145deg, #FFFFFF 0%, #F2F2F7 100%);
  color: #007AFF;
  border: 1.5px solid #007AFF;
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.secondary-button:hover {
  background: linear-gradient(145deg, #007AFF 0%, #0056CC 100%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,122,255,0.3);
}

.button-icon {
  width: 20px;
  height: 20px;
}

.button-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Error Banner */
/* ═══════════════════════════════════════════════════════════════ */

.error-banner {
  background: linear-gradient(145deg, #FFF5F5 0%, #FFEBEB 100%);
  border: 1px solid #FF3B30;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.error-icon {
  width: 24px;
  height: 24px;
  color: #FF3B30;
  flex-shrink: 0;
}

.error-messages {
  flex: 1 1;
}

.error-message {
  font-size: 14px;
  color: #FF3B30;
  font-weight: 400;
  margin: 0 0 4px;
}

.error-message:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Success Screen */
/* ═══════════════════════════════════════════════════════════════ */

.success-screen {
  max-width: 600px;
  margin: 100px auto;
  padding: 60px;
  background: linear-gradient(145deg, #FFFFFF 0%, #FBFBFD 100%);
  border-radius: 32px;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.04),
    0 16px 32px rgba(0,0,0,0.08),
    0 32px 64px rgba(0,0,0,0.12);
  text-align: center;
}

.success-icon-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
}

.success-icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #34C759 0%, #30B350 100%);
  border-radius: 50%;
  animation: pulseSuccess 2s ease-in-out infinite;
}

.success-icon {
  position: absolute;
  inset: 20%;
  width: 60%;
  height: 60%;
  color: white;
  z-index: 1;
  animation: checkmarkScale 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s backwards;
}

.success-title {
  font-size: 32px;
  font-weight: 400;
  color: #1C1C1E;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.success-message {
  font-size: 18px;
  color: #8E8E93;
  line-height: 1.6;
  margin: 0 0 32px;
}

.success-details {
  background: linear-gradient(145deg, #FAFAFA 0%, #F2F2F7 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.detail-item:not(:last-child) {
  border-bottom: 1px solid #E5E5EA;
}

.detail-label {
  font-size: 14px;
  color: #8E8E93;
  font-weight: 400;
}

.detail-value {
  font-size: 14px;
  color: #1C1C1E;
  font-weight: 400;
  font-family: 'SF Mono', 'Monaco', monospace;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Map Preview */
/* ═══════════════════════════════════════════════════════════════ */

.map-preview {
  margin-top: 24px;
}

.map-placeholder {
  height: 200px;
  background: linear-gradient(145deg, #FAFAFA 0%, #F2F2F7 100%);
  border-radius: 16px;
  border: 1px solid #E5E5EA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8E8E93;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Animations */
/* ═══════════════════════════════════════════════════════════════ */

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: translateX(100%) rotate(180deg);
    opacity: 0.8;
  }
}

@keyframes particleFloat {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-100vh) translateX(-100px);
  }
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(180deg);
  }
}

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

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

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

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

@keyframes pulseSuccess {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes checkmarkScale {
  from {
    transform: scale(0) rotate(-45deg);
  }
  to {
    transform: scale(1) rotate(0);
  }
}

@keyframes animate-shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-2px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(2px);
  }
}

.animate-slide-in {
  animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.animate-scale-in {
  animation: checkmarkScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.animate-shake {
  animation: animate-shake 0.5s ease;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Responsive Design */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .premium-header {
    padding: 40px 20px 30px;
  }

  .header-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .logo-section {
    flex-direction: column;
  }

  .header-info {
    width: 100%;
    justify-content: center;
  }

  .info-item {
    font-size: 12px;
    padding: 8px 16px;
  }

  .step-indicator {
    flex-direction: column;
    gap: 16px;
  }

  .step-line {
    width: 2px;
    height: 40px;
  }

  .form-container {
    padding: 20px;
  }

  .form-section {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .family-members-grid {
    grid-template-columns: 1fr;
  }

  .form-navigation {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .primary-button {
    margin-right: 0;
  }

  .success-screen {
    margin: 40px 20px;
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 24px;
  }

  .logo-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .input-field {
    height: 52px;
    font-size: 15px;
  }

  .step-icon {
    width: 48px;
    height: 48px;
  }

  .step-label {
    font-size: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════ */
/* Accessibility & Performance */
/* ═══════════════════════════════════════════════════════════════ */

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

@media (prefers-color-scheme: dark) {
  /* Dark mode support can be added here */
}

/* Hardware acceleration for animations */
.form-section,
.step-item,
.upload-label,
.primary-button,
.secondary-button {
  will-change: transform;
  transform: translateZ(0);
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid #007AFF;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .input-field {
    border-width: 2px;
  }

  .primary-button {
    border: 2px solid transparent;
  }

  .error-banner {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .premium-header,
  .form-navigation,
  .step-indicator-container {
    display: none;
  }

  .form-section {
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* RTL Support Enhancements */
[dir="rtl"] .button-icon {
  transform: rotate(180deg);
}

[dir="rtl"] select.input-field {
  background-position: right 16px center;
  padding-right: 20px;
  padding-left: 50px;
}

/*# sourceMappingURL=main.7bc36e84.css.map*/