.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: 6px;
  height: 6px;
  border-radius: 100px;
  background-color: var(--background-light);
  border: 2px solid var(--progress-inactive);
  margin-bottom: 8px;
}
.line-left::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  background-color: var(--progress-inactive);
  z-index: 1;
}
.line-right::after {
  content: "";
  position: absolute;
  top: 5px;
  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;
  }
}
