.auth-ux-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(720px, 100vh, 1160px);
  padding-top: clamp(18px, 3vw, 44px) !important;
  padding-bottom: clamp(28px, 5vw, 64px) !important;
  background: linear-gradient(180deg, #05101d 0%, #071829 100%);
}

.auth-ux-page.auth-ux-signup {
  overflow: visible !important;
  min-height: auto;
}

.hero-section--super-banner + .banner-container.pt-lg-3 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(18px, 3vw, 36px) !important;
  padding-bottom: clamp(12px, 2vw, 22px) !important;
  background: linear-gradient(180deg, #06121f 0%, #071829 100%);
}

.hero-section--super-banner + .banner-container.pt-lg-3::before,
.hero-section--super-banner + .banner-container.pt-lg-3::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section--super-banner + .banner-container.pt-lg-3::before {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 12, 24, .54) 0%, rgba(4, 14, 29, .82) 100%),
    radial-gradient(circle at 12% 16%, rgba(53, 142, 255, .20), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(255, 173, 63, .18), transparent 18%),
    url("/assets/front/img/auth/auth-concert-bg.jpg") center 32% / cover no-repeat;
}

.hero-section--super-banner + .banner-container.pt-lg-3::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 10, 19, .16) 0%, rgba(3, 10, 19, .42) 100%),
    radial-gradient(circle at 50% 24%, rgba(255, 194, 98, .10), transparent 14%);
}

.hero-section--super-banner + .banner-container.pt-lg-3 .banner-inner {
  padding: clamp(18px, 2.8vw, 28px) 0;
}

.hero-section--super-banner + .banner-container.pt-lg-3 h1,
.hero-section--super-banner + .banner-container.pt-lg-3 h2,
.hero-section--super-banner + .banner-container.pt-lg-3 .page-title,
.hero-section--super-banner + .banner-container.pt-lg-3 .breadcrumb-item,
.hero-section--super-banner + .banner-container.pt-lg-3 .breadcrumb-item a,
.hero-section--super-banner + .banner-container.pt-lg-3 .banner-inner,
.hero-section--super-banner + .banner-container.pt-lg-3 p {
  color: #f8fbff !important;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}

.auth-ux-page::before,
.auth-ux-page::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.auth-ux-page::before {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(4, 12, 24, .44) 0%, rgba(4, 14, 29, .72) 100%),
    radial-gradient(circle at 14% 20%, rgba(53, 142, 255, .28), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(255, 173, 63, .24), transparent 20%),
    radial-gradient(circle at 50% 62%, rgba(0, 220, 255, .10), transparent 28%),
    url("/assets/front/img/auth/auth-concert-bg.jpg") center center / cover no-repeat;
  animation: entradaAuthPan 26s ease-in-out infinite alternate;
  transform-origin: center center;
}

.auth-ux-page::after {
  z-index: -2;
  opacity: .92;
  background:
    linear-gradient(180deg, rgba(3, 10, 19, .08) 0%, rgba(3, 10, 19, .32) 58%, rgba(3, 10, 19, .56) 100%),
    radial-gradient(circle at 50% 22%, rgba(255, 194, 98, .16), transparent 16%),
    radial-gradient(circle at 50% 68%, rgba(42, 226, 255, .08), transparent 24%);
  animation: entradaAuthGlow 9s ease-in-out infinite alternate;
}

@keyframes entradaAuthPan {
  0% { transform: translateX(-50%) scale(1.02); filter: saturate(1.02) brightness(.94); }
  50% { transform: translateX(-50%) scale(1.05) translateY(-8px); filter: saturate(1.06) brightness(1); }
  100% { transform: translateX(-50%) scale(1.08) translateY(6px); filter: saturate(1.04) brightness(.97); }
}

@keyframes entradaAuthGlow {
  0% { opacity: .82; }
  100% { opacity: .98; }
}

.auth-ux-page .container,
.auth-ux-page .row,
.auth-ux-page form {
  position: relative;
  z-index: 1;
}

.auth-ux-page .row.justify-content-center > [class*="col-"] {
  max-width: 860px;
}

.auth-ux-page .login-form {
  position: relative;
  overflow: hidden;
  color: #eaf6ff;
  background:
    linear-gradient(145deg, rgba(7, 18, 32, .90) 0%, rgba(6, 16, 29, .82) 58%, rgba(6, 15, 26, .76) 100%);
  border: 1px solid rgba(121, 214, 255, .24);
  border-radius: 26px;
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow:
    0 28px 80px rgba(3, 11, 22, .34),
    0 0 0 1px rgba(255, 255, 255, .04) inset;
  backdrop-filter: blur(18px);
}

.auth-ux-page .login-form::before {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.auth-ux-signup .login-form::before {
  content: "Crie sua conta";
}

.auth-ux-login .login-form::before {
  content: "Acesse sua conta";
}

.auth-ux-page .login-form::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 88% 4%, rgba(76, 232, 255, .16), transparent 24%);
  opacity: .9;
  animation: entradaAuthCardPulse 8s ease-in-out infinite alternate;
}

@keyframes entradaAuthCardPulse {
  0% { opacity: .72; }
  100% { opacity: .95; }
}

.auth-ux-page .login-form > * {
  position: relative;
  z-index: 1;
}

.auth-ux-page label,
.auth-ux-page .form-group label,
.auth-ux-page .custom-control-label,
.auth-ux-page .custom-radio-label {
  color: #f8fbff !important;
  font-weight: 800;
}

.auth-ux-page .form-control,
.auth-ux-page select,
.auth-ux-page textarea {
  min-height: 46px;
  color: #eaf6ff !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(190, 221, 255, .18) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.auth-ux-page .form-control::placeholder {
  color: rgba(223, 239, 255, .62) !important;
}

.auth-ux-page .form-control:focus,
.auth-ux-page select:focus,
.auth-ux-page textarea:focus {
  border-color: #46f0d4 !important;
  box-shadow: 0 0 0 3px rgba(70, 240, 212, .14) !important;
}

.auth-ux-page .form-group {
  margin-bottom: 13px !important;
}

.auth-ux-page .theme-btn,
.auth-ux-page button[type="submit"] {
  border: 0 !important;
  color: #06131f !important;
  background: linear-gradient(135deg, #46f0d4 0%, #55ffd7 48%, #9fffe8 100%) !important;
  box-shadow: 0 14px 34px rgba(70, 240, 212, .22) !important;
  font-weight: 900 !important;
}

.auth-ux-page a {
  color: #50e9ff !important;
}

.auth-ux-page .alert {
  border-radius: 14px;
}

.auth-captcha-card {
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid rgba(93, 212, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.auth-captcha-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
  margin-bottom: 10px;
}

.auth-captcha-title::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4effdd 0%, #20b4ff 100%);
  box-shadow: 0 0 16px rgba(78, 255, 221, .45);
}

.auth-captcha-help {
  color: rgba(235, 246, 255, .72);
  font-size: 12px;
  margin-top: 8px;
}

.auth-ux-page .g-recaptcha,
.auth-ux-page .cf-turnstile {
  transform-origin: left top;
  max-width: 100%;
}

.auth-ux-page .signup-domain-card {
  color: #eaf6ff;
  background: rgba(255, 255, 255, .045) !important;
  border-color: rgba(93, 212, 255, .22) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.auth-ux-page .signup-domain-card .domain-option {
  background: rgba(255, 255, 255, .065) !important;
  border-color: rgba(190, 221, 255, .18) !important;
}

.auth-ux-page .signup-domain-card .domain-option.active {
  background: rgba(70, 240, 212, .10) !important;
  border-color: #46f0d4 !important;
}

.auth-ux-page .signup-domain-card .domain-option-title {
  color: #fff !important;
}

.auth-ux-page .signup-domain-card .domain-option-desc,
.auth-ux-page .signup-domain-card .text-muted {
  color: rgba(235, 246, 255, .72) !important;
}

@media (max-width: 767px) {
  .auth-ux-page {
    min-height: auto;
    padding-top: 14px !important;
    padding-bottom: 24px !important;
  }

  .auth-ux-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .auth-ux-page .login-form {
    border-radius: 18px;
    padding: 18px 14px;
    backdrop-filter: blur(14px);
  }

  .auth-ux-page .form-control,
  .auth-ux-page select,
  .auth-ux-page textarea {
    min-height: 42px;
  }

  .auth-ux-page .g-recaptcha,
  .auth-ux-page .cf-turnstile {
    transform: scale(.86);
  }
}
/* codex-20260719: auth pages keep the same small gap below the fixed navigation before the super banner. */
.em-auth-body .hero-section--super-banner.hero-section--auth {
  margin-top: 62px !important;
}

@media (max-width: 767.98px) {
  .em-auth-body .hero-section--super-banner.hero-section--auth {
    margin-top: 10px !important;
  }
}

/* codex-20260719: remove only the translucent title cover below auth super banners. */
.em-auth-body .hero-section--super-banner + .banner-container,
.em-auth-body .hero-section--super-banner + .container.banner-container {
  background: transparent !important;
  background-image: none !important;
  isolation: auto !important;
}

.em-auth-body .hero-section--super-banner + .banner-container::before,
.em-auth-body .hero-section--super-banner + .banner-container::after,
.em-auth-body .hero-section--super-banner + .container.banner-container::before,
.em-auth-body .hero-section--super-banner + .container.banner-container::after {
  display: none !important;
  content: none !important;
}

/* codex-20260719: single seamless video background for login and signup pages. */
.em-auth-body .em-auth-stage {
  background: #050b13 !important;
  overflow: hidden !important;
}

.em-auth-body .em-auth-stage__video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.em-auth-body .em-auth-stage::before,
.em-auth-body .em-auth-stage__veil,
.em-auth-body .auth-ux-page::before,
.em-auth-body .auth-ux-page::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
  animation: none !important;
}

.em-auth-body .em-auth-stage__content {
  position: relative;
  z-index: 2;
}

.em-auth-body .auth-ux-page {
  background: transparent !important;
}
