/* Theme-agnostic component add-ons.
 *
 * Brand colors live in the compiled per-customer themes
 * (src/main/sass/themes/<name>.scss -> css/themes/<name>.css) — do NOT
 * redefine --bs-* variables or repaint .btn-* / .alert-* / .bg-* here; that
 * was the old override hack and it fights the compiled Bootstrap build
 * (see README "Customer theming (Sass)").
 */

/* Vastuu Group segmented toggles (btn-check): use the customer-themed primary
   colour instead of Bootstrap's literal outline-primary blue. */
.stv-toggle .btn {
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}
.stv-toggle .btn-check:checked + .btn {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff !important;
}
