/* ============================================================
   STEELBYTE'26 — Neo-Brutalist stylesheet (plain CSS, mobile-first)
   ============================================================ */

:root {
  --ink: #05060A;
  --navy: #0A1650;
  --blue: #1E3FD8;
  --cyan: #3FE0E8;
  --violet: #6B2FE0;
  --bone: #F4F5F2;
  --steelgray: #B9C0C6;
  --white: #FFFFFF;
  --red: #DC2626;
  --amber: #FBBF24;
  --green: #22C55E;

  --border-w: 3px;
  --shadow: 6px 6px 0 0 var(--ink);
  --shadow-sm: 4px 4px 0 0 var(--ink);
  --shadow-lg: 10px 10px 0 0 var(--ink);
  --radius: 0px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4, .display {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--blue); color: white; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

.section { padding: 56px 0; }
@media (min-width: 640px) { .section { padding: 80px 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: var(--border-w) solid var(--ink);
  background: rgba(244,245,242,0.95);
  backdrop-filter: blur(4px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo-box {
  border: var(--border-w) solid var(--ink);
  background: var(--navy);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.brand-logo-box img { width: 34px; height: 34px; display: block; }
.brand-name { font-size: 1.1rem; font-weight: 700; display: none; }
.brand-name .accent { color: var(--blue); }
@media (min-width: 640px) { .brand-name { display: inline; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: var(--border-w) solid var(--ink);
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .site-footer .container { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo-box { border: 2px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); padding: 3px; }
.footer-logo-box img { width: 26px; height: 26px; }
.footer-brand span { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.9rem; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  border: var(--border-w) solid var(--ink);
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.1s ease-out;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: var(--shadow-sm); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: var(--shadow); }
.btn-primary { background: var(--blue); color: white; }
.btn-danger { background: var(--red); color: white; }
.btn-dark { background: var(--ink); color: white; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: white;
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow);
}
.card-sm-shadow { box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.hero {
  border-bottom: var(--border-w) solid var(--ink);
  background: var(--navy);
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  color: white;
}
.hero .container { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .hero .container { padding-top: 96px; padding-bottom: 96px; } }
.hero-logo-box {
  border: var(--border-w) solid rgba(255,255,255,0.7);
  box-shadow: 6px 6px 0 0 var(--cyan);
  background: rgba(0,0,0,0.2);
  padding: 6px;
  width: fit-content;
  margin-bottom: 20px;
}
.hero-logo-box img { width: 80px; height: 80px; }
.eyebrow {
  display: inline-block;
  border: var(--border-w) solid rgba(255,255,255,0.4);
  padding: 4px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 0.95;
  margin-bottom: 16px;
}
@media (min-width: 640px) { .hero h1 { font-size: 4.5rem; } }
.hero .tagline {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 16px;
}
@media (min-width: 640px) { .hero .tagline { font-size: 1.8rem; } }
.hero .sub { max-width: 560px; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

.why-item {
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* ---------- Department cards ---------- */
.dept-card { display: flex; flex-direction: column; overflow: hidden; }
.dept-card-head { padding: 20px; border-bottom: var(--border-w) solid var(--ink); color: white; }
.dept-num { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.dept-card-head h3 { font-size: 1.5rem; color: white; }
.dept-card-head p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-top: 4px; }
.dept-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.dept-body p.desc { font-size: 0.9rem; color: rgba(5,6,10,0.8); margin: 0; }
.tag-label { font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(5,6,10,0.5); margin-bottom: 6px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tag-list li { border: 2px solid var(--ink); background: var(--bone); padding: 2px 8px; font-size: 0.75rem; }
.tag-list.skills li { background: rgba(63,224,232,0.2); }
.dept-apply-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: var(--border-w) solid var(--ink);
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.1s ease-out;
}
.dept-apply-btn:hover { transform: translate(2px,2px); box-shadow: none; }

.dept-tech { background: var(--blue); }
.dept-design { background: var(--violet); }
.dept-marketing { background: var(--cyan); color: var(--ink) !important; }
.dept-marketing p { color: rgba(5,6,10,0.8) !important; }
.dept-sponsorship { background: var(--navy); }
.dept-operations { background: var(--ink); }

/* ---------- FAQ ---------- */
.faq-item {
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-plus { color: var(--blue); font-weight: 700; margin-left: 12px; transition: transform 0.15s; }
details[open] .faq-plus { transform: rotate(45deg); }
.faq-a { margin-top: 10px; color: rgba(5,6,10,0.75); }

/* ---------- Forms ---------- */
.form-section {
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
@media (min-width: 640px) { .form-section { padding: 32px; } }
.form-section h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-section .subtitle { font-size: 0.9rem; color: rgba(5,6,10,0.6); margin-bottom: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem; }
.field .req { color: var(--blue); }
.field .helper { font-size: 0.85rem; color: rgba(5,6,10,0.6); }
.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field input[type="password"],
.field select,
.field textarea {
  width: 100%;
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 6px 6px 0 0 var(--blue);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:disabled { background: var(--bone); }
.field .error-msg { color: var(--red); font-weight: 600; font-size: 0.85rem; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }

.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox-row input { width: 20px; height: 20px; border: var(--border-w) solid var(--ink); accent-color: var(--blue); margin-top: 2px; }
.checkbox-row span { font-size: 0.9rem; }

/* multiselect chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip {
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.chip.active { background: var(--blue); color: white; box-shadow: var(--shadow-sm); }
.chip.custom { background: rgba(63,224,232,0.25); }
.chip-other-row { display: flex; gap: 8px; }
.chip-other-row input { flex: 1; border: var(--border-w) solid var(--ink); padding: 8px 12px; font-size: 0.85rem; }
.chip-other-row button { border: var(--border-w) solid var(--ink); background: white; padding: 8px 12px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }

.alert {
  border: var(--border-w) solid var(--red);
  background: #FEF2F2;
  color: var(--red);
  padding: 14px 16px;
  font-weight: 600;
  margin-top: 16px;
}
.alert-success {
  border-color: var(--green);
  background: #F0FDF4;
  color: #15803D;
}

/* ---------- Status badges ---------- */
.badge {
  display: inline-block;
  border: var(--border-w) solid var(--ink);
  padding: 4px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.badge-new { background: var(--steelgray); }
.badge-under_review { background: var(--cyan); }
.badge-shortlisted { background: var(--blue); color: white; }
.badge-interview { background: var(--violet); color: white; }
.badge-selected { background: var(--green); color: white; }
.badge-waitlisted { background: var(--amber); }
.badge-rejected { background: var(--ink); color: white; }

/* ---------- Admin ---------- */
.admin-shell { display: flex; flex-direction: column; min-height: 100vh; background: var(--bone); }
@media (min-width: 1024px) { .admin-shell { flex-direction: row; } }
.admin-sidebar {
  border-bottom: var(--border-w) solid var(--ink);
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}
@media (min-width: 1024px) {
  .admin-sidebar {
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    width: 250px;
    border-bottom: none;
    border-right: var(--border-w) solid var(--ink);
    padding: 24px 20px;
  }
}
.admin-brand { display: flex; align-items: center; gap: 10px; }
.admin-brand-logo { border: 2px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); padding: 3px; }
.admin-brand-logo img { width: 26px; height: 26px; }
.admin-brand h1 { font-size: 1.15rem; }
.admin-nav { display: none; flex-direction: column; gap: 4px; margin-top: 32px; }
@media (min-width: 1024px) { .admin-nav { display: flex; } }
.admin-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 10px 12px;
  text-decoration: none;
  border: var(--border-w) solid transparent;
}
.admin-nav a:hover, .admin-nav a.active { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.admin-user { display: none; }
@media (min-width: 1024px) { .admin-user { display: block; margin-top: auto; padding-top: 24px; } }
.admin-user p { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 10px; word-break: break-all; }
.admin-main { flex: 1; min-width: 0; padding: 24px 20px; }
@media (min-width: 640px) { .admin-main { padding: 40px; } }

.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4,1fr); } }
.stat-card { padding: 18px; border: var(--border-w) solid var(--ink); background: white; box-shadow: var(--shadow-sm); }
.stat-card.highlight { background: var(--blue); color: white; }
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; }
.stat-label { font-size: 0.85rem; color: rgba(5,6,10,0.6); margin-top: 2px; }
.stat-card.highlight .stat-label { color: rgba(255,255,255,0.8); }

.dept-cap-card { padding: 18px; border: var(--border-w) solid var(--ink); background: white; box-shadow: var(--shadow-sm); }
.dept-cap-card .cap-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cap-reached {
  border: 2px solid var(--ink);
  background: var(--amber);
  padding: 2px 8px;
  font-size: 0.7rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.filter-bar input, .filter-bar select {
  border: var(--border-w) solid var(--ink);
  padding: 8px 10px;
  font-size: 0.85rem;
}
.filter-bar input[type="text"] { flex: 1; min-width: 180px; }

.table-wrap { overflow-x: auto; border: var(--border-w) solid var(--ink); box-shadow: var(--shadow-sm); }
table.apps-table { width: 100%; min-width: 900px; border-collapse: collapse; background: white; font-size: 0.85rem; }
table.apps-table thead tr { background: var(--ink); color: white; }
table.apps-table th {
  text-align: left;
  padding: 12px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  white-space: nowrap;
}
table.apps-table td { padding: 12px 14px; border-bottom: 1px solid rgba(5,6,10,0.12); vertical-align: top; }
table.apps-table tbody tr:hover { background: var(--bone); }
.view-link {
  display: inline-block;
  border: 2px solid var(--ink);
  background: var(--blue);
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.detail-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 2fr 1fr; } }
.detail-section { border: var(--border-w) solid var(--ink); background: white; padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.detail-section h2 { font-size: 1.3rem; margin-bottom: 14px; }
.detail-row { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; font-size: 0.9rem; padding: 6px 0; border-bottom: 1px solid rgba(5,6,10,0.08); }
.detail-row .label { color: rgba(5,6,10,0.5); font-weight: 600; }
.detail-block { margin-bottom: 14px; }
.detail-block .q-label { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.detail-block .q-answer { font-size: 0.9rem; color: rgba(5,6,10,0.8); white-space: pre-wrap; }
.link-chip { display: inline-block; border: 2px solid var(--ink); background: var(--bone); padding: 4px 10px; font-size: 0.75rem; font-weight: 600; text-decoration: none; margin: 3px 6px 3px 0; }

.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.score-grid label { font-size: 0.8rem; font-weight: 600; display: block; margin-bottom: 4px; }
.score-grid input { width: 100%; border: var(--border-w) solid var(--ink); padding: 8px 10px; font-size: 0.85rem; }

.status-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.confirm-box { border: var(--border-w) solid var(--red); background: #FEF2F2; padding: 12px; margin-top: 12px; }
.confirm-box p { color: var(--red); font-weight: 600; margin-bottom: 10px; font-size: 0.9rem; }

/* ---------- Utility ---------- */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.text-muted { color: rgba(5,6,10,0.6); }
.text-sm { font-size: 0.85rem; }
.hidden { display: none !important; }
.center { text-align: center; }
.eyebrow-blue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
}

/* ============================================================
   ID Card feature (admin/selected.html, admin/id-card.html)
   ============================================================ */
.selected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.volunteer-tile {
  display: block;
  border: var(--border-w) solid var(--ink);
  background: white;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}
.volunteer-tile-photo {
  height: 140px;
  background-color: var(--steelgray);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(5, 6, 10, 0.5);
}
.volunteer-tile-info { padding: 10px 12px; }
.volunteer-tile-name { font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin: 0 0 2px; }
.volunteer-tile-dept { font-size: 0.8rem; color: rgba(5, 6, 10, 0.6); margin: 0; }

.id-card-layout {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.id-card-canvas-wrap {
  border: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 12px;
  background: white;
}
.id-card-canvas-wrap canvas {
  width: 396px;
  height: 246px;
  display: block;
}
.id-card-controls { flex: 1; min-width: 260px; padding: 20px; }

/* Visible outline button for light/white backgrounds (btn-ghost is
   white-on-transparent, meant for dark surfaces like the sidebar —
   it disappears on white cards). */
.btn-outline {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--bone); }

/* ============================================================
   PARTICIPANT PLATFORM — additive styles (does not change any
   rule above; only new classes used by the participant pages).
   ============================================================ */

/* ---------- Event details / highlights (public site) ---------- */
.event-detail-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .event-detail-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .event-detail-grid { grid-template-columns: repeat(4,1fr); } }
.event-detail-item {
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.event-detail-item .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(5,6,10,0.5);
  margin-bottom: 6px;
}
.event-detail-item .value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; }
.event-detail-item .value.tbc { color: var(--red); }

.highlight-tile {
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}
.highlight-tile .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--ink); color: white;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  margin-bottom: 12px;
}
.highlight-tile h3 { font-size: 1.1rem; margin-bottom: 6px; }
.highlight-tile p { font-size: 0.9rem; color: rgba(5,6,10,0.7); margin: 0; }

/* ---------- Toggle group (SOLO / WITH A TEAM) ---------- */
.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.toggle-option {
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 16px;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.1s ease-out;
}
.toggle-option:hover { box-shadow: var(--shadow-sm); }
.toggle-option.active { background: var(--blue); color: white; box-shadow: var(--shadow-sm); }
.toggle-note {
  border: 2px dashed rgba(5,6,10,0.3);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: rgba(5,6,10,0.7);
  margin-bottom: 18px;
}

/* ---------- Photo upload field ---------- */
.photo-upload {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: var(--border-w) solid var(--ink);
  padding: 14px;
  background: var(--bone);
}
.photo-upload-preview {
  width: 84px; height: 84px;
  border: 2px solid var(--ink);
  background: white;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-size: 0.7rem;
  color: rgba(5,6,10,0.4);
  text-align: center;
  flex-shrink: 0;
}
.photo-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-upload-meta { font-size: 0.8rem; color: rgba(5,6,10,0.6); }

/* ---------- Success page ---------- */
.id-badge-box {
  border: var(--border-w) solid var(--ink);
  background: var(--ink);
  color: white;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin: 20px 0;
}
.id-badge-box .id-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }
.id-badge-box .id-value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.8rem; color: var(--cyan); }

/* ---------- Extra badges (participants/groups/payments) ---------- */
.badge-unassigned { background: var(--steelgray); }
.badge-assigned { background: var(--green); color: white; }
.badge-forming { background: var(--amber); }
.badge-complete { background: var(--green); color: white; }
.badge-unpaid { background: var(--red); color: white; }
.badge-paid { background: var(--green); color: white; }
.badge-solo { background: var(--steelgray); }
.badge-team { background: var(--blue); color: white; }

/* ---------- Simple modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(5,6,10,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 100;
}
.modal-box {
  background: white; border: var(--border-w) solid var(--ink); box-shadow: var(--shadow-lg);
  max-width: 480px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 24px;
}
.modal-box h3 { font-size: 1.3rem; margin-bottom: 16px; }

/* ---------- Group member row ---------- */
.member-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 2px solid var(--ink); background: white; padding: 10px 14px; margin-bottom: 8px;
}
.member-row .m-name { font-weight: 600; font-size: 0.9rem; }
.member-row .m-id { font-size: 0.75rem; color: rgba(5,6,10,0.5); }

/* ---------- Footer contact row (additive) ---------- */
.footer-grid { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
@media (min-width: 640px) { .footer-grid { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; }
.footer-contact a { color: rgba(255,255,255,0.7); font-size: 0.8rem; text-decoration: none; }
.footer-contact a:hover { color: var(--cyan); }

/* ---------- Contact page cards ---------- */
.contact-card-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 560px) { .contact-card-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  border: var(--border-w) solid var(--ink);
  background: white;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: box-shadow 0.1s ease-out;
}
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card .c-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(5,6,10,0.5); margin-bottom: 6px; }
.contact-card .c-value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; }
