/* ═══════════════════════════════════════════════════════════════
 * Shrishti.ai — Unified Theme (AdminLTE v4 / Bootstrap 5)
 * Single source of truth for brand colors, typography, and shared UI.
 * Color palette from: art/ShrishtiColorPallet.txt
 *
 * Uses Bootstrap 5's data-bs-theme="dark|light" system.
 * Overrides --bs-* variables to apply Shrishti brand colors.
 * ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────
 * Brand Color Constants (consistent across both modes)
 * ─────────────────────────────────────────────────────────────── */
:root {
  /* Brand & Action Colors */
  --shrishti-gold: #EBBC69;           /* rgba(235,188,105,1) — Golden/Sand */
  --shrishti-gold-hover: #D9A85A;
  --shrishti-gold-rgb: 235, 188, 105;
  --shrishti-gold-dim: rgba(235, 188, 105, 0.15);
  --shrishti-blue: #2563EB;           /* rgba(37,99,235,1) — Vibrant Blue */
  --shrishti-blue-hover: #1D4ED8;
  --shrishti-success: #22C55E;        /* rgba(34,197,94,1) — Success Green */
  --shrishti-error: #EF4444;          /* rgba(239,68,68,1) — Error Red */

  /* Typography */
  --shrishti-font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --shrishti-font-mono: 'Fira Code', 'Courier New', monospace;

  /* Override Bootstrap primary with brand gold */
  --bs-primary: var(--shrishti-gold);
  --bs-primary-rgb: var(--shrishti-gold-rgb);
  --bs-link-color: var(--shrishti-blue);
  --bs-link-hover-color: var(--shrishti-blue-hover);

  /* Font family override */
  --bs-body-font-family: var(--shrishti-font-family);
  --bs-font-monospace: var(--shrishti-font-mono);

  /* Spacing / elevation scale — consistent alternative to the ad hoc
     radius/shadow values hardcoded per-component elsewhere in this file. */
  --shrishti-radius-sm: 0.5rem;
  --shrishti-radius-md: 0.75rem;
  --shrishti-radius-lg: 1rem;
  --shrishti-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shrishti-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ───────────────────────────────────────────────────────────────
 * Dark Mode (data-bs-theme="dark")
 * Palette: Deep Navy bg, Slate Blue surfaces, White text, Gold CTA
 * ─────────────────────────────────────────────────────────────── */
[data-bs-theme="dark"] {
  /* Body */
  --bs-body-color: #FFFFFF;            /* rgba(255,255,255,1) — Pure White */
  --bs-body-bg: #0F172A;              /* rgba(15,23,42,1) — Deep Navy */
  --bs-body-color-rgb: 255, 255, 255;
  --bs-body-bg-rgb: 15, 23, 42;

  /* Emphasis / Secondary / Tertiary */
  --bs-emphasis-color: #FFFFFF;
  --bs-secondary-color: rgba(148, 163, 184, 0.75);  /* Cool Gray */
  --bs-tertiary-color: rgba(148, 163, 184, 0.5);
  --bs-tertiary-bg: #111827;           /* rgba(17,24,39,1) — Rich Black */

  /* Secondary bg (cards, sidebars) */
  --bs-secondary-bg: #1E293B;          /* rgba(30,41,59,1) — Slate Blue */
  --bs-secondary-bg-rgb: 30, 41, 59;

  /* Borders */
  --bs-border-color: #334155;          /* rgba(51,65,85,1) — Slate Border */
  --bs-border-color-translucent: rgba(255, 255, 255, 0.1);
  --shrishti-border-soft: rgba(148, 163, 184, 0.18); /* lower-emphasis than --bs-border-color, for non-structural dividers (e.g. chat bubbles) */

  /* Link */
  --bs-link-color: var(--shrishti-blue);
  --bs-link-hover-color: var(--shrishti-blue-hover);

  /* Primary (brand gold) */
  --bs-primary: var(--shrishti-gold);
  --bs-primary-rgb: var(--shrishti-gold-rgb);
  --bs-primary-text-emphasis: var(--shrishti-gold);
  --bs-primary-bg-subtle: rgba(235, 188, 105, 0.1);
  --bs-primary-border-subtle: rgba(235, 188, 105, 0.25);

  /* Status */
  --bs-success: var(--shrishti-success);
  --bs-danger: var(--shrishti-error);

  /* Heading color */
  --bs-heading-color: #FFFFFF;

  /* Code */
  --bs-code-color: var(--shrishti-gold);
}

/* ───────────────────────────────────────────────────────────────
 * Light Mode (data-bs-theme="light")
 * Palette: White bg, Ghost White cards, Deep Navy text, Gold CTA
 * ─────────────────────────────────────────────────────────────── */
[data-bs-theme="light"] {
  /* Body */
  --bs-body-color: #0F172A;            /* rgba(15,23,42,1) — Deep Navy text */
  --bs-body-bg: #FFFFFF;              /* rgba(255,255,255,1) — Pure White */
  --bs-body-color-rgb: 15, 23, 42;
  --bs-body-bg-rgb: 255, 255, 255;

  /* Emphasis / Secondary / Tertiary */
  --bs-emphasis-color: #0F172A;
  --bs-secondary-color: rgba(71, 85, 105, 0.75);   /* Medium Slate */
  --bs-tertiary-color: rgba(71, 85, 105, 0.5);
  --bs-tertiary-bg: #F1F5F9;           /* rgba(241,245,249,1) — Soft Gray */

  /* Secondary bg (cards, sidebars) */
  --bs-secondary-bg: #F8FAFC;          /* rgba(248,250,252,1) — Ghost White */
  --bs-secondary-bg-rgb: 248, 250, 252;

  /* Borders */
  --bs-border-color: #E2E8F0;          /* rgba(226,232,240,1) — Light Slate */
  --bs-border-color-translucent: rgba(0, 0, 0, 0.1);
  --shrishti-border-soft: rgba(71, 85, 105, 0.15); /* lower-emphasis than --bs-border-color, for non-structural dividers (e.g. chat bubbles) */

  /* Link */
  --bs-link-color: var(--shrishti-blue);
  --bs-link-hover-color: var(--shrishti-blue-hover);

  /* Primary (brand gold) */
  --bs-primary: var(--shrishti-gold);
  --bs-primary-rgb: var(--shrishti-gold-rgb);
  --bs-primary-text-emphasis: var(--shrishti-gold);
  --bs-primary-bg-subtle: rgba(235, 188, 105, 0.1);
  --bs-primary-border-subtle: rgba(235, 188, 105, 0.25);

  /* Status */
  --bs-success: var(--shrishti-success);
  --bs-danger: var(--shrishti-error);

  /* Heading color */
  --bs-heading-color: #0F172A;

  /* Code */
  --bs-code-color: var(--shrishti-gold);
}

/* ═══════════════════════════════════════════════════════════════
 * Base Styles
 * ═══════════════════════════════════════════════════════════════ */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--shrishti-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── MPA View Transitions ──
   Cross-fades same-origin full-page navigations in supporting browsers
   (Chrome 126+, Safari 18.2+) instead of flashing white. No-op elsewhere. */
@view-transition {
  navigation: auto;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bs-border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--bs-secondary-color); }

/* ═══════════════════════════════════════════════════════════════
 * Shrishti Brand Components
 * ═══════════════════════════════════════════════════════════════ */

/* ── Brand Logo ── */
.brand-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(235, 188, 105, 0.3));
}

.brand-logo-lg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(235, 188, 105, 0.3));
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--shrishti-gold);
  margin: 0;
  letter-spacing: -0.02em;
  font-family: var(--shrishti-font-family);
}

.brand-tagline {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  margin: 0.375rem 0 0 0;
  font-weight: 400;
}

/* ── Gold Button (primary CTA) ── */
.btn-shrishti-gold {
  background: var(--shrishti-gold);
  color: #0F172A;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--shrishti-font-family);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.btn-shrishti-gold:hover:not(:disabled) {
  background: var(--shrishti-gold-hover);
  color: #0F172A;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(235, 188, 105, 0.25);
}

.btn-shrishti-gold:active:not(:disabled) {
  transform: translateY(0);
}

.btn-shrishti-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Outline Gold Button (secondary CTA) ── */
.btn-outline-shrishti-gold {
  background: transparent;
  color: var(--shrishti-gold);
  border: 1px solid var(--shrishti-gold);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--shrishti-font-family);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.btn-outline-shrishti-gold:hover:not(:disabled) {
  background: var(--shrishti-gold);
  color: #0F172A;
  transform: translateY(-1px);
}

.btn-outline-shrishti-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Dark Input ── */
.shrishti-input {
  background: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  color: var(--bs-body-color);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--shrishti-font-family);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.shrishti-input:focus {
  outline: none;
  border-color: var(--shrishti-gold);
  box-shadow: 0 0 0 3px rgba(235, 188, 105, 0.15);
  background: var(--bs-secondary-bg);
  color: var(--bs-body-color);
}

.shrishti-input::placeholder {
  color: var(--bs-tertiary-color);
}

/* ── Card ── */
.shrishti-card {
  background: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ── Badge ── */
.shrishti-badge {
  background: rgba(235, 188, 105, 0.15);
  color: var(--shrishti-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
}

/* ── Divider ── */
.shrishti-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--bs-tertiary-color);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.shrishti-divider::before,
.shrishti-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bs-border-color);
}

.shrishti-divider span {
  padding: 0 1rem;
}

/* ── Error message ── */
.shrishti-error {
  color: var(--shrishti-error);
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 0.5rem;
  border: 1px solid rgba(239, 68, 68, 0.15);
  display: none;
}

/* ── Typing indicator ── */
.shrishti-typing {
  display: inline-flex;
  gap: 4px;
  padding: 0.5rem 0;
}

.shrishti-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shrishti-gold);
  animation: shrishti-typing 1.4s infinite;
}

.shrishti-typing span:nth-child(2) { animation-delay: 0.2s; }
.shrishti-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes shrishti-typing {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

/* ── Markdown rendering (chat messages) ── */
.shrishti-markdown pre {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin: 0.75rem 0;
}

[data-bs-theme="light"] .shrishti-markdown pre {
  background: #F1F5F9;
}

.shrishti-markdown code {
  font-family: var(--shrishti-font-mono);
  font-size: 0.8125rem;
}

.shrishti-markdown pre code {
  color: var(--bs-body-color);
}

.shrishti-markdown p { margin-bottom: 0.75rem; }
.shrishti-markdown ul, .shrishti-markdown ol { margin-left: 1.5rem; margin-bottom: 0.75rem; }
.shrishti-markdown h1, .shrishti-markdown h2, .shrishti-markdown h3 { margin-top: 1rem; margin-bottom: 0.5rem; }
.shrishti-markdown a { color: var(--shrishti-blue); text-decoration: none; }
.shrishti-markdown a:hover { text-decoration: underline; }
.shrishti-markdown blockquote {
  border-left: 3px solid var(--shrishti-gold);
  padding-left: 1rem;
  color: var(--bs-secondary-color);
  margin: 0.75rem 0;
}
.shrishti-markdown table { border-collapse: collapse; width: 100%; margin: 0.75rem 0; }
.shrishti-markdown th, .shrishti-markdown td {
  border: 1px solid var(--bs-border-color);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.shrishti-markdown th { background: var(--bs-secondary-bg); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
 * AdminLTE Sidebar & Main Overrides
 * ═══════════════════════════════════════════════════════════════ */

/* ── Sidebar (always dark in both themes) ── */
.app-sidebar {
  --lte-sidebar-color: #FFFFFF;
  --lte-sidebar-hover-color: var(--shrishti-gold);
  --lte-sidebar-hover-bg: rgba(235, 188, 105, 0.08);
  --lte-sidebar-active-bg: rgba(235, 188, 105, 0.15);
  background: #0F172A !important; /* Deep navy sidebar */
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* Sidebar brand */
.app-sidebar .sidebar-brand {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
}

.app-sidebar .sidebar-brand .brand-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.app-sidebar .sidebar-brand .brand-image {
  width: 32px;
  height: 32px;
  float: none;
  opacity: 1;
  box-shadow: none;
  filter: drop-shadow(0 4px 12px rgba(235, 188, 105, 0.3));
}

.app-sidebar .sidebar-brand .brand-text {
  color: var(--shrishti-gold);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.app-sidebar .sidebar-brand .brand-text:hover {
  color: var(--shrishti-gold);
}

/* Sidebar wrapper — fill remaining space after brand + section tabs, scroll within */
.app-sidebar .sidebar-wrapper {
  background: transparent;
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important; /* override AdminLTE's fixed calc height that clips bottom items */
  max-height: calc(100vh - 100px); /* leave room for brand + section tabs above */
  overflow-y: auto !important; /* ensure scroll even with OverlayScrollbars */
}

/* ── Sidebar section tabs (Chat | User | Admin | Platform) ──
   Markup rendered by ShrishtiLayout.render(); all visuals live here. */
.sidebar-section-tabs {
  display: flex;
  padding: 0.5rem 0.75rem;
  gap: 0.375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-tab {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  border-radius: 0.375rem;
  padding: 0.375rem;
  cursor: pointer;
  font-size: 0.8125rem;
  transition: all 0.15s;
}
.sidebar-tab:hover {
  color: var(--shrishti-gold);
  border-color: rgba(235, 188, 105, 0.3);
}
.sidebar-tab.active {
  background: var(--shrishti-gold-dim);
  border-color: rgba(235, 188, 105, 0.3);
  color: var(--shrishti-gold);
}

/* Sidebar group headers (e.g. the Admin section's "Identity & Access") */
.sidebar-menu .nav-header {
  color: rgba(148, 163, 184, 0.6);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 0.75rem 1rem 0.25rem;
}

/* Sidebar menu items (for future nav links) */
.sidebar-menu .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.sidebar-menu .nav-link:hover {
  color: var(--shrishti-gold);
  background: rgba(235, 188, 105, 0.08);
}

.sidebar-menu .nav-link.active {
  color: var(--shrishti-gold);
  background: rgba(235, 188, 105, 0.15);
  border-left: 3px solid var(--shrishti-gold);
}

/* ── Main content area ── */
.app-main {
  background: var(--bs-body-bg);
  padding: 0;
}

/* AdminLTE's "Toggle sidebar" button (data-lte-toggle="sidebar") hides the
   sidebar at any viewport width by giving .app-sidebar a negative margin —
   but .app-wrapper's grid still sizes the sidebar's column as `auto`, which
   tracks the sidebar's own (unshifted) intrinsic width, so the space it
   freed up was never actually given back to .app-main. Force that column to
   0 whenever the sidebar is manually collapsed (not the separate icon-only
   "mini" mode, which needs its own narrow column). */
body.sidebar-collapse:not(.sidebar-mini) .app-wrapper {
  grid-template-columns: 0 1fr;
}

.app-main .container-fluid {
  padding: 1rem;
  max-width: 100%;
}

/* ── Cards in main area ── */
.app-main .card {
  background: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.app-main .card-body {
  padding: 1rem 1.25rem;
}

/* ── Color Mode Toggle dropdown (AdminLTE built-in) ── */
.dropdown-menu [data-bs-theme-value].active {
  background: rgba(235, 188, 105, 0.15);
  color: var(--shrishti-gold);
}

.dropdown-menu [data-bs-theme-value]:hover {
  background: rgba(235, 188, 105, 0.08);
}

/* Note: Theme icon switching is handled by AdminLTE's ColorMode._showActiveTheme()
   which adds/removes the `d-none` class on [data-lte-theme-icon] elements.
   No custom CSS rules needed. */

/* ── Table action button groups: prevent wrapping ── */
td .btn-sm {
  white-space: nowrap;
}
/* Action cells: keep all buttons on one line */
td:has(> .btn-sm),
td:has(> button.btn-sm),
td:has(> .btn-group) {
  white-space: nowrap;
}
/* Fallback for browsers without :has() — target last column which is usually Actions */
.table td:last-child {
  white-space: nowrap;
}
/* Connected button groups in table cells: consistent border color */
td .btn-group .btn-outline-secondary {
  border-color: var(--bs-border-color);
}

/* ── Page header: description + button row ──
 * Consistent layout across all pages: description gets ~70% width and wraps,
 * button gets priority to fill its natural width without wrapping.
 * Matches the pattern: <div class="d-flex justify-content-between [align-items-center] mb-3">
 *   <span|p class="text-secondary">description</span|p> <button|a class="btn...">Add...</button|a> </div>
 */
.d-flex.justify-content-between.mb-3 > span.text-secondary,
.d-flex.justify-content-between.mb-3 > p.text-secondary,
.d-flex.justify-content-between.align-items-center.mb-3 > span.text-secondary,
.d-flex.justify-content-between.align-items-center.mb-3 > p.text-secondary {
  flex: 1 1 70%;
  min-width: 0;
}
.d-flex.justify-content-between.mb-3 > .btn,
.d-flex.justify-content-between.mb-3 > button,
.d-flex.justify-content-between.mb-3 > a.btn,
.d-flex.justify-content-between.align-items-center.mb-3 > .btn,
.d-flex.justify-content-between.align-items-center.mb-3 > button,
.d-flex.justify-content-between.align-items-center.mb-3 > a.btn {
  flex: 0 0 auto;
  white-space: nowrap;
  margin-left: 1rem;
  width: auto;
}

/* ───────────────────────────────────────────────────────────────
 * Field-help tooltips (Bootstrap Tooltip) — used on admin forms to
 * explain what each field does. Wider than default so the explanations
 * stay readable; theme-aware via Bootstrap's tooltip classes.
 * ─────────────────────────────────────────────────────────────── */
.tooltip-inner.shrishti-field-help {
  max-width: 360px;
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.4;
  white-space: normal;
}
.tooltip-inner.shrishti-field-help code {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.05rem 0.25rem;
  border-radius: 0.2rem;
  font-size: 0.75rem;
}

/* ───────────────────────────────────────────────────────────────
 * Tabulator (data grid) — shared theme, app-wide. Pages using
 * ShrishtiTable.create() should wrap their mount container in a
 * `.shrishti-table-container` div for the rounded/shadowed shell
 * (originally the sessions.html restyle pilot, now shared since
 * Tabulator rolled out beyond that one page). Tabulator's own
 * Bootstrap 5 theme hardcodes some colors that don't track our
 * --bs-* theme vars automatically — bring header/row chrome in line.
 * ─────────────────────────────────────────────────────────────── */
.shrishti-table-container { border-radius: var(--shrishti-radius-lg); overflow: hidden; box-shadow: var(--shrishti-shadow-sm); }
.tabulator { background: transparent; border: none; font-family: var(--shrishti-font-family); }
.tabulator .tabulator-header { background: var(--bs-tertiary-bg); border-bottom: 1px solid var(--bs-border-color); color: var(--bs-body-color); }
.tabulator .tabulator-col { background: transparent; border-right: none; }
.tabulator .tabulator-row { background: var(--bs-body-bg); border-bottom: 1px solid var(--bs-border-color); color: var(--bs-body-color); }
.tabulator .tabulator-row.tabulator-row-even { background: var(--bs-secondary-bg); }
.tabulator .tabulator-row:hover { background: var(--shrishti-gold-dim); }
.tabulator .tabulator-footer { background: var(--bs-tertiary-bg); border-top: 1px solid var(--bs-border-color); color: var(--bs-secondary-color); }
.tabulator .tabulator-footer .tabulator-page { background: var(--bs-body-bg); color: var(--bs-body-color); border: 1px solid var(--bs-border-color); }
.tabulator .tabulator-footer .tabulator-page.active { background: var(--shrishti-gold); color: #0F172A; border-color: var(--shrishti-gold); }
.tabulator .tabulator-placeholder { color: var(--bs-secondary-color); }

/* ───────────────────────────────────────────────────────────────
 * Tom Select (enhanced <select>) — shared theme, app-wide.
 * ─────────────────────────────────────────────────────────────── */
.ts-wrapper .ts-control { background: var(--bs-body-bg); border-color: var(--bs-border-color); color: var(--bs-body-color); border-radius: 0.5rem; }
.ts-wrapper.focus .ts-control { border-color: var(--shrishti-gold); box-shadow: 0 0 0 3px rgba(var(--shrishti-gold-rgb), 0.15); }
.ts-dropdown { background: var(--bs-body-bg); border-color: var(--bs-border-color); color: var(--bs-body-color); }
.ts-dropdown .option.active, .ts-dropdown .option:hover { background: var(--shrishti-gold-dim); color: var(--bs-body-color); }
.ts-wrapper .ts-control input { color: var(--bs-body-color); }
.ts-wrapper.single .ts-control { background: var(--bs-body-bg); }
.ts-wrapper .item { color: var(--bs-body-color); }
