.mint-wizard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  outline: none;
  flex: 1;
  min-height: 0;
}

/* Dark --border-light equals --bg-card; row and band hairlines need --border-color there. */
:where(html.dark) .mint-wizard {
  --border-light: var(--border-color);
}

/* Progress indicator — one hue (2c): done = primary fill + check,
   current = primary ring + number, upcoming = strong control border. */
.mint-wizard__progress {
  flex-shrink: 0;
}

.mint-wizard__steps-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mint-wizard__step-connector {
  flex: 1;
  min-width: 0.75rem;
  height: 1px;
  background-color: var(--border-color);
  transition: background-color 150ms ease;
}

.mint-wizard__step-connector--completed {
  background-color: var(--color-primary);
}

.mint-wizard__step-indicator {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
}

.mint-wizard__step-indicator--disabled {
  cursor: not-allowed;
  opacity: var(--mint-disabled-opacity);
}

.mint-wizard__step-dot {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  background-color: var(--bg-card);
  color: var(--text-secondary);
  box-shadow: inset 0 0 0 1.5px var(--_control-border-strong);
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.mint-wizard__step-dot svg {
  width: 0.6875rem;
  height: 0.6875rem;
}

/* Size variants for dot */
.mint-wizard--sm .mint-wizard__step-dot {
  width: 1.125rem;
  height: 1.125rem;
}

.mint-wizard--lg .mint-wizard__step-dot {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
}

.mint-wizard__step-indicator--active .mint-wizard__step-dot {
  color: var(--_ink-primary);
  box-shadow: inset 0 0 0 1.5px var(--color-primary);
}

.mint-wizard__step-indicator--completed .mint-wizard__step-dot {
  background-color: var(--color-primary);
  color: white;
  box-shadow: inset 0 0 0 1.5px var(--color-primary);
}

.mint-wizard__step-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.mint-wizard__step-indicator--active .mint-wizard__step-label {
  color: var(--text-primary);
  font-weight: 600;
}

.mint-wizard__step-indicator--completed .mint-wizard__step-label {
  color: var(--text-secondary-strong);
}

/* Narrow widths keep only the current step's label. */
@media (max-width: 640px) {
  .mint-wizard__step-indicator:not(.mint-wizard__step-indicator--active) .mint-wizard__step-label {
    display: none;
  }
}

/* Body */
.mint-wizard__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* Navigation */
.mint-wizard__navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
}

.mint-wizard__counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.mint-wizard__cancel {
  margin-left: auto;
}

.mint-wizard--sm .mint-wizard__step-label {
  font-size: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .mint-wizard__step-connector,
  .mint-wizard__step-dot {
    transition: none;
  }
}
