.wizard-progress { display: flex; align-items: center; margin-bottom: 40px; gap: 4px; }
.wizard-progress .dot {
  flex: 1; height: 6px; border-radius: 999px; background: var(--border); position: relative;
}
.wizard-progress .dot.is-done, .wizard-progress .dot.is-active { background: var(--teal-500); }
.wizard-steps-label { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--ink-500); margin-bottom: 10px; }

.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wizard-step h2 { font-size: 1.25rem; color: var(--navy-900); }
.wizard-step > p.wizard-hint { margin-top: -8px; margin-bottom: 24px; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }
.wizard-nav .spacer { flex: 1; }

.radio-row { display: flex; gap: 20px; margin-top: 6px; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--ink-700); cursor: pointer; }
.radio-row input { width: 16px; height: 16px; }

.wizard-subfields {
  display: none; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--bg-alt); border-radius: var(--radius-sm); padding: 16px; margin-top: 14px;
}
.wizard-subfields.is-visible { display: grid; }

.file-field {
  border: 1.5px dashed var(--border); border-radius: var(--radius-sm); padding: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg);
}
.file-field label { font-size: 0.85rem; }
.file-field input[type="file"] { max-width: 220px; }

.wizard-error { color: var(--danger); font-size: 0.82rem; margin-top: 8px; display: none; }
.wizard-error.is-visible { display: block; }

.wizard-success { text-align: center; padding: 40px 20px; }
.wizard-success .icon { width: 70px; height: 70px; margin: 0 auto 18px; font-size: 2rem; background: rgba(31,157,85,0.12); border-radius: 50%; display:flex; align-items:center; justify-content:center; }
.wizard-success .radicado { font-size: 1.6rem; font-weight: 800; color: var(--navy-900); margin: 10px 0; }

@media (max-width: 700px) {
  .wizard-subfields { grid-template-columns: 1fr; }
  .file-field { flex-direction: column; align-items: flex-start; }
}

.help-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px;
  margin-left: 6px; padding: 0; border: 1.5px solid var(--ink-500); border-radius: 50%; background: transparent;
  color: var(--ink-500); font: italic 700 11px/1 Georgia, serif; cursor: pointer; vertical-align: 1px;
}
.help-btn:hover, .help-btn:focus-visible, .field.help-open .help-btn { border-color: var(--teal-600); color: var(--teal-600); outline: none; }
.field > label, .file-field > label { position: relative; }
.help-pop {
  display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: max-content; max-width: min(280px, 80vw);
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--navy-900); color: var(--white);
  font-size: 0.8rem; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-transform: none; box-shadow: var(--shadow-md);
}
.help-btn:hover + .help-pop, .help-btn:focus-visible + .help-pop, .help-open .help-pop { display: block; }
