/* varaa-aika.html — wizard page extras (loaded after main.css) */

/* [hidden] must win over .btn { display:inline-flex } etc. */
#varaa [hidden] { display: none !important; }

/* visually hidden (live region for step announcements) */
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

#varaa h1 { margin-bottom: var(--sp-3); }
#varaa .lead { margin-bottom: var(--sp-7); }

.wizard-step h2 { margin-bottom: var(--sp-5); }
.wizard-step h2:focus { outline: none; }

/* preference rows (step 3) */
.pref-row {
  border: 1.5px solid rgba(28,28,30,.12); border-radius: var(--r-m);
  background: var(--c-white); padding: var(--sp-4) var(--sp-5) var(--sp-5);
  margin: 0 0 var(--sp-4);
}
.pref-row legend {
  font-weight: 600; font-size: .92rem; color: var(--c-gold-deep);
  padding: 0 var(--sp-2);
}
.pref-row__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.pref-row__grid .field { margin-bottom: 0; }
.pref-row__remove { margin-top: var(--sp-4); }
#add-pref { margin-top: var(--sp-2); }

/* selects share the error border with inputs/textareas */
.field.has-error select { border-color: var(--c-error); }

/* consent row: normal weight, readable size */
.field label.check-field { font-weight: 400; font-size: .95rem; }

/* success view */
.wizard-success { text-align: center; }
.wizard-success__icon { width: 76px; height: 76px; margin: 0 auto var(--sp-5); }
.wizard-success__icon svg { width: 100%; height: 100%; }
.wizard-success .lead { margin-inline: auto; }
.wizard-success .summary-card { text-align: left; margin-top: var(--sp-6); }
.wizard-success .demo-note { text-align: left; }

/* multi-line dd (preferred times) */
.summary-card dd div + div { margin-top: 2px; }

@media (max-width: 640px) {
  .pref-row__grid { grid-template-columns: 1fr; }
}
