/* BTS Intelligence brand override — loaded after LibreChat's main bundle.
   See docs/superpowers/specs/2026-07-08-bts-branding-design.md */

:root {
  /* BTS blue family replaces the default purple/blue accent */
  --brand-purple: #4f6bf0;

  /* BTS amber family replaces the default green (buttons/accents/submit) */
  --green-50: #fdf6e8;
  --green-100: #f9e8c2;
  --green-200: #f5cc70;
  --green-300: #e8a820;
  --green-400: #d99612;
  --green-500: #d4900a;
  --green-600: #c78308;
  --green-700: #a86e06;
  --green-800: #8b5d04;
  --green-900: #6b4703;
  --green-950: #4a3102;
}

html.dark {
  --text-primary: #eef0ff;
}

html:not(.dark) {
  --text-primary: #111525;
}

/* Pin the BTS wordmark to a fixed footer bar at the bottom of the wide sidebar
   panel (the `nav` wrapper, not the narrow icon rail, which shares the same
   bg-surface-primary-alt class on a `div`), separated from the scrollable
   nav-item list above it by a border. Reserve the same height as padding on
   the scrollable list so its content never scrolls underneath the bar. */
nav.bg-surface-primary-alt {
  position: relative;
}

nav.bg-surface-primary-alt > div.overflow-y-auto {
  padding-bottom: 76px;
}

nav.bg-surface-primary-alt::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  border-top: 1px solid var(--border-light);
  background-color: var(--surface-primary-alt);
  background-image: url('/assets/logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 140px auto;
  pointer-events: none;
}
