$stepper-height: 4px;

.container {
  display: flex;
  flex-direction: column;
}

.topRowGrid {
  display: grid;
  grid-template-columns: 1fr;
  height: 52px;
  &.hasBackButton {
    grid-template-columns: 52px 1fr;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  color: var(--dark-purple);
  font-size: var(--font-size-10);
  padding: 8px 16px;
  text-transform: uppercase;
  &.hasBackButton {
    border-left: 1px solid var(--medium-purple);
  }
}

.title {
  font-weight: var(--font-weight-bold);
}

.stepText {
  font-weight: var(--font-weight-medium);
}

.stepper {
  display: grid;
  gap: 2px;
}

.step {
  height: $stepper-height;
  background: var(--medium-purple);
}

.highlighted,
.activePlaceholder {
  height: $stepper-height;
  background: var(--dark-blue);
}

.activePlaceholder {
  width: 0;
  &.active {
    width: 100%;
  }
}

.highlighted {
  width: 100%;
}

.iconStyles {
  transform: rotate(180deg);
  justify-content: center;
}
