/* stepper, progression tunnel multi-step */

.pd-stepper {
  display: flex;
  align-items: center;
  gap: var(--pd-space-2);
  margin-bottom: var(--pd-space-6);
}

.pd-step {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}

.pd-step__dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--pd-neutral-200);
  color: var(--pd-neutral-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: var(--pd-fw-bold);
  font-size: var(--pd-fs-sm);
  flex-shrink: 0;
  transition: all var(--pd-dur) var(--pd-ease);
  z-index: 2;
}
.pd-step__label {
  display: none;
  margin-left: var(--pd-space-2);
  font-size: var(--pd-fs-sm);
  font-weight: var(--pd-fw-medium);
  color: var(--pd-neutral-600);
}
@media (min-width: 768px) { .pd-step__label { display: inline; } }

.pd-step__connector {
  flex: 1;
  height: 2px;
  background: var(--pd-neutral-200);
  margin: 0 var(--pd-space-1);
}

.pd-step.is-active .pd-step__dot {
  background: var(--pd-primary);
  color: var(--pd-white);
  box-shadow: 0 0 0 6px rgba(11, 77, 162, 0.12);
}
.pd-step.is-active .pd-step__label { color: var(--pd-primary); font-weight: var(--pd-fw-bold); }

.pd-step.is-done .pd-step__dot { background: var(--pd-success); color: var(--pd-white); }
.pd-step.is-done + .pd-step__connector { background: var(--pd-success); }
.pd-step.is-done .pd-step__dot::after {
  content: '✓';
  font-size: 14px;
}
.pd-step.is-done .pd-step__dot { font-size: 0; }
.pd-step.is-done .pd-step__dot::after { font-size: 14px; }

.pd-stepper-progress {
  height: 4px;
  background: var(--pd-neutral-200);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--pd-space-5);
}
.pd-stepper-progress__bar {
  height: 100%;
  background: var(--pd-accent);
  transition: width var(--pd-dur-slow) var(--pd-ease);
  border-radius: 2px;
}
