body.tt-auth-bg-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #111820 !important;
}

body.tt-auth-bg-page::before {
  display: none !important;
}

.tt-auth-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #111820;
}

.tt-auth-background::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: rgba(5, 11, 17, 0.58);
}

.tt-auth-background-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.tt-auth-background-layer.is-active {
  opacity: 1;
}

.tt-auth-background-layer img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.82) saturate(0.72);
  transform: scale(1.015);
}

body.tt-auth-bg-page > :not(.tt-auth-background):not(script) {
  position: relative;
  z-index: 1;
}

body.tt-auth-bg-page > .nav {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow: 0 1px 18px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.tt-auth-bg-page > .section > .card.pad {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@media (max-width: 760px) {
  .tt-auth-background::after {
    background: rgba(5, 11, 17, 0.62);
  }

  body.tt-auth-bg-page > .nav {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  body.tt-auth-bg-page > .section > .card.pad {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-auth-background-layer {
    transition: none;
  }
}
