/* Color System - CSS Custom Properties */
/* Light Theme */
:root {
  /* Dark Blue Colors (deprecated - use contextual names) */
  --custom-darkblue: #ffffff;
  --custom-darkblue-2: #f5f7fa;
  --custom-darkblue-3: #e8ecf1;
  --custom-darkblue-4: #d4dbe5;

  /* Slate Colors (deprecated - use contextual names) */
  --custom-slate: #f1f5f9;
  --custom-slate-2: #e2e8f0;
  --custom-slate-3: #cbd5e1;

  /* Card/Surface Colors (contextual) */
  --custom-card-background: #ffffff;
  --custom-card-background-hover: #f5f7fa;
  --custom-card-background-secondary: #e8ecf1;
  --custom-card-background-tertiary: #d4dbe5;

  /* Page/Layout Colors (contextual) */
  --custom-page-background: #f1f5f9;
  --custom-page-background-secondary: #f1f5f9;

  /* Border Colors (contextual) */
  --custom-border-color: #e2e8f0;
  --custom-border-color-secondary: #cbd5e1;

  /* Form Field Colors (contextual) */
  --custom-input-background: #ffffff;
  --custom-input-border: #cbd5e1;
  --custom-input-border-focused: #4a90e2;

  /* Drawer Colors (contextual) */
  --custom-drawer-background: rgba(255, 255, 255, 0.95);
  --custom-drawer-background-secondary: rgba(232, 236, 241, 0.95);

  /* Cyan/Blue Colors */
  --custom-cyan: #4a90e2;
  --custom-cyan-2: #357abd;
  --custom-cyan-3: #5ba3f0;
  --custom-cyan-4: #7ab8f5;
  --custom-cyan-5: #6ba8f2;

  /* Text Colors */
  --custom-text-primary: #0f172a;
  --custom-text-secondary: #1e293b;
  --custom-text-tertiary: #475569;
  --custom-text-quaternary: #64748b;

  /* Green Colors */
  --custom-green: #34d399;
  --custom-green-2: #10b981;

  /* Red Colors */
  --custom-red: #f87171;
  --custom-red-2: #ef4444;

  /* Yellow Colors */
  --custom-yellow: #fbbf24;
  --custom-yellow-2: #f59e0b;

  /* White */
  --custom-white: #ffffff;

  /* Header Background */
  --custom-header-background: rgba(15, 22, 40, 0.85);

  /* Page Background */
  --custom-page-background: #f1f5f9;

  /* RGBA Variables for Translucent Colors (deprecated - use contextual names) */
  --custom-darkblue-translucent: rgba(255, 255, 255, 0.95);
  --custom-darkblue-translucent-2: rgba(232, 236, 241, 0.95);
  --custom-darkblue-translucent-3: rgba(212, 219, 229, 0.95);
  --custom-darkblue-translucent-4: rgba(255, 255, 255, 0.98);
  --custom-darkblue-translucent-5: rgba(255, 255, 255, 0.8);
  --custom-slate-translucent: rgba(241, 245, 249, 0.4);
  --custom-slate-translucent-2: rgba(241, 245, 249, 0.6);

  /* Card/Surface Translucent Colors (contextual) */
  --custom-card-background-translucent: rgba(255, 255, 255, 0.95);
  --custom-card-background-translucent-2: rgba(232, 236, 241, 0.95);
  --custom-card-background-translucent-3: rgba(212, 219, 229, 0.95);
  --custom-card-background-translucent-4: rgba(255, 255, 255, 0.98);
  --custom-card-background-translucent-5: rgba(255, 255, 255, 0.8);
  --custom-card-background-translucent-6: rgba(255, 255, 255, 0.5);
  --custom-card-background-hover-translucent: rgba(245, 247, 250, 0.95);

  /* Page/Layout Translucent Colors (contextual) */
  --custom-page-background-translucent: rgba(241, 245, 249, 0.4);
  --custom-page-background-translucent-2: rgba(241, 245, 249, 0.6);

  /* Border Translucent Colors (contextual) */
  --custom-border-color-translucent: rgba(226, 232, 240, 0.2);
  --custom-border-color-translucent-2: rgba(203, 213, 225, 0.1);
  --custom-cyan-translucent: rgba(74, 144, 226, 0.1);
  --custom-cyan-translucent-2: rgba(74, 144, 226, 0.15);
  --custom-cyan-translucent-3: rgba(74, 144, 226, 0.2);
  --custom-cyan-translucent-4: rgba(74, 144, 226, 0.3);
  --custom-cyan-translucent-5: rgba(74, 144, 226, 0.05);
  --custom-cyan-translucent-6: rgba(74, 144, 226, 0.5);
  --custom-cyan-2-translucent: rgba(53, 122, 189, 0.3);
  --custom-cyan-3-translucent: rgba(91, 163, 240, 0.3);
  --custom-cyan-4-translucent: rgba(122, 184, 245, 0.3);
  --custom-green-translucent: rgba(52, 211, 153, 0.1);
  --custom-green-translucent-2: rgba(52, 211, 153, 0.2);
  --custom-green-translucent-3: rgba(52, 211, 153, 0.3);
  --custom-green-translucent-4: rgba(52, 211, 153, 0.05);
  --custom-green-2-translucent: rgba(16, 185, 129, 0.3);
  --custom-red-translucent: rgba(248, 113, 113, 0.1);
  --custom-red-translucent-2: rgba(248, 113, 113, 0.2);
  --custom-red-2-translucent: rgba(239, 68, 68, 0.1);
  --custom-yellow-translucent: rgba(251, 191, 36, 0.2);
  --custom-yellow-2-translucent: rgba(245, 158, 11, 0.1);
  --custom-white-translucent: rgba(255, 255, 255, 0.08);
  --custom-white-translucent-2: rgba(255, 255, 255, 0.4);
  --custom-white-translucent-3: rgba(255, 255, 255, 0.7);
  --custom-darkblue-translucent-6: rgba(255, 255, 255, 0.5);
  --custom-cyan-border-translucent: rgba(74, 144, 226, 0.1);
  --custom-cyan-border-translucent-2: rgba(74, 144, 226, 0.2);
  --custom-cyan-border-translucent-3: rgba(74, 144, 226, 0.3);
  --custom-cyan-2-border-translucent: rgba(53, 122, 189, 0.3);
  --custom-cyan-3-border-translucent: rgba(91, 163, 240, 0.3);
  --custom-cyan-4-border-translucent: rgba(122, 184, 245, 0.3);
  --custom-cyan-5-translucent: rgba(107, 168, 242, 0.2);
  --custom-green-border-translucent: rgba(52, 211, 153, 0.3);
  --custom-green-2-border-translucent: rgba(16, 185, 129, 0.3);
  --custom-red-border-translucent: rgba(248, 113, 113, 0.3);
  --custom-slate-2-translucent: rgba(226, 232, 240, 0.2);
  --custom-slate-3-translucent: rgba(203, 213, 225, 0.1);
  --custom-red-2-translucent-2: rgba(239, 68, 68, 0.1);

  /* Header Background (contextual - already exists, keep for reference) */
  --custom-header-background: rgba(15, 22, 40, 0.85);

  /* Dialog/Modal Colors (contextual) */
  --custom-dialog-background: rgba(255, 255, 255, 0.98);
  --custom-dialog-border: rgba(74, 144, 226, 0.15);
  --custom-dialog-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

  /* Header Border Colors (contextual) */
  --custom-header-border: rgba(74, 144, 226, 0.15);
  --custom-header-gradient-start: rgba(15, 22, 40, 0.75);

  /* Text Colors on Dark Backgrounds (contextual) */
  --custom-text-on-dark-background: rgba(255, 255, 255, 0.9);
  --custom-text-on-dark-background-hover: #4a90e2;

  /* Button Colors (contextual) */
  --custom-button-primary-text: #ffffff;
  --custom-button-primary-text-hover: #ffffff;

  /* Shadow Colors (contextual) */
  --custom-shadow-light: rgba(0, 0, 0, 0.1);
  --custom-shadow-medium: rgba(0, 0, 0, 0.06);
  --custom-shadow-strong: rgba(0, 0, 0, 0.3);
  --custom-shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --custom-shadow-dialog: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --custom-shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);

  /* Chart Colors (contextual) */
  --custom-chart-cyan-light: #7ab8f5;
  --custom-chart-cyan-very-light: #b3d4f8;

  /* Error Colors (contextual) */
  --custom-error-red: #f44336;
  --custom-error-red-light: #fa755a;

  /* Border Colors - Cyan Variants (contextual) */
  --custom-border-cyan-subtle: rgba(74, 144, 226, 0.08);
  --custom-border-cyan-light: rgba(74, 144, 226, 0.15);
  --custom-border-cyan-medium: rgba(74, 144, 226, 0.15);

  /* Social Media Brand Colors (contextual) */
  --custom-social-whatsapp: #25D366;
  --custom-social-telegram: #0088cc;
  --custom-social-messenger: #006AFF;
  --custom-social-instagram: #E4405F;

  /* Payment/Stripe Colors (contextual) */
  --custom-payment-text: #ffffff;
  --custom-payment-placeholder: #aab7c4;
  --custom-payment-error: #fa755a;

  /* Quasar Theme Colors (contextual) */
  --custom-quasar-primary: #2f80d7;
  --custom-quasar-accent: #4a90e2;
  --custom-quasar-dark: #0a0f1e;
}

/* Dark Theme */
body.body--dark {
  /* Dark Blue Colors (deprecated - use contextual names) */
  --custom-darkblue: #0f1628;
  --custom-darkblue-2: #0a0f1e;
  --custom-darkblue-3: #050a14;
  --custom-darkblue-4: #030810;

  /* Slate Colors (deprecated - use contextual names) */
  --custom-slate: #0f1628;
  --custom-slate-2: #475569;
  --custom-slate-3: #334155;

  /* Card/Surface Colors (contextual) */
  --custom-card-background: #0f1628;
  --custom-card-background-hover: #0a0f1e;
  --custom-card-background-secondary: #050a14;
  --custom-card-background-tertiary: #030810;

  /* Page/Layout Colors (contextual) */
  --custom-page-background: #050a14;
  --custom-page-background-secondary: #0f1628;

  /* Border Colors (contextual) */
  --custom-border-color: #475569;
  --custom-border-color-secondary: #334155;

  /* Form Field Colors (contextual) */
  --custom-input-background: #0f1628;
  --custom-input-border: #334155;
  --custom-input-border-focused: #5ba3f0;

  /* Drawer Colors (contextual) */
  --custom-drawer-background: rgba(15, 22, 40, 0.95);
  --custom-drawer-background-secondary: rgba(5, 10, 20, 0.95);

  /* Cyan/Blue Colors */
  --custom-cyan: #4a90e2;
  --custom-cyan-2: #357abd;
  --custom-cyan-3: #5ba3f0;
  --custom-cyan-4: #7ab8f5;
  --custom-cyan-5: #6ba8f2;

  /* Text Colors */
  --custom-text-primary: #ffffff;
  --custom-text-secondary: #e2e8f0;
  --custom-text-tertiary: #94a3b8;
  --custom-text-quaternary: #64748b;

  /* Green Colors */
  --custom-green: #34d399;
  --custom-green-2: #10b981;

  /* Red Colors */
  --custom-red: #f87171;
  --custom-red-2: #ef4444;

  /* Yellow Colors */
  --custom-yellow: #fbbf24;
  --custom-yellow-2: #f59e0b;

  /* White */
  --custom-white: #ffffff;

  /* Header Background */
  --custom-header-background: rgba(15, 22, 40, 0.95);

  /* Page Background */
  --custom-page-background: #050a14;

  /* RGBA Variables for Translucent Colors (deprecated - use contextual names) */
  --custom-darkblue-translucent: rgba(15, 22, 40, 0.95);
  --custom-darkblue-translucent-2: rgba(5, 10, 20, 0.95);
  --custom-darkblue-translucent-3: rgba(3, 8, 16, 0.95);
  --custom-darkblue-translucent-4: rgba(15, 22, 40, 0.98);
  --custom-darkblue-translucent-5: rgba(15, 22, 40, 0.8);
  --custom-slate-translucent: rgba(15, 22, 40, 0.4);
  --custom-slate-translucent-2: rgba(15, 22, 40, 0.6);

  /* Card/Surface Translucent Colors (contextual) */
  --custom-card-background-translucent: rgba(15, 22, 40, 0.95);
  --custom-card-background-translucent-2: rgba(5, 10, 20, 0.95);
  --custom-card-background-translucent-3: rgba(3, 8, 16, 0.95);
  --custom-card-background-translucent-4: rgba(10, 15, 30, 0.98);
  --custom-card-background-translucent-5: rgba(10, 15, 30, 0.8);
  --custom-card-background-translucent-6: rgba(15, 22, 40, 0.5);
  --custom-card-background-hover-translucent: rgba(10, 15, 30, 0.95);

  /* Page/Layout Translucent Colors (contextual) */
  --custom-page-background-translucent: rgba(15, 22, 40, 0.4);
  --custom-page-background-translucent-2: rgba(15, 22, 40, 0.6);

  /* Border Translucent Colors (contextual) */
  --custom-border-color-translucent: rgba(71, 85, 105, 0.2);
  --custom-border-color-translucent-2: rgba(51, 65, 85, 0.1);
  --custom-cyan-translucent: rgba(74, 144, 226, 0.1);
  --custom-cyan-translucent-2: rgba(74, 144, 226, 0.15);
  --custom-cyan-translucent-3: rgba(74, 144, 226, 0.2);
  --custom-cyan-translucent-4: rgba(74, 144, 226, 0.3);
  --custom-cyan-translucent-5: rgba(74, 144, 226, 0.05);
  --custom-cyan-translucent-6: rgba(74, 144, 226, 0.5);
  --custom-cyan-2-translucent: rgba(53, 122, 189, 0.3);
  --custom-cyan-3-translucent: rgba(91, 163, 240, 0.3);
  --custom-cyan-4-translucent: rgba(122, 184, 245, 0.3);
  --custom-green-translucent: rgba(52, 211, 153, 0.1);
  --custom-green-translucent-2: rgba(52, 211, 153, 0.2);
  --custom-green-translucent-3: rgba(52, 211, 153, 0.3);
  --custom-green-translucent-4: rgba(52, 211, 153, 0.05);
  --custom-green-2-translucent: rgba(16, 185, 129, 0.3);
  --custom-red-translucent: rgba(248, 113, 113, 0.1);
  --custom-red-translucent-2: rgba(248, 113, 113, 0.2);
  --custom-red-2-translucent: rgba(239, 68, 68, 0.1);
  --custom-yellow-translucent: rgba(251, 191, 36, 0.2);
  --custom-yellow-2-translucent: rgba(245, 158, 11, 0.1);
  --custom-white-translucent: rgba(255, 255, 255, 0.08);
  --custom-white-translucent-2: rgba(255, 255, 255, 0.4);
  --custom-white-translucent-3: rgba(255, 255, 255, 0.7);
  --custom-darkblue-translucent-6: rgba(15, 22, 40, 0.5);
  --custom-cyan-border-translucent: rgba(10, 15, 30, 0.2);
  --custom-cyan-border-translucent-2: rgba(10, 15, 30, 0.3);
  --custom-cyan-border-translucent-3: rgba(10, 15, 30, 0.05);
  --custom-cyan-2-border-translucent: rgba(53, 122, 189, 0.3);
  --custom-cyan-3-border-translucent: rgba(91, 163, 240, 0.3);
  --custom-cyan-4-border-translucent: rgba(122, 184, 245, 0.3);
  --custom-cyan-5-translucent: rgba(107, 168, 242, 0.2);
  --custom-green-border-translucent: rgba(52, 211, 153, 0.3);
  --custom-green-2-border-translucent: rgba(16, 185, 129, 0.3);
  --custom-red-border-translucent: rgba(248, 113, 113, 0.3);
  --custom-slate-2-translucent: rgba(71, 85, 105, 0.2);
  --custom-slate-3-translucent: rgba(51, 65, 85, 0.1);
  --custom-red-2-translucent-2: rgba(239, 68, 68, 0.1);

  /* Header Background (contextual - already exists, keep for reference) */
  --custom-header-background: rgba(15, 22, 40, 0.95);

  /* Dialog/Modal Colors (contextual) */
  --custom-dialog-background: rgba(15, 22, 40, 0.98);
  --custom-dialog-border: rgba(74, 144, 226, 0.15);
  --custom-dialog-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

  /* Header Border Colors (contextual) */
  --custom-header-border: rgba(10, 15, 30, 0.2);
  --custom-header-gradient-start: rgba(15, 22, 40, 0.75);

  /* Text Colors on Dark Backgrounds (contextual) */
  --custom-text-on-dark-background: rgba(255, 255, 255, 0.9);
  --custom-text-on-dark-background-hover: #4a90e2;

  /* Button Colors (contextual) */
  --custom-button-primary-text: #ffffff;
  --custom-button-primary-text-hover: #ffffff;

  /* Shadow Colors (contextual) */
  --custom-shadow-light: rgba(0, 0, 0, 0.1);
  --custom-shadow-medium: rgba(0, 0, 0, 0.06);
  --custom-shadow-strong: rgba(0, 0, 0, 0.3);
  --custom-shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --custom-shadow-dialog: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --custom-shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);

  /* Chart Colors (contextual) */
  --custom-chart-cyan-light: #7ab8f5;
  --custom-chart-cyan-very-light: #b3d4f8;

  /* Error Colors (contextual) */
  --custom-error-red: #f44336;
  --custom-error-red-light: #fa755a;

  /* Border Colors - Cyan Variants (contextual) */
  --custom-border-cyan-subtle: rgba(74, 144, 226, 0.08);
  --custom-border-cyan-light: rgba(74, 144, 226, 0.15);
  --custom-border-cyan-medium: rgba(74, 144, 226, 0.15);

  /* Social Media Brand Colors (contextual) */
  --custom-social-whatsapp: #25D366;
  --custom-social-telegram: #0088cc;
  --custom-social-messenger: #006AFF;
  --custom-social-instagram: #E4405F;

  /* Payment/Stripe Colors (contextual) */
  --custom-payment-text: #ffffff;
  --custom-payment-placeholder: #aab7c4;
  --custom-payment-error: #fa755a;

  /* Quasar Theme Colors (contextual) */
  --custom-quasar-primary: #5ba3f0;
  --custom-quasar-accent: #5ba3f0;
  --custom-quasar-dark: #0a0f1e;
}