.step {
  align-items: center;
  color: var(--gray-500);
  display: none;
  font-size: 14px;
  text-align: center;
}

@media (min-width: 1400px) {
  .step {
    display: flex;
  }
}

.step-item {
  min-width: 120px;
  padding: 0 10px;
  position: relative;
}

.step-item::before,
.step-item::after {
  background-color: var(--gray-500);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 13px;
  width: 50%;
}

.step-item::after {
  left: auto;
  right: 0;
}

.step-item:first-child::after,
.step-item:last-child::before {
  content: none;
}

.step-icon {
  background-color: var(--gray);
  border-radius: 50%;
  border: 1px solid var(--gray-500);
  height: 26px;
  margin: auto auto 10px;
  position: relative;
  width: 26px;
  z-index: 1;
}

.step-item.open .step-icon {
  background-color: var(--light-blue);
  border-color: var(--light-blue);
}

.step-item.open .step-icon::before {
  background-color: var(--white);
}

.step-item.open,
.step-item.check {
  color: var(--light-blue);
}

.step-item.check::before,
.step-item.check::after {
  background-color: var(--light-blue);
}

.step-item.open::after {
  background-color: var(--light-blue);
}

.step-item.check .step-icon {
  background-color: var(--light-blue);
  border-color: var(--light-blue);
}

.step-icon::before {
  background-color: var(--gray-500);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
}

.step-item.check .step-icon::before {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.1625 0.606351C10.3867 0.830509 10.3867 1.19394 10.1625 1.4181L3.70959 7.87101C3.48543 8.09517 3.122 8.09517 2.89784 7.87101L0.316678 5.28985C0.09252 5.06569 0.09252 4.70226 0.316678 4.4781C0.540837 4.25394 0.904269 4.25394 1.12843 4.4781L3.30372 6.65339L9.35075 0.606351C9.57491 0.382193 9.93835 0.382193 10.1625 0.606351Z' fill='white'/%3E%3C/svg%3E%0A");
  height: 9px;
  width: 11px;
}

.step-name {
  white-space: nowrap;
}
