/* AI-Header: Dark burgundy theme CSS (Bootstrap variable overrides for authenticated views) */
/* Date: 2025-08-14 */

/*
   Purpose: Provide burgundy palette by overriding Bootstrap CSS variables under [data-bs-theme="dark"].
   Scope: Global; affects components using var(--bs-*) tokens and our layout/theme styles.
*/

[data-bs-theme="dark"] {
   /* Core surfaces */
   --bs-body-bg: #000000;                 /* pure black page background */
   --bs-body-color: #f1f1f1;              /* default text */
   --bs-secondary-color: #b9b9c2;         /* muted text */
   --bs-border-color: rgba(255, 255, 255, 0.08);

   /* Cards and elevated surfaces - updated to black */
   --bs-card-bg: #000000;                 /* black cards for consistency */
   --bs-tertiary-bg: #1a1a1a;             /* slightly lighter for tertiary surfaces */

   /* Brand accents (modern blue-gray tones) */
   --bs-primary: #3b82f6;                 /* blue-500 for primary actions */
   --bs-primary-rgb: 59, 130, 246;
   --bs-link-color: #60a5fa;              /* blue-400 for links */
   --bs-link-hover-color: #93c5fd;        /* blue-300 for hover */

   /* Contextuals (use softer subtles to avoid neon) */
   --bs-danger: #ff5c5c;
   --bs-success: #69d29b;
   --bs-warning: #f3c76a;

   /* Subtle alert tokens (Bootstrap 5.3) */
   --bs-danger-bg-subtle: rgba(255, 92, 92, 0.12);
   --bs-danger-border-subtle: rgba(255, 92, 92, 0.35);
   --bs-warning-bg-subtle: rgba(243, 199, 106, 0.12);
   --bs-warning-border-subtle: rgba(243, 199, 106, 0.35);

   /* ArrParty shared surface/accent tokens (updated for black theme) */
   --brand-accent: #6366f1;              /* indigo-500 for accent ring, focus outlines */
   --surface-card: #000000;              /* black card surface */
   --surface-header: #1a1a1a;            /* slightly lighter header plane */
   --surface-action: #374151;            /* action tiles background (gray-700) */
   --surface-action-hover: #4b5563;      /* action tiles hover (gray-600) */
   --surface-footer-contrast: #0a0a0a;   /* footer strip - darkest */
   --avatar-ring-color: var(--brand-accent);
   --action-text-color: #ffffff;         /* text on action tiles in dark */
}

/* Optional: global scrollbar tone in modern dark theme */
[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
   background: #4b5563;  /* gray-600 for subtle scrollbar */
}
