.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 4px 8px 0px;
}

.titles-container {
  position: relative;
  min-height: 32px;
  height: fit-content;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.steps-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 42px;
}

.step-item {
  position: relative;
}

.step-item::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border-top: 1px solid rgba(198, 206, 236, 1);
  border-left: 1px solid rgba(198, 206, 236, 1);
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  rotate: 45deg;
  background: #fff;
  z-index: 5;
}

.step-item:nth-child(2n):after {
  rotate: -135deg;
}

.step-item:not(:last-child) {
  width: 100%;
}

.step-item.active::after, .step-check::after {
  border-top: 1px solid rgba(113, 110, 255, 1);
  border-left: 1px solid rgba(113, 110, 255, 1);
}

.step-with-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 6.25rem;
}

.step-with-line:last-child {
  padding-right: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  z-index: 9;
}

.title {
  position: absolute;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: rgba(78, 103, 195, 1);
  width: min-content;
  text-align: center;
  bottom: 40px;
  min-width: 75px;
  width: 100%;
}

.step.active {
  background: rgba(113, 110, 255, 1);
}

.next-step .circle {
  background-color: rgba(198, 206, 236, 1);
}

.title-first {
  width: max-content;
  left: 0;
}

.title-last {
  right: 0;
  text-align: right;
}

.circle {
  background: #fff;
  border: 4px solid rgba(198, 206, 236, 1);
  width: 28px;
  height: 28px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dote {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: red;
}

.line {
  width: calc(100% - 34px);
  height: 1px;
  background-color: rgba(198, 206, 236, 1);
  position: absolute;
  bottom: 14px;
  left: 31px;
  z-index: 6;
}

.line-check {
  background-color: rgba(113, 110, 255, 1);
}

.active .line {
  background: linear-gradient(90deg, rgba(113, 110, 255, 1), rgba(198, 206, 236, 1) );
}
