/* SimplBenefits brand rules.
   Promoted from the live capture (docs/design/brand/simplbenefits/brand.css,
   https://simplbenefits.com/static/brand.css captured 2026-09-23, SB-P01).

   Token values live in /wl-ds/tokens-simplbenefits.css. This file carries only
   the rules the live brand depends on: filled-control contrast, badge colours
   and the focus ring. Loaded for the simplbenefits theme only, after
   /static/brand.css and before primitives/components.

   Contrast rule: filled brand buttons always use white label text.
   Never let nav/link muted colours win on .btn. */

/* Focus defaults for keyboard users */
:focus-visible {
  outline: 3px solid var(--wl-color-focus);
  outline-offset: 2px;
}

/* Nav text links only — never paint filled CTAs as muted */
.nav-links > a:not(.btn),
.nav-links a:not(.btn) {
  color: var(--wl-color-text-muted);
  text-decoration: none;
}
.nav-links > a:not(.btn):hover,
.nav-links a:not(.btn):hover {
  color: var(--wl-color-text);
}

/* Filled green / coral CTAs: white label always */
.btn {
  color: var(--wl-color-primary-text);
}
.btn-coral,
.btn-green,
.btn-primary,
a.btn-coral,
a.btn-green,
a.btn-primary,
button.btn-coral,
button.btn-green,
button.btn-primary {
  background: var(--wl-color-primary) !important;
  color: var(--wl-color-primary-text) !important;
}
.btn-coral:hover,
.btn-green:hover,
.btn-primary:hover,
a.btn-coral:hover,
a.btn-green:hover,
a.btn-primary:hover,
button.btn-coral:hover,
button.btn-green:hover,
button.btn-primary:hover {
  background: var(--wl-color-primary-dark) !important;
  color: var(--wl-color-primary-text) !important;
}

/* Filled navy / teal CTAs: white label always */
.btn-teal,
.btn-navy,
.btn-secondary,
a.btn-teal,
a.btn-navy,
a.btn-secondary,
button.btn-teal,
button.btn-navy,
button.btn-secondary {
  background: var(--wl-accent) !important;
  color: var(--wl-color-primary-text) !important;
}
.btn-teal:hover,
.btn-navy:hover,
.btn-secondary:hover,
a.btn-teal:hover,
a.btn-navy:hover,
a.btn-secondary:hover,
button.btn-teal:hover,
button.btn-navy:hover,
button.btn-secondary:hover {
  background: var(--wl-accent-dark) !important;
  color: var(--wl-color-primary-text) !important;
}

/* Outline buttons keep dark ink on light surfaces */
.btn-outline,
a.btn-outline,
button.btn-outline {
  background: transparent !important;
  color: var(--wl-accent) !important;
  border: 2px solid var(--wl-accent) !important;
}
.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover {
  background: var(--wl-accent-soft) !important;
  color: var(--wl-accent) !important;
}

/* Status chips: dark enough text on soft fills */
.status-badge.green,
.badge.green {
  background: var(--wl-color-primary-soft) !important;
  color: var(--wl-color-primary-dark) !important;
}
.status-badge.yellow,
.badge.yellow {
  background: var(--wl-color-warning-soft) !important;
  color: var(--wl-color-warning) !important;
}
.status-badge.red,
.badge.red {
  background: var(--wl-color-danger-soft) !important;
  color: var(--wl-color-danger) !important;
}

/* Login / bare primary buttons (no .btn class) */
form button[type="submit"],
.card button[type="submit"] {
  color: var(--wl-color-primary-text) !important;
}
