/* Layout compartido de registro, ingreso y recuperación. */
body.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(47, 107, 255, 0.24), transparent 60%),
    radial-gradient(820px 500px at 100% 100%, rgba(255, 42, 34, 0.18), transparent 60%),
    var(--bg);
}

.brand-link {
  position: fixed;
  top: 22px;
  left: 32px;
  z-index: 10;
}

.brand-link img {
  display: block;
  width: auto;
  height: 58px;
}

.auth-shell {
  position: relative;
  z-index: 1;
  padding-block: clamp(90px, 10vw, 130px) 50px;
}

.auth-art {
  padding-right: 2rem;
}

.auth-art h2 {
  margin: 1rem 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.auth-art h2 em {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.auth-art p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  margin-top: 2rem;
}

.equalizer i {
  width: 14px;
  height: 30%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--blue), #fff 50%, var(--red));
  animation: auth-eq 1.2s ease-in-out infinite alternate;
}

.equalizer i:nth-child(2) {
  height: 52%;
  animation-delay: 0.1s;
}

.equalizer i:nth-child(3) {
  height: 76%;
  animation-delay: 0.2s;
}

.equalizer i:nth-child(4) {
  height: 44%;
  animation-delay: 0.3s;
}

.equalizer i:nth-child(5) {
  height: 92%;
  animation-delay: 0.15s;
}

.equalizer i:nth-child(6) {
  height: 62%;
  animation-delay: 0.25s;
}

.equalizer i:nth-child(7) {
  height: 84%;
  animation-delay: 0.05s;
}

.equalizer i:nth-child(8) {
  height: 38%;
  animation-delay: 0.35s;
}

.equalizer i:nth-child(9) {
  height: 70%;
  animation-delay: 0.2s;
}

@keyframes auth-eq {
  from {
    height: 18%;
  }

  to {
    height: 100%;
  }
}

.auth-card {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 20, 29, 0.97), rgba(9, 10, 15, 0.97));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.auth-card .eyebrow {
  color: var(--blue);
}

.auth-card h1 {
  margin: 0.6rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.auth-card .sub {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.auth-card a {
  color: var(--blue);
  font-weight: 700;
}

.auth-card a:hover {
  color: #6f97ff;
}

.auth-card .btn-auth {
  width: 100%;
  margin-top: 0.4rem;
}

.auth-logo-mobile {
  width: auto;
  height: 44px;
}

.switch {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
}

.switch a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .auth-shell {
    padding-block: 80px 40px;
  }

  .auth-card {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .brand-link {
    top: 14px;
    left: 18px;
  }

  .brand-link img {
    height: 46px;
  }

  .auth-shell {
    padding-top: 70px;
  }
}
