.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;

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


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

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

.stepper-item-first {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;

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

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

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

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

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

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

.stepper-item.active, .stepper-item-first.active, .stepper-item-last.active {
  font-weight: bold;

}


.stepper-item.active .step-counter, .stepper-item-first.active .step-counter,.stepper-item-last.active .step-counter {
  background-color: #38761d;
  color: white;
}

.step-name.active {
    color: #38761d;
}

.stepper-item.completed .step-counter, .stepper-item-first.completed .step-counter, .stepper-item-last.completed .step-counter {
  background-color: white;
  color: black;
  border: 1px solid black;
}

.astepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid black;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}



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