.stepper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
}

.stepper__step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-weight: 500;
}

.stepper__step + .stepper__step::before {
  content: '';
  flex: 0 1 72px;
  min-width: 12px;
  height: 2px;
  background: var(--border);
  margin-right: var(--space-2);
}

.stepper__step--done + .stepper__step::before,
.stepper__step--current::before {
  background: var(--blue-600);
}

.stepper__marker {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--neutral-bg);
  color: var(--neutral);
  font-weight: 600;
}

.stepper__step--current .stepper__marker,
.stepper__step--done .stepper__marker {
  background: var(--blue-600);
  color: var(--white);
}

.stepper__step--current .stepper__label {
  color: var(--blue-600);
}

@media (max-width: 639px) {
  .stepper__label {
    display: none;
  }
  .stepper__step--current .stepper__label {
    display: inline;
  }
  .stepper {
    flex-wrap: nowrap;
    gap: var(--space-2);
  }
  .stepper__step + .stepper__step::before {
    display: none;
  }
}
