uix-multi-page-form {
  display: flex;
  height: 100dvh;
  justify-content: center;
  align-items: center;
  padding-top: var(--top-padding);
}

uix-multi-page-form .card {
  width: 500px;
  height: 500px;
}

uix-multi-page-form #pages {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

uix-multi-page-form h2 {
  color: var(--accent);
}

uix-multi-page-form h5 {
  margin: 0;
}

uix-multi-page-form form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

uix-multi-page-form .footer.start button, uix-multi-page-form .footer.end button {
  width: 100%;
}

uix-multi-page-form .footer {
  display: none;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}

uix-multi-page-form form:has(.active :invalid) button.next {
  pointer-events: none;
  opacity: 0.3;
}

@media screen and (max-width: 600px) {
uix-multi-page-form   .card {
    border-radius: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
  }
}
uix-multi-page-form .page {
  display: none;
  overflow: auto;
  height: 100%;
  flex-direction: column;
}
uix-multi-page-form .page.active {
  display: flex;
}
