/* Form Pendaftaran Natal 2026 — memakai variabel dari /gloriasatelit/css/style.css */

/* Irama vertikal lebih rapat — hanya halaman natal; ukuran huruf tidak diubah */
body { line-height: 1.45; }
main p { margin-bottom: 0.7em; }
main ul, main ol { margin-bottom: 0.7em; }


/* Hero */
.natal-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.natal-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.1rem;
  align-items: start;
  padding: 2.25rem 0 2.5rem;
}
.natal-intro h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1; max-width: 14ch; margin-bottom: 1rem; }
.natal-desc { font-size: 1.25rem; max-width: 38rem; }
.natal-desc ul { padding-left: 1.2em; }
.natal-desc li { margin-bottom: 0.25rem; }

/* Tempat poster: ganti dengan gambar lewat config.js (posterSrc) */
.poster-slot {
  margin: 0;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 26rem;
  justify-self: end;
  background: var(--paper);
  border: 2px dashed var(--line-strong);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
}
.poster-slot.has-poster { border: 0; background: none; aspect-ratio: auto; }
.poster-slot img.poster-img { width: 100%; height: auto; display: block; }
.poster-empty { text-align: center; padding: 1.4rem; color: var(--muted); }
.poster-logo { width: 11rem; margin: 0 auto 1rem; opacity: 0.35; }
.poster-title { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; color: var(--navy); margin: 0; font-weight: 650; letter-spacing: -0.02em; }
.poster-note { margin: 0.2rem 0 0; font-size: 1.125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }

/* Catatan + sisa kursi */
.natal-info { padding: 2.5rem 0; }
.natal-info-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.1rem; align-items: start; }
.natal-notes h2, .quota-board h2 { font-size: 2rem; }
.natal-notes ul { font-size: 1.2rem; }
.natal-notes li { margin-bottom: 0.4rem; }
.deadline {
  background: #FFF1C9;
  border-bottom: 2px solid var(--gold);
  padding: 0 0.3em;
  font-weight: 700;
  color: var(--navy);
}
.deadline.is-placeholder::after { content: " (belum diisi)"; font-weight: 600; color: var(--live); }
.blessing { font-size: 1.2rem; font-weight: 600; color: var(--navy); }

.quota-board { border-top: 4px solid var(--blue); background: var(--paper); padding: 1rem 0 0; }
.quota-sub { color: var(--muted); font-size: 1.125rem; margin-bottom: 0.4rem; }
.quota-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.quota-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.q-when { font-weight: 700; color: var(--navy); font-size: 1.2rem; line-height: 1.3; }
.q-what { color: var(--muted); font-size: 1.125rem; grid-column: 1; }
.q-left { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.q-left strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.9rem; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.q-left span { font-size: 1.125rem; color: var(--muted); }
.quota-foot { font-size: 1.125rem; color: var(--muted); margin-top: 0.65rem; }

/* Lencana status */
.badge {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  line-height: 1.3;
  white-space: nowrap;
}
.badge:empty { display: none; }
.badge.st-ok { background: var(--ok-bg); color: var(--ok); }
.badge.st-near { background: #FFF1C9; color: #6B4E00; }
.badge.st-full { background: var(--live-bg); color: var(--live); }
.quota-list .badge { margin-top: 0.25rem; }

/* Form */
.natal-form-section { padding: 2.8rem 0 3.5rem; }
.form-wrap { max-width: 46rem; }
.natal-form h2 { font-size: 2.4rem; margin-bottom: 0.2rem; }
.form-lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.25rem; }
.q {
  border: 0;
  margin: 0 0 0.85rem;
  padding: 1.05rem 1.5rem 0.85rem;
  background: var(--paper);
  border-left: 4px solid transparent;
  min-width: 0;
}
.q.has-error { border-left-color: var(--live); }
.q[hidden] { display: none; }
.q-label {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 0.4rem;
  padding: 0;
}
legend.q-label { float: left; width: 100%; }
legend.q-label + * { clear: both; }
.q-num {
  display: inline-grid;
  place-items: center;
  width: 2rem; height: 2rem;
  margin-right: 0.45rem;
  background: var(--blue);
  color: #fff;
  font-size: 1.1rem;
  vertical-align: 0.12em;
}
.q-hint { font-size: 1.125rem; color: var(--ink-soft); margin: -0.1rem 0 0.55rem; }
.q-input {
  font: inherit;
  font-size: 1.3rem;
  width: 100%;
  max-width: none;
  min-height: 3.6rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  margin: 0;
}
.q-input:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--blue); }
.q.has-error .q-input { border-color: var(--live); }
.q-err { margin: 0.4rem 0 0; color: var(--live); font-weight: 700; font-size: 1.15rem; }
.q-err:empty { display: none; }
.q-err::before { content: "! "; }

/* Pilihan besar */
.choices { display: grid; gap: 0.5rem; }
.choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 4rem;
  padding: 0.55rem 1rem;
  border: 2px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
}
.choice:hover { border-color: var(--blue); }
.choice input { width: 1.6rem; height: 1.6rem; margin: 0; accent-color: var(--blue); flex: none; }
.choice:has(input:checked) { border-color: var(--blue); background: #EEF2F8; box-shadow: inset 0 0 0 1px var(--blue); }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice.is-full { cursor: not-allowed; background: #F3F1EE; color: #7A746B; border-style: dashed; }
.choice.is-full .choice-text { text-decoration: line-through; text-decoration-thickness: 2px; }

/* Blok pilihan Perayaan: centang 23 dan/atau 24, jumlah di bawahnya */
.choice-block {
  border: 2px solid var(--line-strong);
  background: #fff;
}
.choice-block .choice { border: 0; background: transparent; }
.choice-block:hover { border-color: var(--blue); }
.choice-block:has(.choice input:checked) {
  border-color: var(--blue);
  background: #EEF2F8;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.choice-block:has(.choice input:checked) .choice { background: transparent; box-shadow: none; }
.choice-block:has(.choice input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice-block.is-full { cursor: not-allowed; background: #F3F1EE; color: #7A746B; border-style: dashed; }
.choice-block.is-full .choice { cursor: not-allowed; color: inherit; }
.session-counts {
  padding: 0 1rem 1rem 3.5rem;
  display: grid;
  gap: 0.85rem;
}
.session-counts[hidden] { display: none; }
.q-sub { min-width: 0; }
.q-sub.has-error { }
.q-sub-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.2rem;
}
.q-sub .q-hint { margin: 0 0 0.4rem; }
.q-sub .q-err { margin: 0.3rem 0 0; }

/* Penghitung jumlah */
.stepper { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.stepper .num { width: 5.5rem; text-align: center; font-weight: 700; font-size: 1.5rem; }
.step {
  width: 3.6rem; height: 3.6rem;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.step:hover { background: var(--blue); color: #fff; }
.step:disabled { opacity: 0.35; cursor: not-allowed; background: #fff; color: var(--blue); }
.seat-left { font-size: 1.125rem; color: var(--muted); margin-left: 0.4rem; }

/* Ringkasan error */
.error-summary {
  border: 3px solid var(--live);
  background: var(--live-bg);
  padding: 0.8rem 1.3rem;
  margin-bottom: 1rem;
}
.error-summary h3 { color: var(--live); font-family: "Source Sans 3", sans-serif; font-size: 1.3rem; letter-spacing: 0; margin-bottom: 0.25rem; }
.error-summary ul { margin: 0; font-size: 1.15rem; }
.error-summary a { color: var(--live); font-weight: 700; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.submit-row { margin-top: 1.25rem; }
.btn-submit { width: 100%; min-height: 4rem; font-size: 1.35rem; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; }
.submit-msg { margin: 0.55rem 0 0; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.submit-msg.is-error { color: var(--live); }

.notice { padding: 0.8rem 1.3rem; margin-bottom: 1rem; font-size: 1.2rem; }
.notice[hidden] { display: none; }
.notice-closed { background: var(--navy); color: #F4EFE6; }
.notice-error { background: var(--live-bg); color: var(--live); border: 2px solid var(--live); }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font-weight: 700; cursor: pointer; }

/* Layar sukses */
.success { background: var(--paper); padding: 1.55rem 2rem; border-top: 6px solid var(--ok); }
.success[hidden] { display: none; }
.success .kicker { color: var(--ok); }
.success h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.success-lead { font-size: 1.25rem; }
.summary { margin: 1.05rem 0 0.7rem; border-top: 1px solid var(--line-strong); }
.summary > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.summary dt { font-weight: 700; color: var(--muted); font-size: 1.125rem; }
.summary dd { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.summary .code { font-family: "Fraunces", Georgia, serif; letter-spacing: 0.08em; font-size: 1.5rem; }
.summary-tip { color: var(--muted); font-size: 1.125rem; }
.success .btn-row { margin-top: 1rem; }
.success .btn { min-height: 3.6rem; font-size: 1.2rem; }

@media (max-width: 900px) {
  .natal-hero-grid, .natal-info-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .poster-slot { justify-self: stretch; max-width: none; aspect-ratio: 16 / 10; order: -1; }
  .poster-slot.has-poster { aspect-ratio: auto; }
  .natal-hero-grid { padding: 1.15rem 0 1.7rem; }
}
@media (max-width: 640px) {
  .natal-intro h1 { font-size: 2.4rem; }
  .q { padding: 0.85rem 1rem 0.7rem; }
  .q-label { font-size: 1.25rem; }
  .choice { font-size: 1.2rem; grid-template-columns: auto 1fr; }
  .choice .badge { grid-column: 2; justify-self: start; margin-top: -0.3rem; }
  .session-counts { padding: 0 0.8rem 0.9rem 0.8rem; }
  .summary > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .success { padding: 1.15rem 1.1rem; }
  .natal-form h2 { font-size: 2rem; }
  .btn-row .btn { width: 100%; }
}

/* Huruf besar untuk pembaca senior */
.natal-hero .kicker, .success .kicker { font-size: 1.125rem; }
.badge { font-size: 1.125rem; }
.success, .error-summary, .q, #form { scroll-margin-top: 6.5rem; }
.error-summary a { text-decoration: none; font-weight: 600; }
.error-summary a:hover { text-decoration: underline; }
.error-summary li { margin-bottom: 0.2rem; }

/* Batas pendaftaran, huruf besar */
.deadline-box {
  margin-top: 1.1rem;
  padding: 0.85rem 1.4rem;
  background: var(--paper);
  border-left: 6px solid var(--gold);
  display: grid;
  gap: 0.25rem;
  max-width: 38rem;
}
.deadline-label { font-size: 1.125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }
.deadline-date { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; color: var(--navy); font-weight: 650; letter-spacing: -0.02em; }
.deadline-cta { justify-self: start; margin-top: 0.4rem; min-height: 3.4rem; font-size: 1.2rem; }
.deadline-cta[hidden] { display: none; }
.deadline-date.is-placeholder::after { content: " (belum diisi)"; color: var(--live); font-size: 1.2rem; }
.notice-closed strong { font-size: 1.3rem; }
@media (max-width: 640px) { .deadline-cta { width: 100%; } }

.poster-slot img.poster-img-2 { margin-top: 1rem; }
/* Sisa kursi tidak ditampilkan (permintaan Ko Cokro 18 Nov 2026) */
.quota-board[hidden] { display: none !important; }
.natal-info-grid { grid-template-columns: 1fr !important; }
.badge[hidden] { display: none !important; }

/* Poster di atas pertanyaan masing-masing */
.q-poster { margin: 0.6rem 0 0; background: none; border: 0; padding: 0; }
.q-poster img { width: 100%; height: auto; display: block; border-radius: 6px 6px 0 0; }
.q-poster + .q { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
