.auth-page.auth-video-page {
  isolation: isolate;
  background: #17374d;
}

.auth-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #17374d url("../auth-background-poster.jpg") center / cover no-repeat;
}

.auth-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 42, 0.42);
}

.auth-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.auth-background video.is-playing {
  opacity: 1;
}

.auth-background video[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .auth-background video {
    display: none;
  }
}