/* ============================================
   健康講座報名表單 — 樣式表
   ============================================ */

:root {
  /* 明亮喜氣配色 - 開心快樂的綠色系 */
  --primary: #34a853;
  --primary-dark: #2a9444;
  --primary-light: #5cc87a;
  --accent: #e8f5ec;
  --accent-deep: #c8e6c9;
  --text: #1b1b2f;
  --text-light: #37474f;
  --muted: #546e7a;
  --bg: #f0faf4;
  --white: #ffffff;
  --border: #c8e6c9;
  --danger: #e53935;
  --warning: #f9a825;
  --success: #43a047;
  --shadow: 0 18px 45px rgba(52, 168, 83, .15);
  --shadow-sm: 0 4px 14px rgba(52, 168, 83, .1);
  --radius: 16px;
  --radius-lg: 28px;
  --transition: .25s ease;
}

/* ---------- 基礎重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC",
               "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }

/* ---------- 跳過導覽連結 ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  font-size: 15px;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--warning);
  outline-offset: 2px;
}

/* ---------- 佈局 ---------- */
.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 60px;
}

/* ---------- 活動主題介紹卡片 ---------- */
.intro-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(200,230,201,.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.intro-card::after {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(52,168,83,.15);
  right: -80px; top: -80px;
  z-index: 0;
}
.intro-card .intro-content { position: relative; z-index: 1; }

.tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(52,168,83,.12);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -1px;
}
.subtitle {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

/* ---------- 資訊欄位 ---------- */
.info { display: grid; gap: 14px; }
.info-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(200,230,201,.5);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent);
  font-size: 22px;
}
.label { color: var(--muted); font-size: 13px; margin-bottom: 3px; }
.value { font-weight: 700; line-height: 1.5; }

/* ---------- 表單卡片 ---------- */
.form-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(200,230,201,.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 38px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.form-card h2 { margin: 0 0 8px; font-size: 28px; }
.form-intro { margin: 0 0 26px; color: var(--muted); line-height: 1.7; }

/* ---------- 步驟指示器 ---------- */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  padding: 20px 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.step-number {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  transition: var(--transition);
}
.step-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  transition: var(--transition);
}
.step.active .step-number {
  background: var(--primary);
  color: white;
}
.step.active .step-label {
  color: var(--primary);
}
.step.completed .step-number {
  background: var(--success);
  color: white;
}
.step.completed .step-label {
  color: var(--success);
}
.step-line {
  width: 60px;
  height: 3px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.step-line.active {
  background: var(--success);
}

/* ---------- 表單元素 ---------- */
label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 700;
}
.required { color: var(--danger); margin-left: 4px; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  background: #fff;
  transition: var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(40,124,115,.11);
}
input::placeholder, textarea::placeholder { color: #b0bcc6; }
.hint { color: var(--muted); font-size: 13px; margin-top: 7px; }
.error {
  display: none;
  color: var(--danger);
  font-size: 13px;
  margin-top: 7px;
}
.error.visible { display: block; }

/* ---------- 按鈕 ---------- */
button {
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 16px 18px;
  margin-top: 28px;
  background: var(--primary);
  color: white;
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  transition: var(--transition);
}
button:hover { background: var(--primary-dark); transform: translateY(-1px); }
button:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-secondary {
  background: var(--accent-deep);
  color: var(--primary-dark);
  margin-top: 12px;
}
.btn-secondary:hover { background: var(--accent); }
.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 10px;
  margin-top: 0;
  width: auto;
  display: inline-block;
}
.btn-primary {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ---------- 確認頁面 ---------- */
.confirm-summary {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.confirm-row:last-child { border-bottom: none; }
.confirm-label {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}
.confirm-value {
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
}
.confirm-actions {
  display: flex;
  gap: 12px;
}
.confirm-actions button {
  flex: 1;
  margin-top: 0;
}

/* ---------- 隱私條款 ---------- */
.privacy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- 成功頁面 ---------- */
.success {
  display: none;
  text-align: center;
  padding: 28px 8px 8px;
  animation: fadeInUp .5s ease forwards;
}
.success-icon {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 38px;
  animation: popIn .4s ease forwards;
}
.success h2 { margin: 0 0 10px; font-size: 30px; animation: fadeInUp .5s ease .1s forwards; opacity: 0; }
.success-subtitle { color: var(--muted); margin: 0 0 28px; animation: fadeInUp .5s ease .2s forwards; opacity: 0; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(.5); }
  60% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* 成功頁面詳細資訊 */
.success-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 0 0 32px;
}
.detail-card {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: var(--transition);
}
.detail-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.detail-icon { font-size: 28px; }
.detail-info { flex: 1; }
.detail-label { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.detail-value { font-weight: 700; font-size: 15px; line-height: 1.5; }

/* 成功頁面操作按鈕 */
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.share-section {
  margin-top: 12px;
  text-align: center;
}
.share-label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.share-btn {
  width: auto;
  margin-top: 0;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.share-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }

/* ---------- 容量提示條 ---------- */
.capacity-bar {
  margin-top: 28px;
  padding: 16px 0;
}
.capacity-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.capacity-track {
  width: 100%;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  overflow: hidden;
}
.capacity-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width .5s ease, background .3s ease;
}
.capacity-fill.warning { background: var(--warning); }
.capacity-fill.danger { background: var(--danger); }

/* ---------- 頁腳 ---------- */
.footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 24px;
}

/* ============================================
   Swiper 小卡區域
   ============================================ */
.swiper-section {
  margin-top: 0;
  padding-top: 40px;
}
.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text);
}

/* ============================================
   活動主題介紹區塊（第一）
   ============================================ */
#introSection {
  margin-top: 0;
  padding-top: 40px;
}

/* ============================================
   講師陣容區塊（第二）
   ============================================ */
#instructorSection {
  padding-top: 50px;
  padding-bottom: 10px;
}

/* ============================================
   活動報名表單區塊（第三）
   ============================================ */
#formSection {
  padding-top: 50px;
  position: relative;
}

/* ============================================
   活動地點導航區塊（第四）
   ============================================ */
#mapSection {
  padding-top: 50px;
}
.swiper-wrapper {
  padding-bottom: 48px;
}
.swiper-slide {
  display: flex;
  align-items: stretch;
}
.slide-card {
  width: 100%;
  background: rgba(255,255,255,.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: transform var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}
.slide-info {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-info h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--primary-dark);
}
.slide-info p {
  margin: 0;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}
.slide-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.slide-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
}
/* 隱藏 slide-meta */
.slide-info:has(.slide-meta) {
  gap: 14px;
}
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}
.swiper-pagination {
  --swiper-pagination-color: var(--primary);
}

/* ============================================
   地圖區域
   ============================================ */
.map-section {
  margin-top: 40px;
}
.map-container {
  background: rgba(255,255,255,.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.map-header h2 {
  font-size: 22px;
  margin: 0;
}
.map-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.map-frame {
  min-height: 360px;
  background: #e8f0f3;
  display: grid;
  place-items: center;
  position: relative;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* 地圖 placeholder */
.map-placeholder {
  text-align: center;
  padding: 40px;
  color: var(--muted);
}
.map-placeholder p { margin-bottom: 12px; font-size: 18px; }
.map-placeholder a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}
.map-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.map-info h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin: 0;
}
.map-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}
.map-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 14px 24px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 8px;
}
.map-nav-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.map-nav-btn .map-icon { font-size: 20px; }

/* ============================================
   工作人員入口 / 彈窗
   ============================================ */
.staff-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: auto; min-height: 52px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  border: 0;
  padding: 0 18px 0 14px;
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(40,124,115,.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.staff-toggle:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.staff-toggle-icon { font-size: 20px; line-height: 1; }

/* 遮罩層 */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1000;
  opacity: 0;
  transition: opacity .3s;
}
.overlay.visible {
  display: block;
  opacity: 1;
}

/* 彈窗 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  place-items: center;
  padding: 20px;
}
.modal.visible { display: grid; }
.modal-box {
  background: rgba(255,255,255,.92);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 36px;
  animation: modalIn .3s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-header h2 {
  font-size: 26px;
  margin: 0;
  color: var(--primary-dark);
}
.modal-kicker {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.modal-close {
  width: 36px; height: 36px;
  border: 0;
  background: var(--accent);
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  transition: var(--transition);
  margin-top: 0;
}
.modal-close:hover { background: var(--accent-deep); }

/* 密碼輸入 */
.password-prompt {
  text-align: center;
  padding: 18px 0 8px;
}
.staff-lock-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: var(--accent);
  font-size: 28px;
}
.staff-prompt-title {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}
.staff-prompt-copy {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 14px;
}
.password-input-wrap {
  display: flex;
  gap: 12px;
  max-width: 390px;
  margin: 0 auto;
}
.password-input-wrap input { flex: 1; min-width: 0; }
.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;
}

/* 報名名單表格 */
.registry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 16px;
}
.registry-table th,
.registry-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.registry-table th {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
}
.registry-table tr:hover { background: #fafefe; }
.registry-table .empty-msg {
  text-align: center;
  padding: 32px;
  color: var(--muted);
}

/* ============================================
   載入指示器
   ============================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 3000;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.loading-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.loading-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--accent-deep);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

/* ---------- 響應式 ---------- */
@media (max-width: 800px) {
  .page { padding-top: 22px; width: min(100% - 20px, 680px); }
  .intro-card { padding: 30px 24px; }
  .form-card { padding: 28px 22px; }
  h1 { font-size: 38px; }

  .slide-card { grid-template-columns: 1fr; }
  .slide-card img { min-height: 180px; max-height: 220px; object-fit: cover; }
  .slide-info { padding: 18px; }
  .slide-info h3 { font-size: 19px; }

  .map-body { grid-template-columns: 1fr; }
  .map-frame { min-height: 240px; }

  .modal-box { padding: 24px; }
  .staff-toggle { min-height: 50px; bottom: 18px; right: 18px; }

  .step-line { width: 30px; }
  .confirm-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .page { padding: 16px 12px 40px; }
  .intro-card { padding: 24px 18px; }
  .form-card { padding: 22px 16px; }
  h1 { font-size: 32px; }
  .section-title { font-size: 24px; }
  .modal-box { padding: 22px 18px; }
  .password-input-wrap { flex-direction: column; }
  .password-input-wrap .btn-sm { width: 100%; }
  .step-line { width: 20px; }
  .success-details { grid-template-columns: 1fr; }
  .share-buttons { flex-direction: column; align-items: stretch; }
  .share-btn { justify-content: center; }
}

/* ---------- 載入動畫 ---------- */
.loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.loading::after {
  content: "";
  width: 18px; height: 18px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 訊息提示 ---------- */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  white-space: nowrap;
  max-width: 90vw;
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

/* ============================================
   暗色模式
   ============================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8f5e9;
    --text-light: #b0bec5;
    --muted: #90a4ae;
    --bg: #1a2e1a;
    --white: #2a3a2a;
    --border: #3a5a3a;
    --accent: #1b3a1b;
    --accent-deep: #162d16;
    --shadow: 0 18px 45px rgba(52, 168, 83, .2);
    --shadow-sm: 0 4px 14px rgba(52, 168, 83, .15);
  }

  body {
    background: #ffffff;
  }

  input, select, textarea {
    background: #1a2e1a;
    color: #e8f5e9;
    border-color: #3a5a3a;
  }

  .intro-card, .form-card {
    background: rgba(30, 50, 30, .94);
    border-color: rgba(58, 90, 58, .9);
  }

  .info-item { background: rgba(27, 58, 27, .8); }

  .slide-card { background: #1e3a1e; }

  .map-container { background: #1e3a1e; }
  .map-frame { background: #1a301a; }

  .detail-card { background: var(--accent); }

  .capacity-track { background: var(--accent); }

  .registry-table th { background: var(--accent); }
  .registry-table { color: #e8f5e9; }
}

/* ============================================
   列印樣式
   ============================================ */
@media print {
  .page { padding: 0; width: auto; }
  .staff-toggle, .skip-link, .loading-overlay { display: none !important; }
  .map-section, .swiper-section { display: none; }
  .form-card { box-shadow: none; border: 1px solid #ccc; }
  .success { display: block !important; }
  .confirm, #formView { display: none !important; }
  .step-indicator { display: none; }
  .capacity-bar { display: none; }
}
