.stepper {
  display: flex;
  align-items: flex-end;
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  font-family: inherit;
}

.stepGroup {
  display: flex;
  align-items: flex-end;
  flex: 1;
  min-width: 0;
}

.stepGroup:last-child {
  flex: 0 0 auto;
}

.stepUnit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stepDot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.stepLabel {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s;
}

.stepActive .stepDot {
  background: rgba(var(--primary-rgb) / 0.15);
  color: var(--primary);
  border-color: var(--primary);
}

.stepActive .stepLabel {
  color: var(--primary);
}

.stepDone .stepDot {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.stepDone .stepLabel {
  color: var(--text-secondary);
}

.connector {
  flex: 1;
  height: 2px;
  min-width: 24px;
  margin: 0 8px 13px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 1px;
  transition: background 0.2s;
}

.connectorDone {
  background: var(--primary);
}

@media (max-width: 520px) {
  .stepLabel {
    font-size: 11px;
  }

  .connector {
    min-width: 12px;
    margin: 0 4px 13px;
  }
}
