/* ==========================================================================
   BIZWAVE ERP — STEPPER (Lifecycle Stages & Process Tracker)
   ========================================================================== */

.erp-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  margin-bottom: var(--sp-5);
  overflow-x: auto;
}

.erp-step {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  position: relative;
  flex: 1;
}

.erp-step:not(:last-child)::after {
  content: "";
  height: 2px;
  background-color: var(--c-border);
  flex: 1;
  margin: 0 var(--sp-3);
}

.erp-step.is-completed:not(:last-child)::after {
  background-color: var(--c-primary);
}

.erp-step__circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--c-bg);
  border: 2px solid var(--c-border-strong);
  color: var(--c-text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.erp-step.is-active .erp-step__circle {
  background-color: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-text-inverse);
}

.erp-step.is-completed .erp-step__circle {
  background-color: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-text-inverse);
}

.erp-step__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-text-2);
  white-space: nowrap;
}

.erp-step.is-active .erp-step__label {
  color: var(--c-text);
  font-weight: var(--fw-bold);
}
