x-stepper {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  display: block;
}
.is-dark-mode x-stepper {
  color: var(--color-text-light, #FEFEFE);
}
x-stepper.is-transitioning {
  overflow: hidden;
}
x-stepper x-step {
  position: relative;
  overflow: visible;
  display: block;
  padding: 1rem 0;
}
x-stepper x-step .step-header {
  flex-direction: row;
  display: flex;
}
x-stepper x-step .step-header .step-title {
  display: flex;
  align-items: start;
  justify-content: center;
  margin-left: 1rem;
  flex-direction: column;
  flex: 1;
  min-height: 2.2rem;
}
x-stepper x-step .step-header .step-title h4 {
  margin-bottom: 0;
}
x-stepper x-step .step-header .step-title p {
  margin-top: 0.25rem;
  margin-bottom: 0;
}
x-stepper x-step .step-header .step-indicator {
  -webkit-user-select: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--color-text-light, #FEFEFE);
  text-align: center;
  border-radius: 50%;
  transition: background-color 300ms ease;
  background-color: var(--color-default, #9B9B9B);
}
x-stepper x-step .step-header .step-indicator.active {
  background-color: var(--color-primary, #4275F2);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3);
}
x-stepper x-step .step-header .step-indicator span {
  -webkit-user-select: none;
  user-select: none;
  color: inherit;
  text-align: center;
  font-size: 1.2rem;
}
x-stepper x-step section {
  position: relative;
  display: none;
  padding: 2rem 1rem 1rem 3.2rem;
}
x-stepper x-step section.step-active {
  display: block;
  animation: stepShow 0.4s;
}
x-stepper x-step section p:last-child {
  margin-bottom: 0;
}
x-stepper x-step section footer {
  display: flex;
  justify-content: flex-end;
}
x-stepper x-step section footer x-button {
  margin-left: 1rem;
}
x-stepper x-step:before {
  content: "";
  min-height: 1.2rem;
  width: 1.25rem;
  height: calc(100% - 3rem);
  position: absolute;
  top: 3.6rem;
  left: calc(1.1rem - 1px);
  border-left: 2px solid var(--color-border-tinted, #d9d8db);
}
x-stepper x-step:last-of-type:before {
  display: none;
  height: 0;
}
x-stepper x-step[active]:last-of-type:before {
  display: block;
  height: calc(100% - 9.3rem);
  border-bottom: 2px solid var(--color-border-tinted, #d9d8db);
  border-radius: 0 0 0 1rem;
}

@keyframes stepShow {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-1rem, 0, 0);
    transform: translate3d(-1rem, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}