/* ─────────────────────────────────────────────────────────────────────────
   Insurance theme overrides.
   Retheme the inherited GoGreen emerald to a trust-blue palette appropriate
   for an insurance product, while keeping the universal semantic colors
   (green = paid/active, amber = expiring/pending, red = overdue/cancelled).
   Loaded AFTER the design system so these win.
   ───────────────────────────────────────────────────────────────────────── */
:root,
[data-scheme="light"],
[data-scheme="dark"] {
  --brand-accent:       #C8102E;  /* The Agency Paiva red */
  --brand-accent-hover: #A00C24;
  --brand-accent-dim:   rgba(200, 16, 46, 0.12);

  --primary:       #C8102E;
  --primary-hover: #A00C24;
  --primary-dark:  #A00C24;
  --primary-light: rgba(200, 16, 46, 0.12);

  --info:    #2563EB;
  --info-bg: rgba(37, 99, 235, 0.12);
}

/* The base button hardcodes a green gradient — override to the brand red. */
.btn-primary {
  background: linear-gradient(160deg, #C8102E 0%, #A00C24 100%) !important;
  box-shadow:
    0 1px 3px rgba(160, 12, 36, 0.30),
    0 1px 2px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}
.btn-primary:hover {
  background: linear-gradient(160deg, #A00C24 0%, #7E0A1C 100%) !important;
}

/* Status pills for the insurance domain (added to badge() below). */
.badge-ins-good    { background: rgba(22, 163, 74, 0.12);  color: #15803D; }
.badge-ins-info    { background: rgba(37, 99, 235, 0.12);  color: #1D4ED8; }
.badge-ins-warn    { background: rgba(217, 119, 6, 0.14);  color: #B45309; }
.badge-ins-bad     { background: rgba(220, 38, 38, 0.12);  color: #B91C1C; }
.badge-ins-neutral { background: #EEF2F7;                  color: #475569; }
