html, body { height: 100%; }
body { display: flex; flex-direction: column; }
main { flex: 1; min-height: 400px; padding: 32px 0; }

/* Step indicator — numbered circles with connecting line */
.step-indicator {
  display: flex; justify-content: center; gap: 48px;
  padding: 28px 0 8px; position: relative;
  overflow-x: auto;
}
.step-indicator::before {
  content: ''; position: absolute; top: 35px;
  left: calc(10% + 24px); right: calc(10% + 24px);
  height: 2px; background: var(--stone); z-index: 0;
}
.step-dot {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; position: relative; z-index: 1;
  opacity: .25; transition: opacity .3s;
  cursor: default;
}
.step-dot.active { opacity: .7; }
.step-dot.current { opacity: 1; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  transition: all .3s;
}
.step-dot.current .step-num {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,110,.25);
}
.step-dot.active .step-num { background: var(--gold-400); }
.step-label { font-size: 11px; color: var(--text-tertiary); white-space: nowrap; }

/* Step transitions */
.wiz-step {
  display: none; opacity: 0; transform: translateX(20px);
  transition: opacity .35s, transform .35s;
}
.wiz-step.active { display: block; opacity: 1; transform: translateX(0); }
.wiz-step { max-width: 560px; margin: 0 auto; text-align: center; }
.wiz-step h2 { font-size: 22px; margin-bottom: 8px; color: var(--navy); display:flex;align-items:center;justify-content:center;gap:8px }
.wiz-step p { color: #666; margin-bottom: 24px; font-size: 14px; }

/* Options grid */
.wiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.wiz-opt {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 12px; border: 2px solid var(--stone);
  border-radius: 12px; cursor: pointer;
  transition: all .25s; background: var(--bg-elevated);
}
.wiz-opt:hover { border-color: var(--gold); transform: translateY(-2px); }
.wiz-opt.selected { border-color: var(--gold); background: var(--gold-50); box-shadow: 0 0 0 3px rgba(201,169,110,.15); }
.wiz-opt-icon { margin-bottom: 4px; }
.wiz-opt-label { font-weight: 700; font-size: 15px; color: var(--navy); }
.wiz-opt-desc { font-size: 12px; color: var(--text-tertiary); }

/* Selects */
.wiz-select-wrap { margin-bottom: 24px; }
.wiz-select-wrap select {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--stone); border-radius: 8px;
  font-size: 16px; font-family: inherit;
  background: var(--bg-elevated); color: var(--navy);
  transition: border-color .25s;
}
.wiz-select-wrap select:focus { border-color: var(--gold); outline: none; }

/* Navigation */
.wiz-nav { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.wiz-nav .btn { min-width: 120px; }

/* Loading */
.wiz-loading { display: none; justify-content: center; padding: 60px 0; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--stone); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Summary tags */
.search-summary { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 20px; background: var(--gold-50); border-radius: var(--radius-md); border: 1px solid var(--gold-200); }
.summary-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--bg-elevated); border-radius: var(--radius-full); font-size: .82rem; font-weight: 600; color: var(--navy); border: 1px solid var(--gold-200); }

/* Results cards reuse from cards.css — additional tweaks */
#wizardResults { text-align: right; }
#wizardResults .result-card { text-align: right; }

@media (max-width: 640px) { .step-indicator { gap: 24px; } .wiz-options { grid-template-columns: 1fr; } .step-label { display: none; } }
@media (max-width: 480px) { .step-indicator { gap: 16px; } }
