/* Table pages use the app's bg-light body hook with a dark visual theme. */
[data-bs-theme="dark"] {
  --tb-bg: #27272a; /* Matched to your app's --bg-card token (#27272a) */
  --tb-text: #f4f4f5; /* Matched to your app's --text-main token (#f4f4f5) */
  --tb-text-muted: #a1a1aa;
  --tb-text-label: #cbd5e1;
  --tb-border: #3f3f46;
  --tb-border-input: #3f3f46;
  --tb-hover-bg: #323238;

  --tb-primary: #2563eb;
  --tb-primary-hover: #1d4ed8;
  --tb-primary-focus: rgba(37, 99, 235, 0.3);
  --tb-primary-text: #ffffff;

  --tb-panel-bg: #202023; /* Matched to your app's --bg-header token (#202023) */
  --tb-active-bg: #3f3f46;
  --tb-active-text: #f4f4f5;

  --tb-danger: #ef4444;
  --tb-danger-hover-bg: #7f1d1d;
  --tb-danger-hover-text: #fca5a5;

  --tb-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.3);
  --tb-dropdown-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
