/* ═══════════════════════════════════════════════════
   MitchMarket — Dealer Onboarding Wizard Styles
   ═══════════════════════════════════════════════════ */

/* Wider scene for wizard */
.scene.scene-wide {
  width: min(1160px, 96vw);
  min-height: min(700px, 94vh);
}

/* ═══════ STEPPER ═══════ */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0 .5rem;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 600;
  border: 2px solid rgba(49,255,255,.12);
  color: var(--text-dim);
  background: rgba(49,255,255,.03);
  transition: .4s;
  flex-shrink: 0;
  position: relative;
}
.step-dot svg {
  width: 16px; height: 16px;
  display: none;
  color: var(--primary-deep);
}
.step-line {
  width: 48px; height: 2px;
  background: rgba(49,255,255,.08);
  transition: background .4s;
  flex-shrink: 0;
}

/* Active step */
.step-item.active .step-dot {
  border-color: var(--secondary);
  background: rgba(49,255,255,.1);
  color: var(--secondary);
  box-shadow: 0 0 16px rgba(49,255,255,.15);
}
.step-item.active .step-line { background: var(--secondary); }

/* Completed step */
.step-item.done .step-dot {
  border-color: var(--success);
  background: var(--success);
  color: var(--primary-deep);
}
.step-item.done .step-dot span { display: none; }
.step-item.done .step-dot svg { display: block; }
.step-item.done .step-line { background: var(--success); }

/* Step label */
.step-label {
  position: absolute;
  top: calc(100% + 6px);
  white-space: nowrap;
  font-size: .62rem;
  letter-spacing: .04em;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  transition: color .3s;
}
.step-item.active .step-label { color: var(--secondary); }
.step-item.done .step-label { color: var(--success); }

/* ═══════ WIZARD PANELS ═══════ */
.wizard-body {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.wizard-step {
  display: none;
  animation: fadeSlideIn .45s cubic-bezier(.22, 1, .36, 1);
}
.wizard-step.active { display: block; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}
.step-desc {
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ═══════ FILE UPLOAD ═══════ */
.upload-zone {
  border: 2px dashed rgba(49,255,255,.12);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: .3s;
  margin-bottom: 1.25rem;
  position: relative;
}
.upload-zone:hover {
  border-color: rgba(49,255,255,.3);
  background: rgba(49,255,255,.03);
}
.upload-zone input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
}
.upload-zone .upload-icon {
  width: 40px; height: 40px;
  margin: 0 auto .75rem;
  color: var(--secondary);
  opacity: .6;
}
.upload-zone .upload-text {
  font-size: .82rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.upload-zone .upload-text strong {
  color: var(--secondary);
  font-weight: 500;
}
.upload-zone .upload-hint {
  font-size: .7rem;
  color: var(--text-dim);
  opacity: .6;
  margin-top: .35rem;
}

.file-name-display {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
}

.upload-zone.has-file {
  border-color: var(--success);
  background: rgba(52, 211, 153, .04);
}
.upload-zone.has-file .upload-text { color: var(--success); }

/* ═══════ REVIEW SECTION ═══════ */
.review-section {
  margin-bottom: 1.25rem;
}
.review-section h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--secondary);
  margin-bottom: .5rem;
  font-weight: 600;
}
.review-row {
  display: flex;
  justify-content: space-between;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(49,255,255,.05);
  font-size: .84rem;
}
.review-row .rl { color: var(--text-dim); }
.review-row .rv { color: var(--text); font-weight: 500; }

/* ═══════ WIZARD FOOTER BUTTONS ═══════ */
.wizard-footer {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(49,255,255,.06);
}
.wizard-footer .btn-outline { flex: 0 0 auto; width: auto; padding: .85rem 1.5rem; }
.wizard-footer .btn-glow { flex: 1; }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 768px) {
  .scene.scene-wide {
    grid-template-columns: 1fr;
    max-width: 480px;
    min-height: auto;
  }
  .stepper { gap: 0; }
  .step-line { width: 28px; }
  .step-label { display: none; }
}
