/* Ballot visa page: readable text on the highlighted status card in both themes.
   The card's gradient used the theme accents, which turn pale in dark mode, so the
   white text and the red "Closed" pill sat on a light purple. */

.status-card-primary { background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%); }
.status-card-primary h2,
.status-card-primary .status-meta strong { color: #ffffff; }
.status-card-primary p,
.status-card-primary .status-meta { color: rgba(255, 255, 255, .92); }
.status-card-primary .status-label { color: rgba(255, 255, 255, .82); }

.status-card.status-card-primary .status-pill { background: #ffffff; border-color: transparent; }
.status-card.status-card-primary .status-pill.closed { color: #be123c; }
.status-card.status-card-primary .status-pill.closed .status-pill-dot { background: #e11d48; }
.status-card.status-card-primary .status-pill.open { color: #047857; }
.status-card.status-card-primary .status-pill.open .status-pill-dot { background: #059669; }
.status-card.status-card-primary .status-pill.upcoming { color: #b45309; }
.status-card.status-card-primary .status-pill.upcoming .status-pill-dot { background: #d97706; }

/* The page's faint grey (labels, table headers, dates, notes) was ~2.5:1; these pass 4.5:1. */
:root { --tx3: #64748b; }
[data-theme="dark"] { --tx3: #94a3b8; }

/* the selected visa tab had the same pale gradient as the card */
.visa-tab.is-active { background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%); }
.visa-tab.is-active .vt-sub { color: rgba(255, 255, 255, .9); }
.visa-tab:not(.is-active) .vt-sub { color: var(--tx2); }

/* status pills in the tables, on white or dark cards */
.status-pill.closed { color: #be123c; }
.status-pill.upcoming { color: #b45309; }
[data-theme="dark"] .status-pill.closed { color: #fb7185; }
[data-theme="dark"] .status-pill.upcoming { color: #fbbf24; }
[data-theme="dark"] .status-pill.open { color: #34d399; }
