/* Vaccine Campaign Planner — scoped styles.
   Kept in a static file (not inline) and layered on top of the site's existing
   Bootstrap 5 + brand tokens. No second CSS framework is introduced. */

/* Brand tokens (mirror v2/css/haresign.css :root). */
.vcp-scope { --vcp-primary: #0D5BB8; --vcp-navy: #111827; --vcp-coral: #FF5B61; }

.vcp-intro {
  background: linear-gradient(125deg, #111827 0%, #0D5BB8 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.vcp-intro:after {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, .07);
  border-radius: 50%;
}
.vcp-intro h2 { color: #fff; }
.vcp-strapline { font-size: 1.02rem; opacity: .92; }

.vcp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

/* Brand accents — replace the earlier green usage. */
.vcp-accent { color: #0D5BB8 !important; }
.vcp-bar { background-color: #0D5BB8 !important; }

.vcp-btn {
  background: #0D5BB8; color: #fff; border: 1px solid #0D5BB8;
  border-radius: 8px; padding: 8px 18px; font-weight: 700;
}
.vcp-btn:hover { background: #0a498f; border-color: #0a498f; color: #fff; }
.vcp-btn-outline {
  background: transparent; color: #0D5BB8; border: 1px solid #0D5BB8;
  border-radius: 8px; padding: 6px 14px; font-weight: 700;
}
.vcp-btn-outline:hover { background: #0D5BB8; color: #fff; }

.vcp-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 18px rgba(15, 39, 64, .06);
  margin-bottom: 18px;
}

.vcp-kpi { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; background: #f8fafc; height: 100%; }
.vcp-kpi .value { font-size: 1.4rem; font-weight: 800; color: #0f2740; line-height: 1.1; }
.vcp-kpi .label { font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.vcp-kpi .sub { font-size: .78rem; color: #64748b; }

.vcp-tabs { border-bottom: 2px solid #e2e8f0; margin-bottom: 20px; flex-wrap: wrap; }
.vcp-tabs .nav-link { color: #475569; font-weight: 600; border: none; border-bottom: 3px solid transparent; }
.vcp-tabs .nav-link.active { color: #0D5BB8; border-bottom-color: #0D5BB8; background: none; }

.vcp-status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px; font-size: .74rem; font-weight: 700; }
.vcp-status--healthy, .vcp-status--ahead, .vcp-status--on_track, .vcp-status--target_reached { background: #dcfce7; color: #166534; }
.vcp-status--attention, .vcp-status--slightly_behind { background: #fef9c3; color: #854d0e; }
.vcp-status--at_risk, .vcp-status--significantly_behind, .vcp-status--target_unavailable { background: #fee2e2; color: #991b1b; }
.vcp-status--completed { background: #e0e7ff; color: #3730a3; }

.vcp-alert { border-left: 4px solid #94a3b8; border-radius: 8px; padding: 12px 14px; background: #f8fafc; margin-bottom: 10px; }
.vcp-alert--risk { border-left-color: #dc2626; background: #fef2f2; }
.vcp-alert--attention { border-left-color: #d97706; background: #fffbeb; }
.vcp-alert--info { border-left-color: #2563eb; background: #eff6ff; }
.vcp-alert--success { border-left-color: #16a34a; background: #f0fdf4; }
.vcp-alert .title { font-weight: 700; color: #0f2740; }
.vcp-alert .action { font-size: .82rem; color: #475569; }

.vcp-table { font-size: .84rem; }
.vcp-table thead th { font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: #64748b; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.vcp-table td { vertical-align: middle; }
.vcp-num { text-align: right; font-variant-numeric: tabular-nums; }

.vcp-warn { color: #b45309; font-size: .78rem; }
.vcp-privacy { border: 1px dashed #94a3b8; border-radius: 10px; padding: 12px 14px; background: #f8fafc; font-size: .84rem; color: #475569; }

.vcp-wizard-step { border-top: 3px solid #0D5BB8; }
.vcp-wizard-step h3 { font-size: 1.05rem; color: #0D5BB8; }

@media (prefers-reduced-motion: reduce) {
  .vcp-intro:after { transition: none; }
}
