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

  /* Slate Colors (deprecated - use contextual names) */
  --custom-slate: #f5f6f8;
  --custom-slate-2: #e8eaef;
  --custom-slate-3: #d8dce3;

  /* Card/Surface Colors (contextual) */
  --custom-card-background: #ffffff;
  --custom-card-background-hover: #f5f6f8;
  --custom-card-background-secondary: #eceef2;
  --custom-card-background-tertiary: #e2e5ea;

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

  /* Border Colors (contextual) */
  --custom-border-color: #e8eaef;
  --custom-border-color-secondary: #d8dce3;

  /* Form Field Colors (contextual) */
  --custom-input-background: #ffffff;
  --custom-input-border: #d8dce3;
  --custom-input-border-focused: #454094;

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

  /* Cyan/Blue Colors */
  --custom-cyan: #454094;
  --custom-cyan-2: #38327d;
  --custom-cyan-3: #524ca8;
  --custom-cyan-4: #6b65b8;
  --custom-cyan-5: #8078c9;

  /* Text Colors */
  --custom-text-primary: #2b2b2b;
  --custom-text-secondary: #3d3d3d;
  --custom-text-tertiary: #5c5c5c;
  --custom-text-quaternary: #757575;

  /* 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(42, 39, 82, 0.85);

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

  /* RGBA Variables for Translucent Colors (deprecated - use contextual names) */
  --custom-darkblue-translucent: rgba(255, 255, 255, 0.95);
  --custom-darkblue-translucent-2: rgba(236, 238, 242, 0.95);
  --custom-darkblue-translucent-3: rgba(226, 229, 234, 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(245, 246, 248, 0.4);
  --custom-slate-translucent-2: rgba(245, 246, 248, 0.6);

  /* Card/Surface Translucent Colors (contextual) */
  --custom-card-background-translucent: rgba(255, 255, 255, 0.95);
  --custom-card-background-translucent-2: rgba(236, 238, 242, 0.95);
  --custom-card-background-translucent-3: rgba(226, 229, 234, 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, 246, 248, 0.95);

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

  /* Border Translucent Colors (contextual) */
  --custom-border-color-translucent: rgba(232, 234, 239, 0.2);
  --custom-border-color-translucent-2: rgba(216, 220, 227, 0.1);
  --custom-cyan-translucent: rgba(69, 64, 148, 0.1);
  --custom-cyan-translucent-2: rgba(69, 64, 148, 0.15);
  --custom-cyan-translucent-3: rgba(69, 64, 148, 0.2);
  --custom-cyan-translucent-4: rgba(69, 64, 148, 0.3);
  --custom-cyan-translucent-5: rgba(69, 64, 148, 0.05);
  --custom-cyan-translucent-6: rgba(69, 64, 148, 0.5);
  --custom-cyan-2-translucent: rgba(56, 50, 125, 0.3);
  --custom-cyan-3-translucent: rgba(82, 76, 168, 0.3);
  --custom-cyan-4-translucent: rgba(107, 101, 184, 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(69, 64, 148, 0.1);
  --custom-cyan-border-translucent-2: rgba(69, 64, 148, 0.2);
  --custom-cyan-border-translucent-3: rgba(69, 64, 148, 0.3);
  --custom-cyan-2-border-translucent: rgba(56, 50, 125, 0.3);
  --custom-cyan-3-border-translucent: rgba(82, 76, 168, 0.3);
  --custom-cyan-4-border-translucent: rgba(107, 101, 184, 0.3);
  --custom-cyan-5-translucent: rgba(128, 120, 201, 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(232, 234, 239, 0.2);
  --custom-slate-3-translucent: rgba(216, 220, 227, 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(42, 39, 82, 0.85);

  /* Dialog/Modal Colors (contextual) */
  --custom-dialog-background: rgba(255, 255, 255, 0.98);
  --custom-dialog-border: rgba(69, 64, 148, 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(69, 64, 148, 0.15);
  --custom-header-gradient-start: rgba(42, 39, 82, 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: #454094;

  /* 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: #9490d4;
  --custom-chart-cyan-very-light: #d4d2ec;

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

  /* Border Colors - Cyan Variants (contextual) */
  --custom-border-cyan-subtle: rgba(69, 64, 148, 0.08);
  --custom-border-cyan-light: rgba(69, 64, 148, 0.15);
  --custom-border-cyan-medium: rgba(69, 64, 148, 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: #ff5034;
  --custom-quasar-accent: #454094;
  --custom-quasar-dark: #161428;
}

/* Dark Theme */
body.body--dark {
  /* Dark Blue Colors (deprecated - use contextual names) */
  --custom-darkblue: #2a2752;
  --custom-darkblue-2: #1f1d3d;
  --custom-darkblue-3: #161428;
  --custom-darkblue-4: #0f0e1c;

  /* Slate Colors (deprecated - use contextual names) */
  --custom-slate: #2a2752;
  --custom-slate-2: #5c5970;
  --custom-slate-3: #4a4765;

  /* Card/Surface Colors (contextual) */
  --custom-card-background: #2a2752;
  --custom-card-background-hover: #1f1d3d;
  --custom-card-background-secondary: #161428;
  --custom-card-background-tertiary: #0f0e1c;

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

  /* Border Colors (contextual) */
  --custom-border-color: #5c5970;
  --custom-border-color-secondary: #4a4765;

  /* Form Field Colors (contextual) */
  --custom-input-background: #2a2752;
  --custom-input-border: #4a4765;
  --custom-input-border-focused: #524ca8;

  /* Drawer Colors (contextual) */
  --custom-drawer-background: rgba(42, 39, 82, 0.95);
  --custom-drawer-background-secondary: rgba(22, 20, 40, 0.95);

  /* Cyan/Blue Colors */
  --custom-cyan: #454094;
  --custom-cyan-2: #38327d;
  --custom-cyan-3: #524ca8;
  --custom-cyan-4: #6b65b8;
  --custom-cyan-5: #8078c9;

  /* 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(42, 39, 82, 0.95);

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

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

  /* Card/Surface Translucent Colors (contextual) */
  --custom-card-background-translucent: rgba(42, 39, 82, 0.95);
  --custom-card-background-translucent-2: rgba(22, 20, 40, 0.95);
  --custom-card-background-translucent-3: rgba(15, 14, 28, 0.95);
  --custom-card-background-translucent-4: rgba(31, 29, 61, 0.98);
  --custom-card-background-translucent-5: rgba(31, 29, 61, 0.8);
  --custom-card-background-translucent-6: rgba(42, 39, 82, 0.5);
  --custom-card-background-hover-translucent: rgba(31, 29, 61, 0.95);

  /* Page/Layout Translucent Colors (contextual) */
  --custom-page-background-translucent: rgba(42, 39, 82, 0.4);
  --custom-page-background-translucent-2: rgba(42, 39, 82, 0.6);

  /* Border Translucent Colors (contextual) */
  --custom-border-color-translucent: rgba(92, 89, 112, 0.2);
  --custom-border-color-translucent-2: rgba(74, 71, 101, 0.1);
  --custom-cyan-translucent: rgba(69, 64, 148, 0.1);
  --custom-cyan-translucent-2: rgba(69, 64, 148, 0.15);
  --custom-cyan-translucent-3: rgba(69, 64, 148, 0.2);
  --custom-cyan-translucent-4: rgba(69, 64, 148, 0.3);
  --custom-cyan-translucent-5: rgba(69, 64, 148, 0.05);
  --custom-cyan-translucent-6: rgba(69, 64, 148, 0.5);
  --custom-cyan-2-translucent: rgba(56, 50, 125, 0.3);
  --custom-cyan-3-translucent: rgba(82, 76, 168, 0.3);
  --custom-cyan-4-translucent: rgba(107, 101, 184, 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(42, 39, 82, 0.5);
  --custom-cyan-border-translucent: rgba(31, 29, 61, 0.2);
  --custom-cyan-border-translucent-2: rgba(31, 29, 61, 0.3);
  --custom-cyan-border-translucent-3: rgba(31, 29, 61, 0.05);
  --custom-cyan-2-border-translucent: rgba(56, 50, 125, 0.3);
  --custom-cyan-3-border-translucent: rgba(82, 76, 168, 0.3);
  --custom-cyan-4-border-translucent: rgba(107, 101, 184, 0.3);
  --custom-cyan-5-translucent: rgba(128, 120, 201, 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(92, 89, 112, 0.2);
  --custom-slate-3-translucent: rgba(74, 71, 101, 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(42, 39, 82, 0.95);

  /* Dialog/Modal Colors (contextual) */
  --custom-dialog-background: rgba(42, 39, 82, 0.98);
  --custom-dialog-border: rgba(69, 64, 148, 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(31, 29, 61, 0.2);
  --custom-header-gradient-start: rgba(42, 39, 82, 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: #454094;

  /* 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: #9490d4;
  --custom-chart-cyan-very-light: #d4d2ec;

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

  /* Border Colors - Cyan Variants (contextual) */
  --custom-border-cyan-subtle: rgba(69, 64, 148, 0.08);
  --custom-border-cyan-light: rgba(69, 64, 148, 0.15);
  --custom-border-cyan-medium: rgba(69, 64, 148, 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: #ff5034;
  --custom-quasar-accent: #454094;
  --custom-quasar-dark: #161428;
}