.progress {
  line-height: 1.1em;
  font-size: 12px;
  display: flex;
}

@media screen and (max-width: 640px) {
  .progress {
    padding: 12px 6px;
  }
}

@media screen and (min-width: 640px) {
  .progress {
    padding: 15px 20px;
  }
}

.progress__step {
  text-align: center;
  flex: 1;
}
.progress__step--not-current {
  color: var(--progress-inactive);
}
.progress__step--current {
  font-weight: bold;
  color: var(--progress-active);
}
.progress__step--current .progress__step__dot {
  background-color: var(--progress-active);
  border: 2px solid var(--progress-active);
}
.progress__step--done .progress__step__dot {
  background-color: var(--progress-inactive);
  border: 2px solid var(--progress-inactive);
}

.progress__step__dot-container {
  width: 100%;
  position: relative;
}

.progress__step__dot {
  position: relative;
  z-index: 2;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 100px;
  background-color: var(--background-light);
  border: 2px solid var(--progress-inactive);
  margin-bottom: 8px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.progress__step--current .progress__step__dot {
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}
.line-left::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  background-color: var(--progress-inactive);
  z-index: 1;
}
.line-right::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 2px;
  background-color: var(--progress-inactive);
  z-index: 1;
}

.progress__step__title {
  margin-left: 3px;
  margin-right: 3px;
}

@media screen and (max-width: 640px) {
  .progress__step__title {
    display: none;
  }

  .progress__step__short-title {
    display: initial;
  }
}

@media screen and (min-width: 640px) {
  .progress__step__title {
    display: initial;
  }

  .progress__step__short-title {
    display: none;
  }
}
