/* ==========================================================================
   voteforgeneralchair.com — Unified Design System
   Core Theme: Union Navy (#0f1e36), Prestige Gold (#c9933b), Crisp White Surfaces (#ffffff),
   and Soft Slate Canvas (#f8fafc)
   ========================================================================== */

:root {
  /* Brand Colors */
  --navy: #0f1e36;
  --navy-dark: #091222;
  --navy-light: #1c3258;
  
  --gold: #c9933b;
  --gold-hover: #b5802a;
  --gold-soft: #fbf5ea;
  --gold-border: #ebd5ac;

  /* Surfaces & Canvas */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;

  /* Borders & Dividers */
  --border: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #cbd5e1;

  /* Typography Colors */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  /* Typography Fonts */
  --font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Geometry & Shadows */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 10px 24px -4px rgba(15, 30, 54, 0.12), 0 2px 6px -1px rgba(15, 30, 54, 0.06);

  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Global Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
}

/* --------------------------------------------------------------------------
   Skip Link (keyboard/screen-reader users only — hidden off-screen until
   it receives focus, e.g. by pressing Tab as the first action on the page)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Noscript Fallback Notice
   -------------------------------------------------------------------------- */
.noscript-notice {
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--text-body);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Top Disclaimer Bar
   -------------------------------------------------------------------------- */
.top-disclaimer-bar {
  background: var(--navy-dark);
  color: #7c8aa0;
  font-size: 0.74rem;
  font-weight: 500;
  text-align: center;
  padding: 0.4rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.top-disclaimer-bar .disclaimer-icon {
  color: #7c8aa0;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1.5rem;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.site-title-main {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.site-title-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

nav.site-nav a {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}

nav.site-nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
section.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #ffffff;
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18);
}

.hero-inner {
  max-width: 840px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 2.25rem;
  line-height: 1.5;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

/* Hero Countdown Box */
.hero-countdown {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 0.9rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  gap: 1.5rem;
  text-align: left;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.countdown-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  min-width: 90px;
  flex-shrink: 0;
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.countdown-details-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.countdown-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.countdown-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.countdown-subdate {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   Buttons System (Unified 2-tier design)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1.2;
}

/* Primary Button: Solid Gold with Navy text */
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201, 147, 59, 0.3);
}

/* Secondary Button: Adapts to context (semi-translucent in hero, white in main) */
.btn-secondary {
  background: #ffffff;
  color: var(--navy);
  border-color: var(--border-focus);
}

.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* In Hero: Semi-transparent white */
.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Main Layout & Unified Section Headers
   -------------------------------------------------------------------------- */
main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.content-section {
  margin-bottom: 4.5rem;
}

/* Unified Section Header across all 4 sections */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
}

/* --------------------------------------------------------------------------
   Candidate Roster & Cards
   -------------------------------------------------------------------------- */
.candidate-subsection {
  margin-bottom: 2.75rem;
}

.candidate-subsection:last-child {
  margin-bottom: 0;
}

.subsection-header {
  text-align: center;
  margin: 3rem auto 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  display: inline-block;
  position: relative;
  padding-bottom: 0.5rem;
}

.subsection-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

.candidate-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

/* Top two candidates centered horizontally */
.exec-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.exec-grid .candidate-card {
  width: 100%;
  max-width: 250px;
  flex: 0 1 240px;
}

/* Unified Candidate Card Design */
.candidate-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.15rem 1.25rem;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 220px;
  flex: 0 1 215px;
}

.candidate-card:hover,
.candidate-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
  outline: none;
}

/* All candidates styled equally */

/* Candidate Avatar */
.avatar-wrap {
  position: relative;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  border: 3px solid var(--gold);
}

.bio-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--gold);
  color: var(--navy-dark);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  border: 2px solid #ffffff;
}

.card-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-heading);
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
  min-height: 2.65rem;
}

.card-office {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
  min-height: 2.3rem;
}

.card-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge-local {
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Same visual language as .subsection-title (Vice Presidents, Trustees, etc.)
   — bold heading font with a centered gold underline — just sized to sit
   inside a candidate card instead of spanning a whole section. */
/* Wraps a candidate card that needs its own role label (President,
   Secretary-Treasurer) sitting above it, in the same style as the
   Vice Presidents / Trustees / General Chairpersons section headers —
   rather than inside the card itself. Takes over the card's own
   width/flex sizing so it drops into the grid as a single flex item. */
.candidate-card-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 220px;
  flex: 0 1 215px;
}

.exec-grid .candidate-card-slot {
  width: 100%;
  max-width: 250px;
  flex: 0 1 240px;
}

.candidate-card-slot .candidate-card {
  width: 100%;
  max-width: none;
  flex: none;
}

.card-role-header {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  display: inline-block;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.card-role-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

.card-arrow {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity var(--transition), color var(--transition), background-color var(--transition), transform var(--transition);
}

.card-arrow svg {
  display: block;
}

.candidate-card:hover .card-arrow,
.candidate-card:focus-visible .card-arrow {
  opacity: 1;
  color: #ffffff;
  background: var(--gold);
  transform: translateX(2px);
}

.empty-search-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #ffffff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Election Schedule Timeline (Unified Cards)
   -------------------------------------------------------------------------- */
.timeline-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all var(--transition);
  flex: 1 1 240px;
  max-width: 360px;
  min-width: 240px;
}

.timeline-card:hover {
  border-color: var(--border-focus);
}

.timeline-card.is-next {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-card);
}

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.timeline-date-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--navy);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.timeline-card.is-next .timeline-date-chip {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.timeline-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-indent: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.timeline-status-badge.next {
  background: var(--gold);
  color: var(--navy-dark);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
}

.timeline-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-cal-btn {
  margin-top: auto;
  padding-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.timeline-cal-btn:hover {
  color: var(--gold);
}

.empty-dates-note {
  flex: 1 1 100%;
  text-align: center;
  padding: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Absentee Voting Action Card (Unified Card)
   -------------------------------------------------------------------------- */
.action-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}

.action-card-text {
  max-width: 600px;
}

.action-card-text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.action-card-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.action-button-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Supporter Share Card (Unified Card)
   -------------------------------------------------------------------------- */
.share-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  max-width: 1040px;
  margin: 0 auto;
}

.share-card-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 2.5rem;
}

.share-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.share-card-text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.share-card-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.btn-copy.copied {
  background: #166534;
  border-color: #166534;
  color: #ffffff;
}

/* Grassroots Label */
.grassroots-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}


/* Native Share button: hidden by default, shown by JS only when
   navigator.share is available (mobile browsers, mostly) */
.btn-native-share {
  order: -1;
}

.share-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.35rem 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.share-divider::before,
.share-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-focus);
}

.btn-outline:hover {
  background: var(--bg-muted);
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* Endorsement Badge Preview Card (Descriptive & Distinctly Grassroots) */
.share-badge-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.badge-controls-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 440px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
}

.badge-picker-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.picker-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.badge-style-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge-message-select {
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23334155'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.148l3.71-3.918a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 0.6rem center / 16px;
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  appearance: none;
  max-width: 240px;
}

.badge-message-select:hover {
  border-color: var(--navy);
}

.badge-identity-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.85rem;
  width: 100%;
}

.badge-customize {
  width: 100%;
}

.badge-customize summary {
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  list-style: none;
}

.badge-customize summary::-webkit-details-marker {
  display: none;
}

.badge-customize summary::before {
  content: "+ ";
}

.badge-customize[open] summary::before {
  content: "\2212 ";
}

.badge-customize[open] summary {
  margin-bottom: 0.75rem;
}

.badge-customize .badge-picker-group {
  margin-bottom: 0.75rem;
}

.badge-picker-subgroup {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.badge-picker-subgroup .badge-message-select {
  max-width: 100%;
  width: 100%;
}



/* 3-Letter Station Input Boxes */
.station-boxes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.station-box {
  width: 44px;
  height: 44px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-heading), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-transform: uppercase;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  transition: all var(--transition);
  padding: 0;
  line-height: 44px;
}

.station-box:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 30, 54, 0.12);
  background: #ffffff;
}

.station-box::placeholder {
  color: #cbd5e1;
  font-weight: 600;
}

.badge-field-full {
  width: 100%;
  max-width: 100%;
}

.badge-picker-station {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.badge-station-hint {
  font-size: 0.72rem;
  color: #dc2626;
  font-weight: 600;
  line-height: 1.3;
}

.badge-picker-local {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.badge-local-input {
  width: 100%;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-family: inherit;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
}

.badge-local-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(15, 30, 54, 0.1);
}

.style-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0;
  background: linear-gradient(135deg, var(--swatch-a) 50%, var(--swatch-b) 50%);
  transition: var(--transition);
}

.style-swatch[data-theme="navy"] {
  --swatch-a: #0f1e36;
  --swatch-b: #c9933b;
}

.style-swatch[data-theme="patriot"] {
  --swatch-a: #b91c1c;
  --swatch-b: #ffffff;
}

.style-swatch[data-theme="royal"] {
  --swatch-a: #1e3a8a;
  --swatch-b: #38bdf8;
}

.style-swatch[data-theme="forest"] {
  --swatch-a: #064e3b;
  --swatch-b: #d4af37;
}

.style-swatch[data-theme="bronze"] {
  --swatch-a: #451a03;
  --swatch-b: #f59e0b;
}

.style-swatch[data-theme="mono"] {
  --swatch-a: #111111;
  --swatch-b: #ffffff;
}

.style-swatch:hover {
  transform: scale(1.1);
}

.style-swatch.active {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--bg-page), 0 0 0 4px var(--navy);
}

/* Badge Preview Card */
.badge-card {
  --badge-bg: radial-gradient(circle at center, #162a4d 0%, #081120 100%);
  --badge-border: var(--gold);
  --badge-text: #ffffff;
  --badge-sub: #cbd5e1;
  --badge-tag-bg: rgba(201, 147, 59, 0.15);
  --badge-tag-border: var(--gold);
  --badge-tag-text: var(--gold);
  --badge-url-bg: var(--gold);
  --badge-url-text: var(--navy-dark);
  --badge-disclaimer: #94a3b8;
  --badge-ribbon-bg: rgba(201, 147, 59, 0.12);
  --badge-ribbon-border: var(--gold);
  --badge-ribbon-text: #e8c477;

  position: relative;
  width: 100%;
  background: var(--badge-bg);
  border: 2px solid var(--badge-border);
  border-radius: var(--radius);
  padding: 2.25rem 1.5rem 1.75rem;
  text-align: center;
  color: var(--badge-text);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.badge-card.format-square {
  max-width: 360px;
  aspect-ratio: 1 / 1;
}

.badge-card.format-story {
  max-width: 300px;
  aspect-ratio: 9 / 16;
  padding: 3rem 1.5rem 2.25rem;
  justify-content: space-between;
}

.badge-card.theme-patriot {
  --badge-bg: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  --badge-border: #b91c1c;
  --badge-text: var(--navy);
  --badge-sub: #475569;
  --badge-tag-bg: rgba(185, 28, 28, 0.08);
  --badge-tag-border: #b91c1c;
  --badge-tag-text: #b91c1c;
  --badge-url-bg: #b91c1c;
  --badge-url-text: #ffffff;
  --badge-disclaimer: #64748b;
  --badge-ribbon-bg: rgba(185, 28, 28, 0.08);
  --badge-ribbon-border: #b91c1c;
  --badge-ribbon-text: #b91c1c;
}

.badge-card.theme-royal {
  --badge-bg: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 100%);
  --badge-border: #38bdf8;
  --badge-text: #ffffff;
  --badge-sub: #93c5fd;
  --badge-tag-bg: rgba(56, 189, 248, 0.18);
  --badge-tag-border: #38bdf8;
  --badge-tag-text: #7dd3fc;
  --badge-url-bg: #38bdf8;
  --badge-url-text: #0b1329;
  --badge-disclaimer: #94a3b8;
  --badge-ribbon-bg: #0f172a;
  --badge-ribbon-border: #38bdf8;
  --badge-ribbon-text: #7dd3fc;
}

.badge-card.theme-forest {
  --badge-bg: radial-gradient(circle at center, #064e3b 0%, #022c22 100%);
  --badge-border: #d4af37;
  --badge-text: #ffffff;
  --badge-sub: #a7f3d0;
  --badge-tag-bg: rgba(212, 175, 55, 0.18);
  --badge-tag-border: #d4af37;
  --badge-tag-text: #fde68a;
  --badge-url-bg: #d4af37;
  --badge-url-text: #022c22;
  --badge-disclaimer: #6ee7b7;
  --badge-ribbon-bg: #022c22;
  --badge-ribbon-border: #d4af37;
  --badge-ribbon-text: #fde68a;
}

.badge-card.theme-bronze {
  --badge-bg: radial-gradient(circle at center, #451a03 0%, #1c0a00 100%);
  --badge-border: #f59e0b;
  --badge-text: #ffffff;
  --badge-sub: #fed7aa;
  --badge-tag-bg: rgba(245, 158, 11, 0.18);
  --badge-tag-border: #f59e0b;
  --badge-tag-text: #fcd34d;
  --badge-url-bg: #f59e0b;
  --badge-url-text: #1c0a00;
  --badge-disclaimer: #d97706;
  --badge-ribbon-bg: #1c0a00;
  --badge-ribbon-border: #f59e0b;
  --badge-ribbon-text: #fcd34d;
}

.badge-card.theme-mono {
  --badge-bg: radial-gradient(circle at center, #1c1c1c 0%, #0a0a0a 100%);
  --badge-border: #ffffff;
  --badge-text: #ffffff;
  --badge-sub: #cccccc;
  --badge-tag-bg: rgba(255, 255, 255, 0.1);
  --badge-tag-border: #ffffff;
  --badge-tag-text: #ffffff;
  --badge-url-bg: #ffffff;
  --badge-url-text: #111111;
  --badge-disclaimer: #999999;
  --badge-ribbon-bg: rgba(255, 255, 255, 0.1);
  --badge-ribbon-border: #ffffff;
  --badge-ribbon-text: #ffffff;
}

.badge-decided {
  position: relative;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--badge-border);
  letter-spacing: 0.01em;
  padding-bottom: 0.45rem;
}

.badge-decided::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 2px;
  background: var(--badge-border);
  border-radius: var(--radius-full);
  opacity: 0.7;
}

.badge-headline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--badge-text);
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: pre-line;
}

.badge-team-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--badge-ribbon-bg);
  border: 1px solid var(--badge-ribbon-border);
  color: var(--badge-ribbon-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.badge-station-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--badge-tag-bg);
  border: 1px dashed var(--badge-border);
  color: var(--badge-tag-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--badge-sub);
}

.badge-dates {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--badge-sub);
}

.badge-dates:empty {
  display: none;
}

.badge-url {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--badge-url-text);
  background: var(--badge-url-bg);
  padding: 0.28rem 0.9rem;
  border-radius: var(--radius-full);
}

.badge-disclaimer {
  font-size: 0.6rem;
  color: var(--badge-disclaimer);
  line-height: 1.35;
  max-width: 320px;
}

.btn-copy-image.copied {
  background: #166534;
  border-color: #166534;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Candidate Modal Dialog
   -------------------------------------------------------------------------- */
dialog#candidate-modal {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  max-width: 500px;
  width: calc(100vw - 2rem);
  max-height: calc(100vh - 2.5rem);
  margin: auto;
  box-shadow: 0 20px 50px rgba(15, 30, 54, 0.35);
  background: #ffffff;
  overflow: hidden;
}

dialog#candidate-modal::backdrop {
  background: rgba(15, 30, 54, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2.5rem);
}

.modal-banner {
  height: 76px;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
}

.modal-header-content {
  text-align: center;
  padding: 0 1.75rem;
  margin-top: -42px;
  flex-shrink: 0;
}

.avatar-large {
  width: 96px;
  height: 96px;
  font-size: 2rem;
  margin: 0 auto 0.75rem;
  border-width: 3.5px;
}

.avatar-large.avatar-clickable {
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}

.avatar-large.avatar-clickable:hover,
.avatar-large.avatar-clickable:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

/* --------------------------------------------------------------------------
   Enlarged Photo Viewer
   -------------------------------------------------------------------------- */
dialog#photo-viewer {
  position: relative;
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem;
  max-width: 420px;
  width: calc(100vw - 3rem);
  margin: auto;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 30, 54, 0.35);
}

dialog#photo-viewer::backdrop {
  background: rgba(15, 30, 54, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#photo-viewer-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
}

#photo-viewer-close {
  top: 0.6rem;
  right: 0.6rem;
}

.modal-header-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.modal-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.modal-office {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.15rem;
}

.modal-body {
  padding: 0 1.75rem 1.5rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.modal-bio-heading {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
}

.modal-bio {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre-line;
}

.modal-bio.empty {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 1rem 0;
}

.modal-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.btn-modal-nav {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-modal-nav:hover {
  background: #e2e8f0;
}

.modal-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 2.75rem 1.5rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.15);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.legal-notice {
  color: #cbd5e1;
  font-size: 0.88rem;
  max-width: 780px;
}

.back-to-top-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
}

.back-to-top-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Reach Out / Contact Section
   -------------------------------------------------------------------------- */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2.25rem;
  box-shadow: var(--shadow-card);
  max-width: 680px;
  margin: 0 auto;
}

/* Contact Form Elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
}

.required-star {
  color: #dc2626;
}

.optional-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem; /* 16px prevents iOS Safari auto-zoom */
  color: var(--text-heading);
  transition: all var(--transition);
}

.form-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 30, 54, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.btn-submit-contact {
  width: 100%;
  margin-top: 0.25rem;
}

.contact-sub-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -0.45rem;
  margin-bottom: 0.15rem;
  line-height: 1.4;
  font-style: italic;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-feedback {
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--text-heading);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-top: 0.5rem;
}

.contact-feedback-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints: Tablet (860px)
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  nav.site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(15, 30, 54, 0.4);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0.25rem;
    text-align: center;
  }

  nav.site-nav.is-open {
    display: flex;
  }

  nav.site-nav a {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    width: 100%;
    display: block;
  }

  nav.site-nav a:hover,
  nav.site-nav a:active {
    background: rgba(255, 255, 255, 0.08);
  }

  .share-card-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .share-card-text {
    align-items: center;
    text-align: center;
  }

  .badge-controls-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-countdown {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .countdown-details-box {
    align-items: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints: Mobile (768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .action-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .action-card-text {
    text-align: center;
  }

  .action-button-group {
    justify-content: center;
    width: 100%;
  }

  .action-button-group .btn {
    width: 100%;
    max-width: 340px;
  }

  .share-card-text {
    text-align: center;
    align-items: center;
  }

  .badge-controls-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .grassroots-label {
    margin: 0 auto 0.6rem;
  }

  .share-buttons {
    justify-content: center;
  }

  .btn-download-png {
    width: 100%;
    max-width: 340px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 1.25rem;
  }

  .footer-disclaimer {
    text-align: center;
  }

  .footer-back-to-top {
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints: Small Mobile (540px)
   -------------------------------------------------------------------------- */
@media (max-width: 540px) {
  .top-disclaimer-bar {
    font-size: 0.74rem;
    padding: 0.5rem 0.85rem;
    line-height: 1.35;
  }

  section.hero {
    padding: 2.75rem 1.15rem 2.25rem;
  }

  main {
    padding: 2.5rem 1rem 3.75rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .candidate-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .candidate-card {
    padding: 1.15rem 0.75rem 1rem;
    gap: 0.45rem;
    max-width: 165px;
    flex: 1 1 140px;
  }

  .avatar {
    width: 70px;
    height: 70px;
    font-size: 1.25rem;
  }

  .card-name {
    font-size: 0.95rem;
    min-height: 2.4rem;
  }

  .card-office {
    font-size: 0.8rem;
    min-height: 2.2rem;
  }

  .exec-grid .candidate-card,
  .exec-grid .candidate-card-slot {
    max-width: 165px;
    flex: 1 1 140px;
  }

  .card-role-header {
    font-size: 1rem;
  }

  .action-card,
  .share-card {
    padding: 1.6rem 1.15rem;
  }

  .contact-card {
    padding: 1.6rem 1.15rem;
  }

  .timeline-card {
    padding: 1.25rem 1.15rem;
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .badge-card {
    padding: 1.75rem 1.25rem;
  }

  .badge-headline {
    font-size: 1.05rem;
  }

  .modal-header-content {
    padding: 0 1.15rem;
  }

  .modal-body {
    padding: 0 1.15rem 1.25rem;
  }

  .modal-nav-footer {
    padding: 0.75rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints: Extra Small Mobile (480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .badge-picker-group {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .badge-message-select {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .station-boxes {
    justify-content: center;
  }
}

