@keyframes spin { to { transform: rotate(360deg); } }

/* ── Demo Mode Banner ── */
.demo-banner {
  background: #FF9933;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
}
.demo-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 12px 16px;
  color: #856404;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Brand primary — Royal Blue */
  --color-primary:        #1A5EA8;
  --color-primary-dark:   #154D8A;
  --color-primary-darker: #103B6A;
  --color-primary-light:  #C3D9F2;
  --color-primary-tint:   #EAF1FA;

  /* Brand secondary — Saffron */
  --saffron: #F7941D;
  --saffron-light: #FAC47A;
  --saffron-pale: #FEF5E8;
  --color-accent:         #F7941D;
  --color-accent-dark:    #D97A10;
  --color-accent-light:   #FCE4BA;
  --color-accent-tint:    #FEF5E8;

  /* Neutrals */
  --cream: #FDFBF7;
  --brown: #342C22;
  --text: #342C22;
  --text-muted: #6B5C44;
  --white: #FFFFFF;
  --border: #E8DFD0;
  --color-border-subtle:  #F2EDE6;

  /* Status */
  --green: #1A6B3A;
  --green-light: #EDF7F1;
  --red: #922B21;
  --red-light: #FDEDEC;

  /* Shadows (blue-tinted) */
  --shadow:    0 2px 8px rgba(10,39,74,.08), 0 1px 3px rgba(10,39,74,.06);
  --shadow-md: 0 4px 20px rgba(10,39,74,.10), 0 2px 8px rgba(10,39,74,.06);
  --shadow-lg: 0 8px 40px rgba(10,39,74,.14), 0 4px 16px rgba(10,39,74,.08);
  --shadow-blue:    0 4px 20px rgba(26,94,168,.25);
  --shadow-saffron: 0 4px 20px rgba(247,148,29,.30);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 150ms;
  --dur-med:  220ms;

  /* Nav uses Royal Blue */
  --nav-orange: #1A5EA8;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--cream); color: var(--text); font-size: 16px; line-height: 1.7; }
a { color: var(--saffron); text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, textarea, button { font-family: inherit; }

/* ── Navbar ───────────────────────────────────── */
#navbar {
  background: var(--nav-orange);
  border-bottom: none;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex; align-items: center; gap: 20px;
  cursor: default; user-select: none;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 16px; border-radius: 20px; font-size: 15px; font-weight: 400;
  font-family: 'Cinzel', Georgia, serif;
  color: rgba(255,255,255,0.80); cursor: pointer; transition: all var(--dur-med) var(--ease);
  border: none; background: none;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.10); }
.nav-link.active { color: #FAC47A; background: transparent; font-weight: 500; }
.admin-link { color: rgba(255,255,255,0.9) !important; font-weight: 500 !important; }
.admin-link:hover { background: rgba(255,255,255,0.10) !important; color: var(--white) !important; }
.hamburger { display: none; background: none; border: none; font-size: 22px; color: var(--white); cursor: pointer; padding: 6px; }

/* ── Nav: Activities dropdown ──────── */
.nav-dropdown-wrap { position: relative; display: flex; align-items: center; height: 80px; }
.nav-dd-arrow { font-size: 10px; margin-left: 2px; transition: transform 0.2s ease; display: inline-block; }
.nav-dropdown-wrap:hover .nav-dd-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 16px;
  background: var(--color-primary);
  min-width: 220px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 400;
  padding: 12px 0;
  border-radius: 0;
  border-top: 3px solid #FAC47A;
}
.nav-dropdown-wrap:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu .nav-dropdown-item {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-dropdown-menu .nav-dropdown-item:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

/* ── Nav: volunteer sign-in / user chip ──────── */
.nav-signin-btn {
  border: 1px solid rgba(255,255,255,0.55) !important;
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 6px 14px !important;
}
.nav-signin-btn:hover { background: rgba(255,255,255,0.18) !important; }

.nav-user-chip {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.15); border-radius: 10px;
  padding: 4px 10px 4px 5px; max-width: 220px;
}
.nav-user-photo {
  width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.nav-user-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 13px; font-weight: 500; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90px;
}
.nav-signout-btn {
  background: rgba(255,255,255,0.2); border: none; color: var(--white);
  font-size: 11px; padding: 3px 8px; border-radius: 10px; cursor: pointer;
  white-space: nowrap; transition: background .2s;
}
.nav-signout-btn:hover { background: rgba(255,255,255,0.35); }

/* ── Google Sign-In button ───────────────────── */
.btn-google-signin {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: #3c4043;
  border: 1px solid #dadce0; border-radius: 28px;
  padding: 10px 22px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: box-shadow .2s, background .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}
.btn-google-signin:hover { background: #f8f9fa; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.btn-google-signin--centered { display: flex; width: 100%; justify-content: center; }
.google-logo { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Dashboard "or" divider ──────────────────── */
.dash-or-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0 10px; color: var(--text-muted); font-size: 13px;
}
.dash-or-divider::before, .dash-or-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── Page / Section System ───────────────────── */
.page { display: none; min-height: calc(100vh - 80px); }
.page.active { display: block; }

/* ── Buttons ─────────────────────────────────── */
.btn-primary {
  background: var(--color-primary); color: var(--white);
  padding: 11px 26px; border-radius: 8px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: none;
  letter-spacing: 0.02em;
  transition: all var(--dur-med) var(--ease); display: inline-block;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-blue); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  background: transparent; color: var(--color-primary);
  padding: 10px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 400; cursor: pointer;
  border: 1.5px solid var(--color-primary); transition: all var(--dur-med) var(--ease);
}
.btn-secondary:hover { background: var(--color-primary-tint); }
.btn-cancel {
  padding: 10px 20px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--white);
  color: var(--text-muted); font-size: 14px; cursor: pointer;
}

/* ══════════════════════════════════════════════
   HERO — clean, minimal, divine
   No box. Full photo. Floating elements only.
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  /* Height scales with viewport — comfortable on desktop and mobile */
  height: 70vh;      /* tall enough to show face on desktop */
  max-height: 70vh;
  min-height: 300px;
  overflow: hidden;
  /* Background matches the warm tones of the Swami image — no visible gaps */
  background: #3a1a08;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

/* Dark overlay — darkens hero image so white text pops */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* ── Saffron Beam — tapered, pulsing, metallic shimmer ── */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  /* Deep Saffron → Bright Gold → near-white peak → Bright Gold → Deep Saffron */
  background: linear-gradient(
    90deg,
    #b45309 0%,
    #FF9933 18%,
    #FFBF00 34%,
    #FFD700 44%,
    rgba(255, 252, 210, 0.98) 50%,
    #FFD700 56%,
    #FFBF00 66%,
    #FF9933 82%,
    #b45309 100%
  );
  background-size: 280% 100%;
  /* Shimmer slides slowly; pulse breathes opacity — feels alive */
  animation: shimmer-slide 5s ease-in-out infinite, saffron-pulse 3s ease-in-out infinite;
  /* Dramatic taper — beam of light from center, transparent at edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
  /* Bloom — glow bleeds into hero and background */
  box-shadow: 0 0 10px 4px rgba(255, 185, 0, 0.6), 0 0 24px 8px rgba(255, 140, 0, 0.2);
  z-index: 4;
  pointer-events: none;
}
@keyframes shimmer-slide {
  0%   { background-position: 100% 0; }
  50%  { background-position: 0%   0; }
  100% { background-position: 100% 0; }
}
@keyframes saffron-pulse {
  0%, 100% { opacity: 0.82; }
  50%       { opacity: 1;    }
}
@keyframes cta-breathe {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
  50%       { opacity: 0.80; box-shadow: 0 0 0 7px rgba(255,255,255,0); }
}

/* Background — full image always visible, no cropping on any device */
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;          /* show whole image, never crop */
  object-position: center center;
  z-index: 0;
  filter: brightness(1.0) contrast(1.02) saturate(1.1);
  animation: hero-zoom 24s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes hero-zoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

/* Buttons — flex child at bottom of hero column */
/* "Love All Serve All" overlay centered on hero */
.hero-overlay-text {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  text-align: center;
  z-index: 2;
  animation: fade-in-quote 1.4s ease 0.5s both;
}
.hero-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 1px 6px rgba(0,0,0,0.5);
  letter-spacing: 0.05em;
  margin: 0;
}

/* CTA buttons below hero */
.hero-btns-below {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 20px;
  background: #fdf8f0;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Blue — View Service Activities (3D gradient, primary action) */
.hero-btn-primary {
  background: linear-gradient(145deg, #1e6ec0 0%, #1A5EA8 50%, #154d8a 100%);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer; letter-spacing: 0.03em;
  transition: all 0.28s ease;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(26,94,168,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}
.hero-btn-primary:hover {
  background: linear-gradient(145deg, #2272cc 0%, #1e6ec0 50%, #1A5EA8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,94,168,0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* White — My Volunteer Dashboard (weighted border, saffron hover glow) */
.hero-btn-ghost {
  background: rgba(255,255,255,0.96);
  border: 2px solid #1A5EA8;
  color: var(--color-primary-darker);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer; letter-spacing: 0.03em;
  transition: all 0.28s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}
.hero-btn-ghost:hover {
  background: #fff;
  border-color: #FFBF00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 16px rgba(255,185,0,0.4);
}

/* Quote corner — saffron line above, single-line quote below */
.hero-quote-corner {
  position: absolute;
  bottom: 24px; right: 20px;
  text-align: right;
  z-index: 2;
  animation: fade-in-quote 1.4s ease 1s both;
}
@keyframes fade-in-quote {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Small saffron line — right-aligned, sits above the quote */
.hero-corner-line {
  width: 36px;
  height: 3px;
  background: #FF9933;
  border-radius: 2px;
  margin-left: auto;
  margin-bottom: 7px;
  animation: corner-pulse 2.6s ease-in-out infinite;
}
@keyframes corner-pulse {
  0%, 100% { opacity: 0.4; width: 20px; box-shadow: none; }
  50%       { opacity: 1;   width: 44px; box-shadow: 0 0 8px 2px rgba(255,153,51,0.65); }
}

/* Single-line quote — nowrap keeps it on one line */
.hero-quote-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px; font-style: italic;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.75), 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 4px;
}
.hero-quote-cite {
  font-size: 10px; font-style: normal; display: block;
  letter-spacing: 0.06em;
  color: rgba(250,196,122,0.88);
  text-shadow: 0 1px 8px rgba(0,0,0,0.72);
}

@media (max-width: 768px) {
  .hero {
    height: 65vh;
    min-height: 480px;
  }
  .hero-btn-primary,
  .hero-btn-ghost { font-size: 13px; padding: 11px 20px; }
}

/* ── Upcoming Strip ──────────────────────────── */
/* 3. Consistent Padding — title has room to breathe */
.upcoming-strip { max-width: 1160px; margin: 0 auto; padding: 64px 24px 56px; }
.section-title { font-family: 'Cinzel', Georgia, serif; font-size: clamp(24px, 3.5vw, 40px); font-weight: 600; color: var(--color-primary-darker); letter-spacing: 0.02em; }
.upcoming-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }

/* 1. Floating Card + 2. Information Grouping */
.upcoming-mini {
  background: var(--white);
  border: none;
  border-radius: 14px;
  padding: 20px 16px 20px 16px;
  display: flex; gap: 0; align-items: stretch;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  cursor: pointer;
}
.upcoming-mini:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.14), 0 6px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
}
/* Chevron — signals tappability */
.upcoming-mini::after {
  content: '›';
  font-size: 22px;
  color: #e8d5b0;
  align-self: center;
  flex-shrink: 0;
  margin-left: 10px;
  line-height: 1;
}
/* Tap feedback on mobile */
@media (max-width: 640px) {
  .upcoming-mini {
    border-left: 3px solid #e8d5b0;
  }
  .upcoming-mini:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
  }
}

/* Date block — distinct left column, clearly separated */
.mini-date {
  background: var(--saffron-pale);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  min-width: 56px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-right: 18px;
}
.mini-day { font-family: 'Cinzel', Georgia, serif; font-size: 28px; font-weight: 700; color: var(--saffron); line-height: 1; }
.mini-mon { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; font-weight: 600; }

/* Event info — right column, vertically centred */
.mini-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.mini-title { font-family: 'Cinzel', Georgia, serif; font-weight: 600; color: var(--color-primary-darker); font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.mini-meta { font-size: 12px; color: var(--text-muted); }

/* ── Activities section ── */
#activities {
  background-color: var(--cream);
}
/* Content above the watermark */
#tilesView, #activityDetailView {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  #activities::before {
    background-size: 88%;
    background-attachment: scroll;
  }
}

/* ── Page Header ─────────────────────────────── */
.page-header {
  max-width: 1160px; margin: 0 auto;
  padding: 48px 24px 12px;
  border-bottom: none;
  margin-bottom: 0;
}
.page-title { font-family: 'Cinzel', Georgia, serif; font-size: 36px; font-weight: 600; color: var(--color-primary-darker); }
.page-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }

#tilesView .page-header { padding-top: 14px; }

/* Back-to-home button on activities page */
.activities-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 16px 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--saffron);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Cinzel', Georgia, serif;
  padding: 6px 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.activities-home-btn:hover { opacity: 1; }

/* ── Category Accordions ────────────────────── */
.category-accordion {
  max-width: 1160px; margin: 0 auto 20px; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.category-accordion-summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; font-family: 'Cinzel', Georgia, serif;
  font-size: 22px; font-weight: 700; color: var(--color-primary-darker);
  cursor: pointer; list-style: none; user-select: none; background: var(--cream);
}
.category-accordion-summary::-webkit-details-marker { display: none; }
.cat-chevron { transition: transform .2s; font-size: 14px; color: var(--text-muted); }
.category-accordion[open] .cat-chevron { transform: rotate(180deg); }

/* Category section (non-collapsible) */
.category-section {
  max-width: 1160px; margin: 0 auto 20px; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.category-section.no-header {
  border: none; border-radius: 0;
}
.coming-soon-msg {
  padding: 40px 24px; text-align: center;
  font-family: 'Cinzel', Georgia, serif; font-size: 20px;
  color: var(--text-muted); font-style: italic;
}

/* ── Activity Tiles ──────────────────────────── */
.activities-grid {
  max-width: 1160px; margin: 0 auto; padding: 16px 24px 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.activity-tile {
  background: var(--white); border-radius: 16px; border: none;
  overflow: hidden; cursor: pointer;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  display: flex; flex-direction: column;
}
.activity-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(26,94,168,0.13), 0 4px 12px rgba(0,0,0,0.07);
}
.tile-accent { height: 4px; background: linear-gradient(90deg, var(--saffron), var(--color-primary)); flex-shrink: 0; }
.tile-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tile-title {
  font-family: 'Cinzel', Georgia, serif; font-size: 16px; font-weight: 600;
  color: var(--color-primary-darker); line-height: 1.3; margin-bottom: 8px;
}
.tile-meta {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--color-border-subtle);
}
.tile-chip {
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 500;
  padding: 4px 11px; border-radius: 20px;
  white-space: nowrap; letter-spacing: 0.01em;
}
.tile-chip-schedule {
  background: var(--saffron-pale);
  color: #B8860B; /* dark gold — matches champagne gold theme */
}
.tile-chip-time {
  background: var(--color-primary-tint);
  color: var(--color-primary-darker);
}
.chip-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  margin-top: -1px;
  flex-shrink: 0;
}

/* Learn More button on activity tiles */
.tile-learn-more {
  margin-top: 14px;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--color-primary-light);
  background: transparent;
  color: var(--color-primary);
  font-size: 12px; font-weight: 500;
  cursor: pointer; align-self: flex-start;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.tile-learn-more:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ── Activity Detail View ────────────────────── */
@keyframes slideUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.detail-enter { animation: slideUp .28s ease; }

.detail-back-bar {
  max-width: 860px; margin: 0 auto;
  padding: 20px 24px 12px;
  display: flex; align-items: center; gap: 12px;
}
.btn-back {
  width: 36px; height: 36px; border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  font-size: 16px;
}
.btn-back:hover {
  border-color: #c8bfb0;
  background: #f7f2ea;
}
.detail-back-kicker {
  font-size: 14px; font-weight: 500; color: #8a7b6a;
  flex: 1; text-align: center;
}

.detail-inner {
  max-width: 860px; margin: 0 auto; padding: 18px 24px 64px;
  font-family: 'Inter', system-ui, sans-serif;
  /* Banani warm-earth palette scoped to detail page */
  --dp-fg:         #243746;
  --dp-primary:    #8a5a2b;
  --dp-secondary:  #f6efe3;
  --dp-sec-fg:     #6e4b2a;
  --dp-muted:      #f7f2ea;
  --dp-muted-fg:   #8a7b6a;
  --dp-success:    #4d8b5f;
  --dp-destructive:#c65a4b;
  --dp-warning:    #f2d38b;
  --dp-warn-fg:    #6a4a12;
  --dp-card:       #ffffff;
  --dp-border:     #e8e0d4;
}

/* ── Detail Hero Card ─────────────────────────── */
.detail-hero-card {
  background: var(--dp-card);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--dp-border);
}
.detail-hero-img-wrap {
  aspect-ratio: 860 / 220;
  width: 100%;
  background: var(--dp-secondary);
  overflow: hidden;
}
.detail-hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%;
  display: block;
}
.detail-hero-body {
  padding: 16px 16px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.detail-title-block { display: flex; flex-direction: column; gap: 4px; }
.detail-eyebrow {
  font-size: 13px;
  color: var(--dp-sec-fg);
  font-weight: 500;
}
.detail-hero-title {
  font-family: 'Inter', 'Inter', sans-serif;
  font-size: 30px; line-height: 1.1; font-weight: 700;
  color: var(--dp-fg);
  letter-spacing: -0.02em;
}
.detail-hero-subtext {
  font-size: 15px;
  color: var(--dp-sec-fg);
  line-height: 1.55;
}
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-badge {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 12px;
  border-radius: 999px;
  background: var(--dp-secondary);
  color: var(--dp-sec-fg);
  font-size: 13px; font-weight: 500;
  white-space: nowrap; border: none;
}
/* highlight badge uses warning yellow, matching Banani exactly */
.detail-badge.highlight {
  background: var(--dp-warning);
  color: var(--dp-warn-fg);
}
.detail-hero-actions {
  display: flex; gap: 10px;
}
.detail-hero-actions .detail-action-btn {
  flex: 1;
}
.detail-action-btn {
  min-height: 46px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  border: none; cursor: pointer;
  font-family: inherit; transition: opacity var(--dur-fast) var(--ease);
}
.detail-action-btn:hover { opacity: .88; }
.detail-action-primary {
  background: var(--dp-primary); color: #ffffff;
}
.detail-action-secondary {
  background: var(--dp-secondary); color: var(--dp-fg);
}

/* ── Tabs (detail page override) ─────────────── */
.detail-inner .card-tabs {
  margin: 20px 0 0;
  border-bottom: 1.5px solid var(--dp-border);
  gap: 0;
}
.detail-inner .card-tab {
  font-size: 15px; font-weight: 500;
  color: var(--dp-muted-fg);
  padding: 6px 16px 12px;
  border-bottom: 2px solid transparent;
  background: none; border-radius: 0;
}
.detail-inner .card-tab:first-child { padding-left: 2px; }
.detail-inner .card-tab:hover {
  color: var(--dp-primary); background: none;
}
.detail-inner .card-tab.active {
  color: var(--dp-primary);
  border-bottom-color: var(--dp-primary);
  font-weight: 600;
}
.detail-inner .card-tab-content {
  padding: 20px 0 8px;
}

/* ── Notice Cards ─────────────────────────────── */
.detail-notice-card {
  border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 12px;
}
.detail-notice-card.important {
  background: #c65a4b; color: #ffffff;
}
.detail-notice-card.vehicle {
  background: #f2d38b; color: #6a4a12;
}
.detail-notice-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
}
.detail-notice-body {
  font-size: 15px; line-height: 1.6; color: inherit;
}
.detail-notice-body strong { font-weight: 700; color: inherit; }

/* ── Instructions List ───────────────────────── */
.detail-instructions-section {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 12px;
}
.detail-instructions-title {
  font-size: 15px; font-weight: 600;
  color: var(--dp-fg);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.detail-instructions-list { display: flex; flex-direction: column; gap: 8px; padding-left: 4px; }
.detail-instruction-item {
  display: flex; align-items: baseline; gap: 10px;
}
.detail-instruction-icon {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--saffron);
  flex-shrink: 0; margin-top: 7px;
}
.detail-instruction-text {
  font-size: 14px; color: #243746; line-height: 1.6;
}
.detail-instruction-text strong {
  font-weight: 700; color: #243746;
}

/* ── Coordinator Section (in Overview tab) ───── */
.detail-coordinator-section {
  background: #ffffff;
  border: 1px solid #e8e0d4;
  border-radius: 10px;
  padding: 18px 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background .15s ease;
}
.detail-coordinator-section:hover { background: #fdfbf8; }
.detail-coordinator-section-title {
  font-size: 22px; font-weight: 700; color: #243746;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; font-family: 'Inter', sans-serif;
}
.detail-coordinator-card {
  background: #f2ece3; border-radius: 16px;
  padding: 16px 18px; display: flex; align-items: center; gap: 16px;
  transition: background .15s ease;
}
.detail-coordinator-section:hover .detail-coordinator-card { background: #e9e2d8; }
.detail-coordinator-avatar-wrap {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: #d5cdc0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; overflow: hidden;
}
.detail-coordinator-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.detail-coordinator-info { min-width: 0; flex: 1; }
.detail-coordinator-name { font-size: 17px; font-weight: 700; color: #243746; }
.detail-coordinator-role { font-size: 14px; color: #8a7b6a; margin-top: 4px; }
.detail-coordinator-contact-link { display: block; font-size: 13px; color: var(--color-primary); margin-top: 6px; text-decoration: none; }
.detail-coordinator-contact-link:hover { text-decoration: underline; }

/* ── Coordinator Contact Page (full-screen slide-in) ── */
#coordContactPage {
  position: fixed; inset: 0; z-index: 600;
  background: #fcfbf8;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
#coordContactPage.open { transform: translateX(0); }
.coord-page-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 20px 0;
}
.coord-page-back {
  width: 36px; height: 36px; border-radius: 10px;
  background: #fff; border: 1px solid #e8e0d4;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; color: #243746;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); flex-shrink: 0;
}
.coord-page-label {
  font-size: 14px; font-weight: 500; color: #8a7b6a;
}
.coord-page-body { padding: 32px 24px 48px; max-width: 500px; margin: 0 auto; }
.coord-page-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: #d5cdc0; display: flex; align-items: center;
  justify-content: center; font-size: 34px; margin-bottom: 16px; overflow: hidden;
}
.coord-page-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.coord-page-name { font-size: 26px; font-weight: 700; color: #243746; margin-bottom: 4px; }
.coord-page-role { font-size: 15px; color: #8a7b6a; margin-bottom: 32px; }
.coord-page-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: #8a7b6a; margin-bottom: 10px;
}
.coord-page-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.coord-page-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 14px;
  background: #fff; border: 1px solid #e8e0d4;
  text-decoration: none; color: #243746;
  font-size: 15px; font-weight: 500;
  transition: background .15s ease;
}
.coord-page-btn:hover { background: #f7f2ea; text-decoration: none; }
.coord-page-btn-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: #8a5a2b; color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.coord-page-btn-text { display: flex; flex-direction: column; }
.coord-page-btn-label { font-size: 11px; color: #8a7b6a; margin-bottom: 2px; }
.coord-page-btn-value { font-size: 15px; font-weight: 600; color: #243746; }

/* Legacy (kept for grocery template) */
.detail-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--saffron);
  border-radius: 16px;
  padding: 24px 28px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(26,94,168,0.08), 0 1px 4px rgba(0,0,0,0.04);
}
.detail-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 26px; font-weight: 600;
  color: var(--color-primary-darker);
  line-height: 1.25; margin-bottom: 14px;
}
.detail-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-signup-bar { margin-top: 20px; }

/* Section boxes */
.detail-section-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.detail-section-box-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 7px;
}
.detail-section-box-label::before {
  content: '';
  display: inline-block;
  width: 3px; height: 13px;
  background: var(--saffron);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Locations Tab (Banani theme) ──────────────────── */
.loc-section {
  background: #ffffff;
  border: 1px solid #e8e0d4;
  border-radius: 10px;
  padding: 18px 16px 20px;
  margin-bottom: 12px;
}
.loc-section-title {
  font-size: 22px; font-weight: 700; color: #243746;
  font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px; letter-spacing: -0.01em;
}
.loc-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px;
  background: #f7f2ea;
  border-radius: 12px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.loc-row:last-child { margin-bottom: 0; }
.loc-row:hover { background: #ede6da; text-decoration: none; }
.loc-icon-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: #8a5a2b; color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.loc-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.loc-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: #8a7b6a; margin-bottom: 3px;
}
.loc-value {
  font-size: 15px; font-weight: 600; color: #8a5a2b;
  line-height: 1.4; word-break: break-word;
}
.loc-map-hint { font-size: 11px; color: #a89880; margin-top: 3px; }
.loc-chevron {
  flex-shrink: 0; color: #c4b8a8;
}
/* Arrive-by time row */
.loc-time-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px;
  background: #fef6e7;
  border-radius: 12px;
  border-left: 3px solid #f2d38b;
  margin-bottom: 8px;
}
.loc-time-row:last-child { margin-bottom: 0; }
.loc-time-icon-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: #f2d38b; color: #6a4a12;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.loc-time-value { font-size: 15px; font-weight: 700; color: #6a4a12; }

/* ── Shared card/detail bits (slots, signup btn, tabs) ── */
.card-slots { margin-bottom: 14px; }
.slots-text { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.slots-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.slots-fill { height: 100%; border-radius: 2px; background: var(--saffron); transition: width .5s; }
.slots-fill.full { background: var(--red); }
.btn-signup { width: 100%; padding: 13px; border-radius: 8px; background: var(--saffron); color: var(--white); border: none; font-size: 15px; font-weight: 500; cursor: pointer; transition: all var(--dur-med) var(--ease); box-shadow: var(--shadow-saffron); }
.btn-signup:hover { background: var(--color-accent-dark); }
.btn-signup:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }
.btn-waitlist { background: transparent; color: var(--saffron); border: 2px solid var(--saffron); }
.btn-waitlist:hover { background: var(--saffron-pale); }

/* ── Skeleton Loaders ────────────────────────── */
.skeleton-card { background: var(--border); border-radius: 12px; height: 200px; animation: shimmer 1.4s infinite; }
.skeleton-card.tall { height: 320px; }
@keyframes shimmer { 0%,100%{opacity:.5} 50%{opacity:.25} }

/* ── Volunteer Dashboard ─────────────────────── */
.center-box { max-width: 480px; margin: 80px auto; padding: 40px 24px; text-align: center; }
.lotus-big { font-size: 56px; margin-bottom: 16px; }
.center-box h2 { font-family: 'Cinzel', Georgia, serif; font-size: 30px; font-weight: 600; color: var(--color-primary-darker); margin-bottom: 10px; }
.center-box p { color: var(--text-muted); margin-bottom: 20px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.inline-form .form-input { min-width: 240px; }
.hint-text { font-size: 12px; color: var(--text-muted); }
.dash-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-darker));
  padding: 36px 24px; color: var(--white);
}
.dash-hero-inner { max-width: 900px; margin: 0 auto; }
.dash-greeting { font-family: 'Cinzel', Georgia, serif; font-size: 30px; font-weight: 600; }
.dash-subtitle { font-size: 14px; opacity: .85; margin-top: 4px; }
.dash-stats-row { display: flex; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.dash-stat { background: rgba(255,255,255,.2); border-radius: 12px; padding: 14px 20px; text-align: center; }
.dash-stat-num { font-family: 'Cinzel', Georgia, serif; font-size: 32px; font-weight: 700; }
.dash-stat-label { font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.dash-body { max-width: 900px; margin: 0 auto; padding: 32px 24px; }
.dash-section { margin-bottom: 32px; }
.dash-section .section-title { margin-bottom: 14px; }
.upcoming-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.upcoming-date-box { background: var(--saffron-pale); border-radius: 8px; padding: 8px 12px; text-align: center; min-width: 52px; }
.date-day { font-family: 'Cinzel', Georgia, serif; font-size: 26px; font-weight: 600; color: var(--saffron); line-height: 1; }
.date-mon { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.upcoming-info { flex: 1; }
.upcoming-title { font-weight: 500; color: var(--brown); margin-bottom: 2px; }
.upcoming-meta-row { font-size: 12px; color: var(--text-muted); }
.reminder-badge { background: var(--green-light); color: var(--green); font-size: 11px; padding: 4px 10px; border-radius: 10px; font-weight: 500; white-space: nowrap; }
.hours-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.hours-label { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.hours-num { font-family: 'Cinzel', Georgia, serif; font-size: 42px; font-weight: 700; color: var(--color-primary-darker); margin-bottom: 12px; }
.hours-bar-bg { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.hours-bar-fill { height: 100%; background: linear-gradient(90deg, var(--saffron), #F2C44A); border-radius: 4px; transition: width .6s ease; }
.empty-msg { color: var(--text-muted); font-size: 14px; }

/* ── Impact Page ─────────────────────────────── */
.impact-wrap { max-width: 900px; margin: 0 auto; padding: 8px 24px 56px; }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-bottom: 32px; }
.impact-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.impact-icon { font-size: 34px; margin-bottom: 10px; }
.impact-num { font-family: 'Cinzel', Georgia, serif; font-size: 42px; font-weight: 700; color: var(--color-primary-darker); line-height: 1; }
.impact-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; font-weight: 300; }
.impact-story { background: linear-gradient(135deg, var(--saffron-pale), var(--cream)); border: 1px solid var(--border); border-radius: 12px; padding: 30px; margin-bottom: 24px; }
.impact-story h3 { font-family: 'Cinzel', Georgia, serif; font-size: 24px; font-weight: 600; color: var(--color-primary-darker); margin-bottom: 12px; }
.impact-story p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.donation-box { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 30px; box-shadow: var(--shadow); }
.donation-box h3 { font-family: 'Cinzel', Georgia, serif; font-size: 24px; font-weight: 600; color: var(--color-primary-darker); margin-bottom: 8px; }
.donation-box p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.donate-amounts { display: flex; gap: 10px; flex-wrap: wrap; }
.donate-amt { padding: 9px 20px; border-radius: 8px; border: 2px solid var(--saffron); color: var(--saffron); background: var(--white); font-size: 14px; cursor: pointer; transition: all .2s; font-weight: 500; }
.donate-amt:hover, .donate-amt.active-amt { background: var(--saffron); color: var(--white); }

/* ── Admin ───────────────────────────────────── */
.admin-body { max-width: 1160px; margin: 0 auto; padding: 24px; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--color-primary-tint); padding: 4px; border-radius: 8px; border: 1px solid var(--color-primary-light); width: fit-content; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab { padding: 8px 20px; border-radius: 6px; font-size: 13px; cursor: pointer; border: none; background: transparent; color: var(--text-muted); transition: all var(--dur-med) var(--ease); white-space: nowrap; flex-shrink: 0; }
.admin-tab.active { background: var(--white); color: var(--color-primary); font-weight: 500; box-shadow: 0 1px 6px rgba(0,0,0,0.08); }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); }
.admin-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--border); background: var(--color-primary-tint); }
.admin-table td { padding: 13px 16px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table th.reorder-col { width: 48px; padding: 12px 4px; }
.admin-table td.reorder-col { width: 48px; padding: 6px 4px; text-align: center; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--cream); }
.drag-handle { cursor: grab; color: var(--text-muted); font-size: 18px; padding: 0 12px; text-align: center; width: 36px; }
.drag-handle:active { cursor: grabbing; }
.admin-table tr.drag-over { background: var(--saffron-pale); outline: 2px dashed var(--saffron); }
.admin-table tr[draggable] { cursor: default; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-open { background: var(--green-light); color: var(--green); }
.badge-full { background: var(--red-light); color: var(--red); }
.btn-sm { padding: 5px 13px; border-radius: 8px; font-size: 12px; cursor: pointer; border: none; transition: all .2s; margin-right: 4px; }
.btn-edit { background: var(--saffron-pale); color: var(--saffron); }
.btn-edit:hover { background: var(--saffron); color: var(--white); }
.btn-del { background: var(--red-light); color: var(--red); }
.btn-del:hover { background: var(--red); color: var(--white); }
.btn-reset-pass { background: #e8f0fe; color: #1a73e8; }
.btn-reset-pass:hover { background: #1a73e8; color: var(--white); }
.loading-cell { padding: 20px; color: var(--text-muted); font-size: 13px; }
.signups-list { background: var(--white); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.signup-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); gap: 12px; flex-wrap: wrap; }
.signup-row:last-child { border-bottom: none; }
.signup-name { font-weight: 500; color: var(--brown); font-size: 14px; }
.signup-activity { color: var(--text-muted); font-size: 13px; }
.signup-date { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.signup-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.signup-reminder-pref { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* Volunteer list in activity card */
.vol-list { display: flex; flex-direction: column; gap: 6px; }
.vol-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 9px 12px; background: var(--cream); border-radius: 10px; font-size: 13px; gap: 8px; }
.vol-info { flex: 1; min-width: 0; }
.vol-name { font-weight: 500; color: var(--brown); }
.vol-contact { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.vol-date-badge { background: var(--saffron-pale); color: var(--saffron); font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; }

/* Smart date chips */
.date-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.date-chip { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 20px; font-size: 13px; cursor: pointer; background: var(--white); color: var(--text); transition: all .15s; white-space: nowrap; }
.date-chip:hover { border-color: var(--saffron); color: var(--saffron); }
.date-chip.selected { background: var(--saffron); color: var(--white); border-color: var(--saffron); font-weight: 500; }

/* Reminder preference radios */
.reminder-pref-row { display: flex; gap: 20px; margin-top: 4px; flex-wrap: wrap; }
.reminder-pref-option { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text); cursor: pointer; }
.reminder-pref-option input[type="radio"] { accent-color: var(--saffron); width: 16px; height: 16px; cursor: pointer; }
.flow-wa-note {
  margin-top: 10px;
  padding: 10px 14px;
  background: #F0FFF4;
  border: 1px solid #C6F6D5;
  border-radius: 8px;
  font-size: 13px;
  color: #276749;
  line-height: 1.5;
}
.signup-group-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.copy-msg-btn {
  padding: 5px 12px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.copy-msg-btn:hover { background: var(--saffron-pale); }

.notify-btn { background: var(--saffron-pale); color: var(--saffron); padding: 5px 14px; border-radius: 8px; border: none; font-size: 12px; cursor: pointer; white-space: nowrap; }
.notify-btn:hover { background: var(--saffron); color: var(--white); }
.notify-info-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; max-width: 560px; }
.notify-info-card h3 { font-family: 'Cinzel', Georgia, serif; font-size: 22px; font-weight: 600; color: var(--color-primary-darker); margin-bottom: 10px; }
.notify-info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.notify-info-card code { background: var(--saffron-pale); padding: 2px 6px; border-radius: 4px; font-size: 12px; color: var(--brown); }
.notify-status-ok { background: var(--green-light); color: var(--green); padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 500; }

/* ── Modals ──────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.40);
  z-index: 500; display: none; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white); border-radius: 12px; padding: 36px;
  max-width: 480px; width: 100%; position: relative;
  box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto;
}
.modal-wide { max-width: min(900px, 96vw); }
.modal h2 { font-family: 'Cinzel', Georgia, serif; font-size: 26px; font-weight: 600; color: var(--color-primary-darker); margin-bottom: 4px; }
.modal-subtitle { font-size: 14px; color: var(--saffron); margin-bottom: 20px; font-weight: 500; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 18px; color: var(--text-muted); cursor: pointer; padding: 4px; line-height: 1; }
.modal-close:hover { color: var(--red); }
.modal-btns { display: flex; gap: 10px; margin-top: 20px; }
.modal-btns .btn-primary { flex: 2; text-align: center; }
.modal-btns .btn-cancel { flex: 1; }
/* ── 3-Step Signup Flow ──────────────────────── */
.modal-flow { max-width: 520px; }

/* Step dots */
.flow-steps { display:flex; align-items:center; gap:0; margin-bottom:24px; justify-content:center; }
.flow-step-item { display:flex; flex-direction:column; align-items:center; gap:4px; }
.flow-step-label { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); transition:color .3s; }
.flow-dot { width:10px; height:10px; border-radius:50%; background:var(--border); transition:background .3s; }
.flow-dot.active { background:var(--saffron); }
.flow-step-item:has(.flow-dot.active) .flow-step-label { color:var(--saffron); }
.flow-dot.done { background:var(--color-primary); }
.flow-step-item:has(.flow-dot.done) .flow-step-label { color:var(--color-primary); }
/* Confirmation step (step 3) active → blue */
#fdot-3.active { background:var(--color-primary) !important; }
.flow-step-item:has(#fdot-3.active) .flow-step-label { color:var(--color-primary) !important; }
.flow-line { flex:1; max-width:40px; height:2px; background:var(--border); margin:0 6px; align-self:flex-start; margin-top:5px; }

/* Date list */
.flow-date-list { max-height:340px; overflow-y:auto; margin:0 -8px 16px; padding:0 8px; }
.flow-date-row {
  display:flex; align-items:center; gap:14px; padding:12px 14px;
  border:1.5px solid var(--border); border-radius:12px; margin-bottom:8px;
  cursor:pointer; transition:all .15s; background:var(--white);
}
.flow-date-row:hover:not(.flow-date-full) { border-color:var(--saffron); background:var(--saffron-pale); }
.flow-date-row.flow-date-selected { border-color:var(--saffron); background:var(--saffron-pale); }
.flow-date-row.flow-date-full { opacity:.55; cursor:not-allowed; background:var(--cream); }
.flow-date-check {
  width:20px; height:20px; border-radius:50%; border:2px solid var(--border);
  flex-shrink:0; display:flex; align-items:center; justify-content:center;
  font-size:11px; color:var(--text-muted); transition:all .15s;
}
.flow-date-check.fdc-checked { background:var(--saffron); border-color:var(--saffron); color:var(--white); }
.flow-date-check.fdc-checked::after { content:'✓'; font-size:11px; font-weight:700; }
.flow-date-check.fdc-full { border-color:var(--text-muted); color:var(--text-muted); font-size:12px; }
.flow-date-info { flex:1; min-width:0; }
.flow-date-label { font-size:14px; font-weight:500; color:var(--brown); margin-bottom:5px; }
.flow-date-slots { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.flow-mini-bar { width:60px; height:4px; background:var(--border); border-radius:2px; overflow:hidden; flex-shrink:0; }
.flow-mini-fill { height:100%; border-radius:2px; background:var(--saffron); }
.flow-mini-fill.full { background:var(--red); }
.flow-slot-count { font-size:12px; color:var(--text-muted); }
.flow-slot-count.text-red { color:var(--red); font-weight:500; }
.flow-spots-left { font-size:11px; background:var(--saffron-pale); color:var(--saffron); padding:2px 7px; border-radius:8px; font-weight:500; }
.flow-vol-names { font-size:11px; color:var(--text-muted); margin-top:3px; font-style:italic; }
.flow-continue-btn { width:100%; margin-top:4px; }
.flow-continue-btn:disabled { background:var(--border); color:var(--text-muted); cursor:not-allowed; }

/* Step 2 — selected dates summary */
.flow-dates-summary { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.flow-date-badge { background:var(--green-light); color:var(--green); font-size:12px; font-weight:500; padding:4px 10px; border-radius:10px; }

/* Form validation */
.field-error { font-size:12px; color:var(--red); margin-top:4px; min-height:16px; }
.field-error:not(:empty)::before { content:'⚠ '; font-size:11px; }
.form-input.input-error { border-color:var(--red); box-shadow:0 0 0 3px rgba(146,43,33,.12); }

/* Utility */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.btn-inline-link { background:none; border:none; padding:0; color:var(--color-primary); font-size:inherit; cursor:pointer; text-decoration:underline; font-family:inherit; }

/* Step 3 — confirmation */
.confirm-modal { text-align:center; }
.confirm-check { font-size:48px; margin-bottom:12px; }
.confirm-modal h2 { margin-bottom:6px; }
.confirm-activity { font-size:15px; color:var(--saffron); font-weight:500; margin-bottom:16px; }
.confirm-detail-row { display:flex; align-items:flex-start; gap:12px; text-align:left; background:var(--cream); border-radius:12px; padding:12px 16px; margin-bottom:10px; }
.confirm-icon { font-size:20px; margin-top:2px; }
.confirm-label { font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:2px; }
.confirm-value { font-size:14px; font-weight:500; color:var(--brown); }
.flow-confirmed-dates { text-align:left; margin-bottom:14px; }
.flow-confirmed-row { display:flex; align-items:flex-start; gap:10px; padding:8px 0; border-bottom:1px solid var(--border); font-size:14px; color:var(--brown); }
.flow-confirmed-row:last-child { border-bottom:none; }
.flow-check-icon { color:var(--green); font-weight:700; font-size:16px; flex-shrink:0; }
.sai-quote-box { border-left:3px solid var(--saffron); background:var(--saffron-pale); border-radius:0 10px 10px 0; padding:14px 16px; margin-top:16px; text-align:left; }
.sai-quote { font-family:'Source Serif 4', Georgia, serif; font-style:italic; font-size:16px; color:var(--brown); line-height:1.6; display:block; }
.sai-quote cite { display:block; font-style:normal; font-size:12px; color:var(--text-muted); margin-top:8px; }

.reminder-notice {
  background: var(--saffron-pale); border-radius: 12px; padding: 14px 16px;
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px;
  font-size: 13px; color: var(--brown); line-height: 1.6;
}
.reminder-notice span { font-size: 18px; }
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label { font-size: 13px; color: var(--color-primary-darker); font-weight: 600; letter-spacing: 0.01em; margin-bottom: 5px; display: block; }
.required { color: #E74C3C; }
.form-input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--text);
  background: var(--white); outline: none; transition: border var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.form-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(26,94,168,.14); }
textarea.form-input { resize: vertical; }

/* ── Toast ───────────────────────────────────── */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: var(--green); color: var(--white);
  padding: 14px 22px; border-radius: 12px; font-size: 14px; line-height: 1.5;
  max-width: 340px; box-shadow: 0 6px 28px rgba(0,0,0,.15);
  transform: translateY(80px); opacity: 0; transition: all .35s; pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--red); }

/* ── Modal Tabs ──────────────────────────────────── */
.modal-tabs{display:flex;gap:4px;margin:14px 0 18px;background:var(--color-primary-tint);padding:4px;border-radius:8px;border:1px solid var(--color-primary-light)}
.modal-tab{flex:1;padding:7px;border-radius:6px;font-size:13px;cursor:pointer;border:none;background:transparent;color:var(--text-muted);transition:all var(--dur-med) var(--ease);text-align:center}
.modal-tab.active{background:var(--white);color:var(--color-primary);font-weight:500;box-shadow:0 1px 4px rgba(0,0,0,0.08)}

/* ── Activity Card Tabs ───────────────────────────── */
.card-tabs {
  display: flex; gap: 0;
  margin: 18px 0 0;
  border-bottom: 2px solid var(--border);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.card-tabs::-webkit-scrollbar { display: none; }
.card-tab {
  padding: 10px 18px;
  font-size: 13px; font-weight: 400;
  cursor: pointer; border: none; background: none;
  color: var(--text-muted);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: all .2s; white-space: nowrap; flex-shrink: 0;
}
.card-tab:hover { color: var(--color-accent-dark); background: var(--saffron-pale); border-radius: 6px 6px 0 0; }
.card-tab.active {
  color: var(--color-accent-dark);
  border-bottom-color: var(--saffron);
  font-weight: 600;
}
.card-tab-content { display: none; padding: 22px 0 8px; font-size: 14px; color: var(--text); line-height: 1.75; }
.card-tab-content.active { display: block; }
.tab-field { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.tab-field-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.tab-field-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); font-weight: 600; margin-bottom: 3px; }
.tab-field-value { font-size: 14px; color: var(--text); line-height: 1.55; font-weight: 500; }
.detail-warn {
  background: var(--red-light);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--red);
  line-height: 1.6;
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.kids-box{background:var(--green-light);border-radius:8px;padding:8px 12px;font-size:12px;color:var(--green);margin-top:8px}

/* ── Universal Activity Template ─────────────────── */
.act-section{border:1px solid var(--border);border-radius:12px;margin-bottom:10px;overflow:hidden}
.act-section-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;cursor:pointer;background:var(--saffron-pale);user-select:none;font-size:14px;font-weight:500;color:var(--brown)}
.act-section-head:hover{background:var(--border)}
.act-arrow{font-size:11px;color:var(--text-muted);transition:transform .2s}
.act-section-body{padding:16px}
.req-badge{font-size:10px;padding:2px 7px;border-radius:8px;background:var(--saffron);color:var(--white);font-weight:500;margin-left:8px;vertical-align:middle}
.opt-badge{font-size:10px;padding:2px 7px;border-radius:8px;background:var(--border);color:var(--text-muted);font-weight:400;margin-left:8px;vertical-align:middle}
.form-hint{font-size:11px;color:var(--text-muted);font-weight:300;margin-left:4px}
.desc-hint-box{background:var(--saffron-pale);border-radius:8px;padding:12px 14px;font-size:12px;color:var(--brown);line-height:1.8;margin-bottom:10px}
.desc-hint-box summary{cursor:pointer;list-style:none;user-select:none}
.desc-hint-box summary::-webkit-details-marker{display:none}
.desc-hint-box[open] summary{margin-bottom:8px}
.fmt-guide-table{width:100%;border-collapse:collapse;margin-top:8px;font-size:12px}
.fmt-guide-table th,.fmt-guide-table td{padding:5px 10px;border:1px solid var(--border);text-align:left;vertical-align:middle}
.fmt-guide-table thead th{background:rgba(0,0,0,.04);font-weight:600}
.fmt-guide-table code{background:rgba(0,0,0,.07);border-radius:3px;padding:1px 5px;font-family:monospace;font-size:11px}
.signup-type-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:4px}
.stype-btn{padding:10px 8px;border-radius:10px;border:1px solid var(--border);background:var(--white);color:var(--text-muted);font-size:12px;cursor:pointer;text-align:center;transition:all .2s;line-height:1.3}
.stype-btn:hover{border-color:var(--saffron);color:var(--saffron)}
.stype-btn.active{background:var(--saffron-pale);border-color:var(--saffron);color:var(--saffron);font-weight:500}
.stype-sub{font-size:10px;color:var(--text-muted);margin-top:3px;font-weight:300}
.stype-btn.active .stype-sub{color:var(--saffron);opacity:.7}
.item-signup-row{display:flex;gap:8px;margin-bottom:8px;align-items:center}
.item-signup-row .item-name{flex:1}
.item-signup-row .item-qty{width:90px;flex-shrink:0;text-align:center}
.item-signup-row .item-slots{width:80px;flex-shrink:0;text-align:center}
.item-remove-btn{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:16px;padding:0 4px;flex-shrink:0;line-height:1}
.item-remove-btn:hover{color:var(--red)}
.add-row-btn{width:100%;padding:8px;border:1px dashed var(--border);border-radius:8px;background:none;color:var(--text-muted);font-size:13px;cursor:pointer;transition:all .2s;font-family:inherit}
.add-row-btn:hover{border-color:var(--saffron);color:var(--saffron)}
.dropoff-row{display:flex;gap:8px;margin-bottom:8px;align-items:center}
.dropoff-row .form-input{flex:1}

/* ── FAQ Admin Form ─────────────────────────────── */
.faq-admin-row{display:flex;gap:8px;margin-bottom:12px;align-items:flex-start}
.faq-admin-fields{display:flex;flex-direction:column;gap:6px;flex:1}
.faq-admin-fields .faq-question{font-weight:500}
.faq-remove-btn{margin-top:6px;flex-shrink:0}
.btn-add-faq{width:100%;padding:8px;border:1px dashed var(--border);border-radius:8px;background:none;color:var(--text-muted);font-size:13px;cursor:pointer;transition:all .2s;font-family:inherit;margin-top:4px}
.btn-add-faq:hover{border-color:var(--saffron);color:var(--saffron)}

/* ── FAQ Display Cards ───────────────────────────── */
.faq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: box-shadow var(--dur-fast) var(--ease);
}
.faq-card:hover { box-shadow: 0 4px 14px rgba(26,94,168,0.08); }
.faq-card-question { font-size: 14px; font-weight: 600; color: var(--color-primary-darker); margin-bottom: 8px; }
.faq-card-answer { font-size: 13px; color: var(--text-muted); line-height: 1.7; padding-left: 14px; border-left: 3px solid var(--saffron); }

/* ── Rich Text Rendering on Card ─────────────────── */
.rich-text{font-family:'Inter',system-ui,sans-serif;font-size:14px;color:var(--text);line-height:1.7}
.rich-text p{margin-bottom:10px;font-size:14px;color:var(--text);line-height:1.7}
.rich-text ul{padding-left:18px;margin-bottom:10px;list-style:none}
.rich-text ul li{font-size:14px;color:var(--text);line-height:1.75;margin-bottom:5px;padding-left:4px;position:relative}
.rich-text ul li::before{content:'•';color:var(--saffron);font-size:16px;position:absolute;left:-14px;top:-1px}
.rich-text ol{padding-left:18px;margin-bottom:10px}
.rich-text ol li{font-size:14px;color:var(--text);line-height:1.75;margin-bottom:4px}
.detail-note {
  background: var(--saffron-pale);
  border-left: 3px solid var(--saffron);
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--brown);
  margin-top: 8px;
  line-height: 1.6;
}

/* ── Item-based Slots on Card ────────────────────── */
.item-slots-list{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.item-slot-row{display:flex;align-items:center;justify-content:space-between;background:var(--cream);border:1px solid var(--border);border-radius:10px;padding:10px 14px}
.item-slot-name{font-size:13px;color:var(--brown);font-weight:500}
.item-slot-meta{font-size:12px;color:var(--text-muted)}
.item-slot-btn{padding:5px 14px;border-radius:8px;background:var(--saffron);color:var(--white);border:none;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}
.item-slot-btn:hover{background:var(--brown)}
.item-slot-btn:disabled{background:var(--border);color:var(--text-muted);cursor:not-allowed}

/* ── Section Grid (items signupType) ──────────────────── */
.section-grid-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.section-grid-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ── Rich Text Headings ────────────────────────────── */
.rich-h2 { font-family: 'Cinzel', Georgia, serif; font-size: 1.45rem; font-weight: 600; color: var(--color-primary-darker); margin: 20px 0 8px; }
.rich-h3 { font-family: 'Cinzel', Georgia, serif; font-size: 1.25rem; font-weight: 600; color: var(--color-primary-darker); margin: 16px 0 6px; }
.rich-h4 { font-family: 'Cinzel', Georgia, serif; font-size: 1.05rem; font-weight: 600; color: var(--color-primary-darker); margin: 14px 0 4px; }
.rich-h5 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin: 12px 0 4px; }
/* Detail page: tone down rich headings to match body text style */
.detail-inner .rich-h2 {
  font-family: 'Inter', system-ui, sans-serif; font-size: 15px; font-weight: 600; color: var(--text); margin: 12px 0 6px;
}
.detail-inner .rich-h3 {
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px; font-weight: 600; color: var(--text); margin: 10px 0 4px;
}
.detail-inner .rich-h4 {
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px; font-weight: 600; color: var(--text); margin: 8px 0 4px;
}
.detail-inner .rich-h5 {
  font-family: 'Inter', system-ui, sans-serif; font-size: 13px; color: var(--text-muted);
}

/* ── Rich Text Table ───────────────────────────────── */
.rich-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
}
.rich-table th,
.rich-table td {
  text-align: left;
  padding: 8px 12px;
  border: 1px solid var(--border);
}
.rich-table thead th {
  background: var(--cream);
  font-weight: 600;
  color: var(--brown);
}
.rich-table tbody tr:nth-child(even) {
  background: #faf8f5;
}
.section-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s;
  cursor: pointer;
}
.section-card:hover {
  box-shadow: var(--shadow);
}
.section-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}
.section-card-info {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  padding-left: 30px;
}
.section-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-card-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-card-check--checked {
  background: var(--saffron);
  border-color: var(--saffron);
}
.section-card-check--checked::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.section-card-check--disabled {
  background: var(--border);
  border-color: var(--border);
}
.section-card--selected {
  border-color: var(--saffron);
  background: var(--saffron-pale);
  box-shadow: 0 0 0 2px rgba(232,116,42,.15);
}
.section-card--full {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.section-card--full .section-card-name {
  color: var(--text-muted);
}
.section-submit-btn {
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  border-radius: 8px;
  background: var(--saffron);
  color: var(--white);
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-med) var(--ease);
  box-shadow: var(--shadow-saffron);
}
.section-submit-btn:hover:not(:disabled) {
  background: var(--color-accent-dark);
}
.section-submit-btn:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}
/* ── End Section Grid ────────────────────────────────── */

.btn-whatsapp{background:#25D366!important}
.btn-whatsapp:hover{background:#1da851!important}
.btn-external-link{background:var(--brown)!important}

/* ── Dashboard improvements ──────────────────────── */
.dash-hero-inner{max-width:900px;margin:0 auto}
.dash-email-row{max-width:900px;margin:12px auto 0;display:flex;align-items:center;gap:10px;opacity:.8}
.dash-email-row span{font-size:13px;color:rgba(255,255,255,.85)}
.dash-change-btn{background:rgba(255,255,255,.2);border:none;color:#fff;font-size:12px;padding:4px 10px;border-radius:8px;cursor:pointer}
.dash-change-btn:hover{background:rgba(255,255,255,.35)}
.past-count-badge{font-size:13px;font-weight:400;color:var(--text-muted);font-family:'Inter',sans-serif}

/* Upcoming item with cancel */
.upcoming-item{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:16px 20px;display:flex;align-items:center;gap:16px;margin-bottom:12px;box-shadow:var(--shadow);flex-wrap:wrap}
.upcoming-date-box{background:var(--saffron-pale);border-radius:8px;padding:8px 12px;text-align:center;min-width:52px;flex-shrink:0}
.date-day{font-family:'Cinzel', Georgia, serif;font-size:26px;font-weight:600;color:var(--saffron);line-height:1}
.date-mon{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em}
.upcoming-info{flex:1;min-width:160px}
.upcoming-title{font-weight:500;color:var(--brown);margin-bottom:2px;font-size:15px}
.upcoming-meta-row{font-size:12px;color:var(--text-muted)}
.cancel-signup-btn{background:var(--red-light);color:var(--red);border:none;padding:6px 14px;border-radius:8px;font-size:12px;cursor:pointer;flex-shrink:0;font-family:inherit;transition:all .2s}
.cancel-signup-btn:hover{background:var(--red);color:var(--white)}
.upcoming-date-block{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:16px 20px;display:flex;align-items:flex-start;gap:16px;margin-bottom:12px;box-shadow:var(--shadow)}
.upcoming-date-col{flex-shrink:0}
.upcoming-services-col{flex:1;min-width:0}
.upcoming-service-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 0}
.upcoming-service-row+.upcoming-service-row{border-top:1px solid var(--border)}

/* Next Sessions tab */
.ns-week-header{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);padding:14px 22px 4px;background:var(--cream)}
.next-session-row{padding:14px 22px;border-bottom:1px solid var(--border)}
.next-session-row:last-child{border-bottom:none}
.ns-row-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;flex-wrap:wrap;gap:8px}
.next-session-date{font-weight:700;color:var(--text);font-size:14px}
.ns-status{display:flex;align-items:center}
.ns-badge{font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;white-space:nowrap}
.ns-badge-open{background:var(--green-light);color:var(--green)}
.ns-badge-full{background:var(--red-light);color:var(--red)}
.ns-bar-row{display:flex;align-items:center;gap:8px}
.next-session-bar{flex:1;height:6px;background:var(--border);border-radius:3px;width:100px}
.next-session-fill{height:100%;border-radius:3px;background:var(--saffron);transition:width .3s}
.next-session-fill.full{background:var(--red)}
.ns-spots-left{font-size:12px;color:var(--saffron);font-weight:700;white-space:nowrap}
.ns-names{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.ns-names-empty{font-size:12px;color:var(--text-muted);font-style:italic;margin-bottom:10px}

/* Date row checkbox */
.ns-date-check-label{display:flex;align-items:center;cursor:pointer;flex-shrink:0;margin-right:8px}
.ns-date-check{display:none}
.ns-date-check-custom{width:22px;height:22px;border:2px solid var(--border);border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .2s}
.ns-date-check:checked+.ns-date-check-custom{background:var(--saffron);border-color:var(--saffron)}
.ns-date-check:checked+.ns-date-check-custom::after{content:'✓';color:#fff;font-size:14px;font-weight:700}
.next-session-row:not(.ns-row-full) .ns-row-top{cursor:pointer}
.next-session-row:not(.ns-row-full):hover{background:rgba(232,116,42,0.04)}

/* Batch signup button */
.ns-batch-signup{padding:14px 22px;position:sticky;bottom:0;background:var(--bg-card);border-top:1px solid var(--border)}
.ns-batch-signup-btn{width:100%;font-size:15px;padding:14px;border-radius:10px}
.ns-name-chip{background:var(--saffron-pale);color:var(--text);font-size:12px;padding:3px 10px;border-radius:20px;font-weight:500}
.ns-name-chip.ns-more{background:var(--border);color:var(--text-muted)}
.ns-row-action{margin-top:2px}
.ns-full-label{font-size:12px;color:var(--red);font-weight:600}
.next-session-btn{background:var(--saffron);color:var(--white);border:none;padding:7px 16px;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .2s;display:inline-block;text-decoration:none}
.next-session-btn:hover{background:var(--nav-orange)}
.ns-more-btn{background:none;border:1.5px solid var(--border);color:var(--saffron);font-size:13px;font-weight:600;padding:9px 20px;border-radius:8px;cursor:pointer;font-family:inherit;transition:all .2s;width:100%}
.ns-more-btn:hover{border-color:var(--saffron);background:var(--saffron-pale)}
/* Modal more-dates list rows */
.moredate-row{padding:14px 0;border-bottom:1px solid var(--border)}
.moredate-row:last-child{border-bottom:none}

/* Past list */
.past-item{display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid var(--border);background:var(--white)}
.past-item:first-child{border-radius:12px 14px 0 0}
.past-item:last-child{border-bottom:none;border-radius:0 0 14px 14px}
.past-list-wrap{border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
.past-check{width:22px;height:22px;background:var(--green-light);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--green);flex-shrink:0}
.past-info{flex:1}
.past-title{font-size:14px;font-weight:500;color:var(--brown)}
.past-date{font-size:12px;color:var(--text-muted)}

/* Cancel contact box */
.cancel-contact-box{background:var(--saffron-pale);border-radius:10px;padding:14px 16px;font-size:13px;color:var(--brown);line-height:1.7;margin-top:8px}
.cancel-contact-box strong{font-weight:500}

/* ── Admin Signups Redesign ─────────────────── */
.signups-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.signup-upcoming-label {
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.signup-activity-select {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  max-width: 220px;
}
.signup-count-badge {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.signups-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #B8A88A;
  margin: 20px 0 8px;
}
.signup-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.signup-group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 18px 10px;
}
.signup-group-title { font-weight: 700; font-size: 15px; color: var(--text); }
.signup-group-date  { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.signup-group-slots { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.slots-filled-text  { font-size: 13px; font-weight: 600; }
.slots-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}
.slots-badge.full { background: #FDECEA; color: #E53935; }
.slots-badge.near { background: #FFF3E0; color: #FFA726; }
.slots-badge.open { background: #E8F5EE; color: #2D7A4F; }
.signup-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0 8px;
}
.signup-page-btn {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.signup-page-btn:hover:not(:disabled) { background: var(--saffron-pale); }
.signup-page-btn:disabled { opacity: .4; cursor: default; }
.signup-page-info { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.no-signups-yet { padding: 12px 18px; color: #bbb; font-size: 13px; font-style: italic; }
.signup-slots-bar-wrap {
  height: 5px;
  background: #F0E8DE;
  margin: 0 18px 0;
}
.signup-slots-bar { height: 100%; border-radius: 3px; transition: width .3s; }
.signup-volunteers { padding: 8px 0; }
.signup-vol-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-top: 1px solid var(--saffron-pale);
}
.signup-vol-row:first-child { border-top: none; }
.signup-vol-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A5EA8, #154D8A);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.signup-vol-info { flex: 1; min-width: 0; }
.signup-vol-name    { font-weight: 600; font-size: 14px; color: var(--text); }
.signup-vol-contact { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.reminder-badge.email { background: #E8F5EE; color: #2D7A4F; }
.reminder-badge.sms   { background: #EEF2FF; color: #4338CA; }
.signup-delete-btn {
  background: #C0392B;
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
}
.signup-delete-btn:hover { background: #A93226; }

/* ── Responsive ──────────────────────────────────────────────────
   RULE: Same branding on all screens. Layout adapts (horizontal →
   stacked). No hidden content. No horizontal scroll.
──────────────────────────────────────────────────────────────── */

/* ── Mobile quote strip (below hero, mobile only) ── */
/* ── Hero Carousel ───────────────────────────── */
.hero-static-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}

/* Mobile hero buttons (below hero) — hidden on desktop */
.mobile-hero-btns { display: none; }

.mobile-quote-strip {
  display: none; /* hidden on desktop */
}
@media (max-width: 640px) {
  .mobile-quote-strip {
    display: block;
    background: #fdf8f0;
    padding: 12px 20px 14px;
    border-bottom: 1px solid #e8d5b0;
  }
  .mobile-quote-card {
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 92%;
    margin: 0 auto;
  }
  .mobile-quote-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c47e1a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
  .mobile-quote-label::before,
  .mobile-quote-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4a85a);
  }
  .mobile-quote-label::after {
    background: linear-gradient(to left, transparent, #d4a85a);
  }
  .mobile-quote-line { display: none; }
  .mobile-quote-text {
    font-family: 'Source Serif 4', Georgia, serif;
    font-style: italic;
    font-size: 10.5px;
    color: #2e1f08;
    line-height: 1.5;
    margin: 0 0 6px 0;
    white-space: normal;
    word-wrap: break-word;
  }
  .mobile-quote-cite {
    font-size: 9.5px;
    color: #8a5a2b;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
}

/* Prevent anything from causing horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }

@media (max-width: 900px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* Shimmer on desktop hero — hide since mobile uses hero-btns::before instead */
  .hero::before { display: none !important; }

  /* ── Hero: carousel fills full width, smooth rounded corners ── */
  .hero {
    position: relative !important;
    height: 72vw !important;
    min-height: unset !important;
    max-height: unset !important;
    overflow: hidden !important;
    background: #2a1005 !important;
    border-radius: 0 0 22px 22px !important;
    border-bottom: none !important;
    display: block !important;
  }

  /* Mobile: stack buttons vertically */
  .hero-btns-below {
    flex-direction: column;
    gap: 10px;
    padding: 0 0 20px;
    margin-top: -28px;
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 54px, #fdf8f0 54px);
  }
  .hero-btns-below .hero-btn-primary,
  .hero-btns-below .hero-btn-ghost {
    width: 100%;
    font-size: 16px;
    padding: 17px 24px;
    border-radius: 0;
  }

  /* ── Nav: hamburger collapses links ── */
  #navbar { box-shadow: none; }
  .hamburger { display: block; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--color-primary);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    gap: 4px; box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  }
  .nav-links.open { display: flex; }
  .nav-link { text-align: left; border-radius: 10px; }
  .nav-dropdown-wrap { width: 100%; display: flex; flex-direction: column; height: auto; align-items: center; }
  .nav-dropdown-wrap > .nav-link { text-align: center; }
  .nav-dropdown-menu {
    display: none !important;
    position: static !important;
    transform: none !important;
    background: rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
    padding: 6px 0 !important;
    min-width: unset !important;
    border-top: none !important;
    width: 50%;
    border-radius: 8px !important;
    margin-top: 2px;
  }
  .nav-dropdown-menu.mobile-open { display: block !important; }
  .nav-dropdown-menu .nav-dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 0;
    text-align: center;
  }
  .nav-dd-arrow { display: inline-block; transition: transform 0.2s ease; }
  .nav-dropdown-wrap:hover .nav-dd-arrow { transform: none; }
  .nav-dropdown-wrap.open .nav-dd-arrow { transform: rotate(180deg); }

  /* ── Activities: single column stack + mobile back button ── */
  .activities-grid { grid-template-columns: 1fr; }
  .activities-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 16px 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--saffron);
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    padding: 6px 0;
    letter-spacing: 0.01em;
  }

  /* ── Forms / Modals ── */
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 24px; }

  /* ── Upcoming strip: tighter top gap on mobile ── */
  .upcoming-strip { padding: 14px 16px 32px; }

  /* ── Dashboard ── */
  .dash-hero { padding: 24px 16px; }

  /* ── Activity detail ── */
  .detail-inner { padding: 14px 16px 48px; }
  .detail-hero-title { font-size: 22px; }
  .detail-hero-img-wrap { aspect-ratio: 860 / 220; height: auto; }
  .detail-hero-actions { grid-template-columns: 1fr 1fr; }
}

/* ── Grocery Donation Template ─────────────────── */
.grocery-description {
  font-size: 15px; color: var(--text); line-height: 1.75;
  margin: 16px 0; padding: 16px 18px;
  background: var(--cream); border-radius: 10px; border: 1px solid var(--border);
}
.detail-card {
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 20px;
  border: 1px solid var(--border);
}
.detail-card--purple {
  background: #F9F5FF;
  border-color: #D1C4E9;
}
.detail-card--blue {
  background: #F0F7FF;
  border-color: #BBDEFB;
  margin-top: 12px;
}
.grocery-section { margin: 12px 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.grocery-accordion {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; background: var(--saffron-pale); cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 14px; color: var(--brown);
}
.grocery-accordion-body { padding: 14px 16px; display: none; }
.grocery-accordion-body ul { padding-left: 18px; list-style: none; margin-bottom: 0; }
.grocery-accordion-body ul li { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 5px; padding-left: 4px; position: relative; }
.grocery-accordion-body ul li::before { content: '•'; color: var(--saffron); font-size: 20px; position: absolute; left: -14px; top: -1px; }
.grocery-accordion-body.open { display: block; }
.grocery-sub-accordion {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; background: #FFFAF3; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  border-top: 1px solid #F0E8DE; margin: 0 -16px;
}
.grocery-sub-body { padding: 10px 0; display: none; }
.grocery-sub-body.open { display: block; }
.grocery-this-week-badge {
  font-size: 10px; background: var(--saffron); color: #fff;
  border-radius: 10px; padding: 2px 8px; margin-left: auto; margin-right: 8px;
}
.accordion-chevron { transition: transform .2s; font-size: 11px; color: #8A5A2B; }
.accordion-chevron.small { font-size: 10px; }
.grocery-fulfill-section { margin-top: 24px; }
.grocery-fulfill-title { font-family: 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.method-icon { font-size: 28px; margin-bottom: 8px; }
.method-name { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.method-sub  { font-size: 12px; color: var(--text-muted); }
.grocery-method-steps {
  margin-top: 14px; background: var(--saffron-pale); border-radius: 12px;
  border: 1px solid var(--border); padding: 16px 18px;
}
.method-steps-title { font-weight: 700; font-size: 14px; color: var(--brown); margin-bottom: 10px; }
.method-steps-list { margin: 0; padding-left: 20px; }
.method-steps-list li { font-size: 14px; color: var(--text); line-height: 1.8; margin-bottom: 4px; }
/* Tile grocery badge */
.tile-grocery-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: var(--saffron-pale); color: var(--saffron); border: 1px solid var(--border);
  border-radius: 10px; padding: 2px 8px; margin-top: 4px;
}
/* Tile summary subtitle */
.tile-summary {
  font-size: 13px; color: var(--text-muted); margin: 4px 0 0; line-height: 1.55;
}

/* Grocery shopping list sub-headings */
.grocery-list-subhead {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brown);
  margin: 12px 0 6px;
}
.grocery-list-subhead--week {
  margin-top: 16px;
  color: var(--saffron);
}
.grocery-week-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* Grocery section headings */
.grocery-section-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  margin-top: 24px;
}
.grocery-section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* Method selection buttons */
.grocery-method-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.grocery-method-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--brown);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.grocery-method-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}
.grocery-method-btn.selected {
  border-color: var(--saffron);
  background: var(--saffron-pale);
  color: var(--brown);
}

/* Grocery accordion open state */
.grocery-accordion-body.open {
  display: block;
}

/* Grocery signup button — full width */
#grocery-signup-btn {
  width: 100%;
  margin-top: 24px;
  padding: 13px;
  border-radius: 8px;
  font-size: 15px;
}
#grocery-signup-btn:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Sign-In Prompt Modal ─────────────────────────── */
.sign-in-prompt-modal {
  max-width: 400px;
  text-align: center;
  padding: 40px 36px 32px;
}
.sign-in-prompt-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.sign-in-prompt-org {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--saffron);
}
.sign-in-prompt-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary-darker);
  margin-bottom: 10px;
}
.sign-in-prompt-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.sign-in-prompt-google-btn {
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 30px;
  width: 100%;
  justify-content: center;
}
/* ── Nav user chip dropdown ──────────────────────── */
.nav-user-chip {
  position: relative;
  cursor: pointer;
}
.nav-chip-arrow {
  font-size: 10px;
  font-family: 'Cinzel', Georgia, serif;
  color: rgba(255,255,255,0.75);
  margin-left: 2px;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-user-chip.open .nav-chip-arrow {
  transform: rotate(180deg);
}
.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  min-width: 160px;
  overflow: hidden;
  z-index: 300;
}
.nav-user-chip.open .nav-user-dropdown {
  display: block;
}
.nav-dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}
.nav-dropdown-item:hover { background: var(--color-primary-tint); }
.nav-dropdown-signout { color: var(--red); }
.nav-dropdown-signout:hover { background: var(--red-light); }

/* ── Admin Activity Form Accordions ─────────────── */
.form-accordion { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.form-accordion-summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); cursor: pointer; list-style: none; user-select: none; background: var(--cream); }
.form-accordion-summary::-webkit-details-marker { display: none; }
.form-accordion[open] .acc-chevron { transform: rotate(180deg); }
.acc-chevron { transition: transform .2s; font-size: 12px; color: var(--text-muted); }
.form-accordion-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }

/* ── Items editor table (Pick an item signup type) ── */
.items-editor-table { width:100%; border-collapse:collapse; font-size:13px; }
.items-editor-table th { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); padding:6px 8px; border-bottom:1px solid var(--border); text-align:left; }
.items-editor-table td { padding:5px 6px; border-bottom:1px solid var(--border); vertical-align:middle; }
.items-editor-table .item-name-input { width:100%; }
.col-drag { width:28px; }
.col-slots { width:80px; }
.col-qty { width:75px; }
.col-totalqty { width:80px; }
.col-numslots { width:80px; }
.col-qtyslot  { width:80px; text-align:center; color:var(--text-muted); font-size:12px; }
.col-recipient { min-width:140px; }
.col-del { width:32px; }
.drag-handle-item { cursor:grab; color:var(--text-muted); font-size:16px; }
.drag-handle-item:active { cursor:grabbing; }
.items-table-actions { display:flex; gap:8px; margin-top:10px; }
.btn-add-item-row { font-size:12px; padding:6px 14px; border:1px dashed var(--border); border-radius:8px; background:transparent; color:var(--brown); cursor:pointer; }
.btn-add-item-row:hover { background:var(--saffron-pale); }
.btn-bulk-paste { font-size:12px; padding:6px 14px; border:1px solid var(--border); border-radius:8px; background:transparent; color:var(--text-muted); cursor:pointer; }
.btn-bulk-paste:hover { background:var(--saffron-pale); }
.btn-del-item-row { background:none; border:none; color:var(--text-muted); font-size:18px; cursor:pointer; padding:0 4px; line-height:1; }
.btn-del-item-row:hover { color:var(--red); }
.item-editor-row.drag-over-item { background:var(--saffron-pale); outline:2px dashed var(--saffron); }
.item-group-row td { background: var(--saffron-pale); border-bottom: 1px solid var(--border); }
.item-group-name-input { background: transparent !important; border: 1px dashed var(--border) !important; font-weight: 700 !important; }
.item-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brown); padding: 14px 0 6px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }

/* ── Item Parent Cards (volunteer slot picker redesign) ── */
.item-parent-card { border:1px solid var(--border); border-radius:12px; padding:16px 18px; margin-bottom:12px; background:var(--white); }
.item-parent-header { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.item-total-badge { font-size:11px; background:var(--saffron-pale); color:var(--brown); border-radius:20px; padding:2px 10px; font-weight:600; }
.item-recipient-line { font-size:12px; color:var(--saffron); font-weight:600; margin-bottom:4px; }
.item-note-line { font-size:12px; color:var(--text-muted); font-style:italic; margin-bottom:10px; }
.item-subslots { display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
.subslot-row { display:flex; align-items:center; gap:10px; padding:8px 12px; border-radius:8px; background:var(--cream); cursor:pointer; }
.subslot-row.slot-filled { opacity:.5; cursor:not-allowed; }
.subslot-check { width:18px; height:18px; accent-color:var(--saffron); cursor:pointer; }
.subslot-label { flex:1; font-size:13px; }
.subslot-status { font-size:11px; font-weight:600; padding:2px 8px; border-radius:10px; }
.subslot-status.open { background:#e8f5e9; color:#2e7d32; }
.subslot-status.filled { background:#fce4e4; color:#c62828; }
.item-filled-comment { font-size:12px; color:var(--text-muted); font-style:italic; padding:8px 12px 4px; }
.item-comment-box { margin-top:10px; padding-top:10px; border-top:1px solid var(--border); }
.item-comment-label { font-size:11px; font-weight:600; color:var(--text-muted); display:block; margin-bottom:6px; text-transform:uppercase; letter-spacing:.05em; }
.item-qtyslot-display { font-size:12px; color:var(--text-muted); font-weight:600; }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: #05132A;
  padding: 44px 24px 30px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  position: relative;
}
/* Sleek saffron accent line — full width, peaks gold in center, fades at both ends */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #F7941D 18%, #FFD700 50%, #F7941D 82%, transparent 100%);
}
.footer-inner { max-width: 760px; margin: 0 auto; }
.footer-brand { margin-bottom: 14px; }
.footer-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 20px; font-weight: 600; color: #fff;
  display: block; margin-bottom: 7px;
  letter-spacing: 0.05em;
}
.footer-tagline {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.footer-divider {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, #F7941D 50%, transparent);
  margin: 16px auto;
}
.footer-feedback-link {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.footer-feedback-link:hover {
  color: #FAC47A;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}

/* ── Floating Feedback Button + Modal ─────────── */
.feedback-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feedback-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.feedback-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feedback-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  position: relative;
}
.feedback-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.feedback-title {
  text-align: center;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}
.feedback-emojis {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.feedback-emoji {
  font-size: 32px;
  background: none;
  border: 2px solid transparent;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  cursor: pointer;
  transition: all 0.15s ease;
  filter: grayscale(0.7);
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feedback-emoji:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.15);
}
.feedback-emoji.selected {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.2);
  border-color: var(--color-primary);
}
.feedback-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.feedback-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 14px;
}
.feedback-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 18px;
}
.feedback-submit {
  width: 100%;
  padding: 12px;
  background: var(--color-primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Cinzel', Georgia, serif;
  cursor: pointer;
  transition: background 0.2s ease;
}
.feedback-submit:hover { background: var(--color-primary-dark); }
.feedback-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.feedback-select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  background: var(--white);
}
.feedback-file-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.feedback-file-btn {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.feedback-file-btn:hover { background: var(--border); }
.feedback-file-name {
  font-size: 13px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Admin Feedback List ─────────────────── */
.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.feedback-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.feedback-card-rating { font-size: 24px; }
.feedback-card-date { font-size: 12px; color: var(--text-muted); }
.feedback-card-comment { font-size: 14px; color: var(--text); margin-bottom: 6px; }
.feedback-card-email { font-size: 13px; color: var(--text-muted); }

/* ── Tile slot availability bar ─────────────────── */
.tile-slots { display: none; } /* slots/full removed from tile view */
.tile-slots-bar-bg { display: none; }
.tile-slots-bar-fill { display: none; }
.tile-slots-label { display: none; }
.tile-slots-label.tile-slots-full { display: none; }

/* ── Abbreviation tooltip hint ──────────────────── */
abbr[title] { text-decoration: underline dotted var(--text-muted); cursor: help; }

/* ── Sarva Dharma nav icon ───────────────────────── */
.sarva-dharma-icon { height: 46px; width: auto; flex-shrink: 0; object-fit: contain; }
.nav-brand { display: flex; flex-direction: column; gap: 0px; justify-content: center; }
.org-name { font-family: 'Cinzel', Georgia, serif; font-size: 22px; font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: 0.02em; white-space: nowrap; }
.org-tagline { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: .09em; font-weight: 400; text-transform: uppercase; margin-top: 2px; text-align: center; }

@media (max-width: 768px) {
  .org-name { font-size: 20px; }
  .org-tagline { display: none; }
  .sarva-dharma-icon { height: 44px; }
}

/* .nav-dashboard-btn — removed special styling, matches regular nav-link */

/* ── Ghost button (for dark hero bg) ─────────── */
.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.90);
  border: 1.5px solid rgba(255,255,255,0.55);
  padding: 10px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all var(--dur-med) var(--ease);
  letter-spacing: 0.02em;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.90);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Swami Banner ────────────────────────────────── */
.swami-banner {
  background: linear-gradient(135deg, #05132A 0%, #0A1E4A 50%, #103B6A 100%);
  border-bottom: 3px solid rgba(247,148,29,0.3);
  padding: 56px 24px;
}
.swami-banner-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap; justify-content: center;
}
.swami-photo-slot {
  flex-shrink: 0;
  width: 170px; height: 170px;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #091E3F;
  box-shadow: 0 0 0 3px rgba(247,148,29,0.35), 0 0 32px rgba(247,148,29,0.18);
}
.swami-photo-slot img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.swami-om-shrine {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.swami-quote-block { flex: 1; min-width: 280px; text-align: left; }
.swami-quote-eyebrow {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: #FAC47A; margin-bottom: 14px;
  display: inline-block;
  background: rgba(247,148,29,.12);
  border: 1px solid rgba(247,148,29,.3);
  border-radius: 999px; padding: 3px 12px;
}
.swami-quote-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px; font-style: italic; line-height: 1.8;
  color: rgba(255,255,255,0.92); margin: 0 0 16px;
  border-left: 3px solid #F7941D; padding-left: 20px;
}
.swami-quote-cite {
  font-size: 13px; font-style: normal;
  color: rgba(250,196,122,0.7); letter-spacing: 0.03em;
  padding-left: 23px; display: block;
}

/* ── Mission Strip ───────────────────────────────── */
.mission-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.mission-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.mission-card {
  text-align: center; padding: 28px 20px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--cream);
  transition: box-shadow var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.mission-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mission-icon { font-size: 32px; margin-bottom: 12px; }
.mission-card-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 16px; font-weight: 600;
  color: var(--color-primary-darker); margin-bottom: 10px;
}
.mission-card-body { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

@media (max-width: 700px) {
  .mission-inner { grid-template-columns: 1fr; }
  .swami-banner-inner { flex-direction: column; text-align: center; }
  .swami-quote-block { text-align: center; }
  .swami-quote-text { border-left: none; padding-left: 0; border-top: 3px solid #F7941D; padding-top: 16px; }
  .swami-quote-cite { padding-left: 0; }
}

/* =========================
   GLOBAL MOBILE FIX
========================= */
html, body {
  overflow-x: hidden;
}

/* =========================
   CONTAINER FIX
========================= */
.page {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* =========================
   NAVBAR FIX
========================= */
@media (max-width: 768px) {
  .nav-inner {
    padding: 10px 16px;
  }

  .sarva-dharma-icon {
    width: 44px;
    height: 44px;
  }
}

/* =========================
   HERO SECTION FIX
========================= */
.hero {
  width: 100%;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero {
    height: 65vh;
  }

  .hero-quote-corner {
    left: 16px;
    right: 16px;
    bottom: 100px;
    max-width: 100%;
  }

  .hero-quote-text {
    font-size: 14px;
    white-space: normal;
  }

  .hero-quote-cite {
    font-size: 12px;
  }
}

/* =========================
   BUTTON FIX (VERY IMPORTANT)
========================= */
@media (max-width: 768px) {
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-btn-primary,
  .hero-btn-ghost {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   GRID FIX
========================= */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   TEXT SCALING
========================= */
@media (max-width: 768px) {
  h1 {
    font-size: 26px;
    text-align: center;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }
}

/* ── Cookie Consent Banner ─────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: #0a1628;
  border-top: 2px solid #F7941D;
  padding: 18px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  animation: slideUpConsent 0.4s ease-out;
}
@keyframes slideUpConsent {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-consent-text {
  flex: 1;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  line-height: 1.5;
}
.cookie-consent-text strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
  font-family: 'Cinzel', Georgia, serif;
}
.cookie-consent-text p { margin-top: 4px; }
.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: #F7941D;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.btn-cookie-accept:hover { background: #e0820f; }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, color 0.2s;
}
.btn-cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── Data Consent Checkbox (signup form) ───────── */
.consent-group {
  margin-top: 12px;
  margin-bottom: 4px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #F7941D;
  cursor: pointer;
}

/* ── Welcome Modal ─────────────────────────────── */
.modal-welcome {
  max-width: 420px;
  padding: 32px 28px 28px;
}

/* ── Share Button (activity tile & detail) ─────── */
.tile-share-btn {
  background: none;
  border: 1px solid rgba(138,90,43,0.25);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #8a5a2b;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.tile-share-btn:hover {
  background: rgba(247,148,29,0.1);
  border-color: #F7941D;
  color: #F7941D;
}
.detail-share-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.detail-share-btn:hover {
  background: #fff;
  transform: scale(1.08);
}
.detail-hero-img-wrap {
  position: relative;
}
.tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
