$circleSize: 2rem;

.container {
  display: flex;
  position: relative;
  justify-content: center;
  padding-left: 8px;
  padding-right: 8px;
}

.stepContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: none;
  cursor: pointer;

  &.readonly {
    cursor: default;
  }
}

.stepIndicator {
  width: $circleSize;
  height: $circleSize;
  display: flex;
  margin-bottom: 0.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--bs-body-color);
  border: 2px solid var(--bs-border-color);

  &.fill {
    color: white;
    background-color: var(--bs-primary);
    border: none;
  }

  &.outline {
    border-color: var(--bs-primary);
  }
}

.separator {
  display: flex;
  position: absolute;
  left: calc(-50% + 20px);
  right: calc(50% + 20px);
  margin-top: calc($circleSize / 2);
  border-top: 2px solid var(--bs-border-color);

  &.active {
    border-top: 2px solid var(--bs-primary);
  }
}

.description {
  font-size: small;
  color: var(--bs-tertiary-color);
  text-align: center;
  text-wrap: wrap;
}

.stepButton {
  cursor: pointer;

  &.readonly {
    cursor: default;
  }
}
