body.auth-body {
  background-color: var(--color-black);
  background-image: url('../img/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}

/* Dark overlay to ensure contrast and premium feel */
body.auth-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

[data-theme="light"] body.auth-body::before {
  /* Mantener un overlay oscuro pero más suave para que la imagen de fondo siga viéndose rica
     y resalte el panel de cristal blanco */
  background: rgba(0, 0, 0, 0.4);
}

.auth-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  text-align: center;
  animation: fadeInScale 0.4s ease-out;
}

.auth-logo {
  max-width: 150px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.auth-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.login-step {
  animation: fadeInStep 0.25s ease-out;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
