:root, [data-bs-theme="light"] {
  /* Light mode – aligned with frontend palette */
  --bs-background: #030711;
  --bs-foreground: #e1e7ef;
  --bs-card: #0f1729;
  --bs-card-foreground: #e1e7ef;
  --bs-popover: #0f1729;
  --bs-popover-foreground: #e1e7ef;
  --bs-primary: #2094f3;
  --bs-primary-foreground: #f8fafc;
  --bs-secondary: #1e293b;
  --bs-secondary-foreground: #e1e7ef;
  --bs-muted: #1e293b;
  --bs-muted-foreground: #94a3b8;
  --bs-accent: #f59f0a;
  --bs-accent-foreground: #0f172a;
  --bs-accent-green: #16a249;
  --bs-accent-red: #dc2828;
  --bs-accent-purple: #7c3bed;
  --bs-accent-orange: #f97415;
  --bs-destructive: #ef4444;
  --bs-destructive-foreground: #f8fafc;
  --bs-border: #2c3c56;
  --lpx-border-color: #2c3c56;
  --bs-input: #1e293b;
  --bs-ring: #2094f3;
  --bs-body-bg: var(--bs-background);
  --bs-body-color: var(--bs-foreground);
  --bs-border-color: var(--bs-border);
  --bs-link-color: #2094f3;
  --bs-link-hover-color: #0f7dd2;
  --bs-primary-rgb: 32, 148, 243;
  --bs-secondary-rgb: 30, 41, 59;
  --bs-foreground-rgb: 225, 231, 239;
  --bs-border-rgb: 44, 60, 86;
  --bs-light: #e1e7ef;
  --bs-light-rgb: 225, 231, 239;
  --bs-dark: #030711;
  --bs-dark-rgb: 3, 7, 17;
  --bs-success: #16a249;
  --bs-success-rgb: 22, 162, 73;
  --bs-info: #2094f3;
  --bs-info-rgb: 32, 148, 243;
  --bs-warning: #f59f0a;
  --bs-warning-rgb: 245, 159, 10;
  --bs-danger: #ef4444;
  --bs-danger-rgb: 239, 68, 68;
  --bs-border-rgb: 44, 60, 86;
  --lpx-brand: #F5A623;
  --lpx-brand-rgb: 245, 166, 35;
  /* LeptonX overrides */
  --lpx-navbar-color: #0a0f1f;
  --lpx-navbar-text-color: #e1e7ef;
  --lpx-navbar-active-bg-color: #1e293b;
  --lpx-navbar-active-text-color: #e1e7ef;
  --lpx-navbar-active-text-color-rgb: 225, 231, 239;
  --lpx-content-bg: #030711;
  --lpx-shadow: 0 16px 36px rgba(3, 7, 17, 0.25);
}

[data-bs-theme="dark"], body.lpx-theme-dark {
  /* Dark mode – matches React/Tailwind defaults */
  --bs-background: #030711;
  --bs-foreground: #e1e7ef;
  --bs-card: #0f1729;
  --bs-card-foreground: #e1e7ef;
  --bs-popover: #0f1729;
  --bs-popover-foreground: #e1e7ef;
  --bs-primary: #2094f3;
  --bs-primary-foreground: #f8fafc;
  --bs-secondary: #1e293b;
  --bs-secondary-foreground: #e1e7ef;
  --bs-muted: #1e293b;
  --bs-muted-foreground: #94a3b8;
  --bs-accent: #f59f0a;
  --bs-accent-foreground: #0f172a;
  --bs-accent-green: #16a249;
  --bs-accent-red: #dc2828;
  --bs-accent-purple: #7c3bed;
  --bs-accent-orange: #f97415;
  --bs-destructive: #7f1d1d;
  --bs-destructive-foreground: #f8fafc;
  --bs-border: #2c3c56;
  --lpx-border-color: #2c3c56;
  --bs-input: #1e293b;
  --bs-ring: #2094f3;
  --bs-body-bg: var(--bs-background);
  --bs-body-color: var(--bs-foreground);
  --bs-border-color: var(--bs-border);
  --bs-primary-rgb: 32, 148, 243;
  --bs-secondary-rgb: 30, 41, 59;
  --bs-foreground-rgb: 225, 231, 239;
  --bs-light: #1e293b;
  --bs-light-rgb: 30, 41, 59;
  --bs-dark: #e1e7ef;
  --bs-dark-rgb: 225, 231, 239;
  --bs-success: #16a249;
  --bs-success-rgb: 22, 162, 73;
  --bs-info: #2094f3;
  --bs-info-rgb: 32, 148, 243;
  --bs-warning: #f59f0a;
  --bs-warning-rgb: 245, 159, 10;
  --bs-danger: #ef4444;
  --bs-danger-rgb: 239, 68, 68;
  --lpx-brand: #F5A623;
  --lpx-brand-rgb: 245, 166, 35;
  /* LeptonX overrides */
  --lpx-navbar-color: #0a0f1f;
  --lpx-navbar-text-color: #e1e7ef;
  --lpx-navbar-active-bg-color: #1e293b;
  --lpx-navbar-active-text-color: #e1e7ef;
  --lpx-navbar-active-text-color-rgb: 225, 231, 239;
  --lpx-content-bg: #080f1d;
  --lpx-shadow: 0 16px 36px rgba(3, 7, 17, 0.25);
}

:root {
  --lpx-theme-light-bg: url('/images/va-logo.png');
  --lpx-theme-dim-bg: url('/images/va-logo.png');
  --lpx-theme-dark-bg: url('/images/va-logo.png');
  --lpx-logo: none;
  --lpx-logo-collapsed: url('/images/va-logo.png');
  --lpx-logo-icon: url('/images/va-logo.png');
}
