/* site/css/wizard.css */

/* Scroll layout: all sections visible */
html:not(.layout-wizard) .wizard-step { display: block; }
html:not(.layout-wizard) .wizard-progress { display: none !important; }

/* Wizard layout: sections as hidden steps */
html.layout-wizard .wizard-step {
  display: none;
  position: relative;
}
html.layout-wizard .wizard-step.active {
  display: block;
  animation: slideIn 0.35s ease forwards;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-32px); }
}

/* Wizard progress indicator */
.wizard-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  text-align: center;
  z-index: 50;
}
.wizard-steps { display: flex; justify-content: center; gap: 24px; margin-bottom: 4px; }
.wizard-step-dot {
  font-size: 1rem;
  color: var(--muted-2);
  cursor: default;
  transition: color 0.3s;
}
.wizard-step-dot.active { color: var(--accent); }
.wizard-step-dot.completed { color: var(--muted); }
.wizard-step-label { font-size: 0.65rem; color: var(--muted); letter-spacing: 2px; }

html.layout-wizard .section-inner { padding-top: 80px; } /* account for fixed progress bar */

/* Wizard nav buttons */
.wizard-nav { display: flex; gap: 12px; margin-top: 24px; }
.wizard-nav .btn-back { flex: 0 0 auto; }
.wizard-nav .btn-next { flex: 1; }
