/* Stable registration progress styles; these do not depend on Tailwind's runtime. */
.onboarding-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: 1080px;
  margin: 0.75rem auto 3.5rem;
  padding: 0;
  list-style: none;
}

.onboarding-progress::before {
  position: absolute;
  top: 1.25rem;
  right: 10%;
  left: 10%;
  height: 1px;
  background: #e4e4e7;
  content: "";
}

.onboarding-progress > li {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.onboarding-progress [data-go-step] {
  display: grid;
  width: 100%;
  gap: 0.5rem;
  justify-items: center;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.onboarding-progress [data-go-step] > span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid #d4d4d8;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 0 0 4px #fafafa;
  color: #71717a;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.onboarding-progress li.is-current [data-go-step] > span {
  border-color: #6d28d9;
  background: #6d28d9;
  box-shadow: 0 0 0 4px #ede9fe;
  color: #fff;
}

.onboarding-progress li.is-complete [data-go-step] > span {
  border-color: #18181b;
  background: #18181b;
  box-shadow: 0 0 0 4px transparent;
  color: #fff;
}

.onboarding-progress small {
  display: none;
  min-width: 0;
  gap: 0.25rem;
}

.onboarding-progress strong {
  display: block;
}

.onboarding-progress strong {
  color: #52525b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
}

.onboarding-progress li.is-current strong {
  color: #18181b;
}

.onboarding-progress em {
  display: none;
  color: #a1a1aa;
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1rem;
}

@media (min-width: 640px) {
  .onboarding-progress small {
    display: grid;
  }
}

@media (min-width: 1024px) {
  .onboarding-progress em {
    display: block;
  }
}

@media (max-width: 639px) {
  .onboarding-progress {
    margin-bottom: 2.5rem;
  }
}
