.stepper {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  align-items: center;
  position: relative;

}

/* Step icon */
.step-icon {
  color: var(--bs-primary);
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--bs-primary);
  margin-right: 20px;
  position: relative;
  z-index: 2;
}
.step-icon i {
  font-size: 24px;
}

/* Step card */
.step-content {
  flex-grow: 1;
  padding: 20px;
  margin: 10px;
  max-width: 90%;
}
.step-content:not(:last-child) {
    border-bottom: 1px solid #d1d1d1;
}
.step-title {
  margin-bottom: 10px;
  font-size: 18px;
}
.step-text {
  margin: 0;
}

/* Line behind icons */
.step:before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  height: 100%;
  background-color: #d1d1d1;
  z-index: 1;
}
.step:last-child:before {
  top: -50%;
}
.step:first-child:before {
  top: 50%;
}

/* Small circles */
.step>.step-icon:after {
transform: rotate(-90deg);
  content: "\F282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  position: absolute;
  top: 20%;
  right: -70%;
  font-weight: bold;
  z-index: 1;
  color: #d1d1d1;
}
