/* The default theme: the public pages' look (public.css) brought into the app -
   pure black, one flat orange accent, 1px borders. `dark` is also Bootstrap's own
   colour mode, so its built-in dark rules (and DataTables') apply underneath and
   this file only replaces the palette. Keep it in step with public.css. */
html[data-bs-theme="dark"] {
  color-scheme: dark;
  --bs-body-color: #fafafa;
  --bs-body-bg: #000;
  --bs-body-color-rgb: 250, 250, 250;
  --bs-body-bg-rgb: 0, 0, 0;
  --bs-emphasis-color: #fff;
  --bs-emphasis-color-rgb: 255, 255, 255;
  --bs-secondary-color: #9a9aa3;
  --bs-secondary-color-rgb: 154, 154, 163;
  --bs-secondary-bg: #141414;
  --bs-secondary-bg-rgb: 20, 20, 20;
  --bs-tertiary-bg: #141414;
  --bs-tertiary-bg-rgb: 20, 20, 20;
  --bs-table-bg: #141414;
  --bs-table-bg-rgb: 20, 20, 20;
  --bs-link-color: #ff8c00;
  --bs-link-color-rgb: 255, 140, 0;
  --bs-link-hover-color: #ffae4d;
  --bs-link-hover-color-rgb: 255, 174, 77;
  --bs-primary: #ff8c00;
  --bs-primary-rgb: 255, 140, 0;
  --bs-primary-contrast-color: #000;
  --bs-primary-text-emphasis: #ffae4d;
  --bs-primary-bg-subtle: #2b1c05;
  --bs-primary-border-subtle: #6e4a10;
  --bs-success: #10b981;
  --bs-success-rgb: 16, 185, 129;
  --bs-success-text-emphasis: #4ade9b;
  --bs-success-bg-subtle: #0a241c;
  --bs-success-border-subtle: #145c43;
  --bs-danger: #ef4444;
  --bs-danger-rgb: 239, 68, 68;
  --bs-danger-text-emphasis: #f68787;
  --bs-danger-bg-subtle: #2b1010;
  --bs-danger-border-subtle: #6e2323;
  --bs-warning: #facc15;
  --bs-warning-rgb: 250, 204, 21;
  --bs-warning-text-emphasis: #fde047;
  --bs-warning-bg-subtle: #2b230a;
  --bs-warning-border-subtle: #6e5714;
  --bs-info: #22d3ee;
  --bs-info-rgb: 34, 211, 238;
  --bs-info-text-emphasis: #67e8f9;
  --bs-info-bg-subtle: #0a2227;
  --bs-info-border-subtle: #145c66;
  --bs-border-color: #262626;
  --bs-border-color-rgb: 38, 38, 38;
  --bs-form-control-bg: #141414;
  --bs-form-control-color: #fafafa;
  --bs-form-control-border-color: #ff8c00;
  /* App-specific vars, consumed by the generic rules in main.css. */
  --bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%);
  --bs-body-tertiary-bg: #000;
}

/* SVG data URIs can't reference CSS custom properties, so this one rule -
   unlike everything else that used to live in this file - can't be
   generalized into main.css; it's genuinely per-theme. */
html[data-bs-theme="dark"] .btn-toggle::before {
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff8c00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}
