.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: bold;
}

.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 4px solid #ccc;
  width: 100%;
  top: 12px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 4px solid #ccc;
  width: 100%;
  top: 12px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
  color: #ccc;
}

.inner-step-counter {
  position: absolute;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #F2F2F2;
}

.stepper-item.completed .step-counter {
  background-color: #4bb543;
  color: #fff;
}

.stepper-item.completed .inner-step-counter {
  display: none;
}

.step-name {
  position: absolute;
  font-weight: 600;
  height: 25px;
  transform: translate(0, -30px);
  color: #ccc;
  font-size: 10px;
  text-align: center;
  display: flex;
  align-items: center;
}

.stepper-item.completed .step-name {
  color: #2E7031;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 4px solid #4bb543;
  width: 100%;
  top: 12px;
  left: 50%;
  z-index: 4;
}

.stepper-item:first-child::before {
  content: none;
}

.stepper-item:last-child::after {
  content: none;
}