/* =========================================
   css/layout/auth.css
   Layout de páginas de autenticación:
   Login y Recuperación de Contraseña.
========================================= */

/* --- Layout de dos columnas --- */
.login-layout {
  display: flex;
  height: 100vh;
}

/* --- Panel Izquierdo (branding, solo desktop) --- */
.login-left {
  background-color: var(--bg-slate-900);
  width: 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-white);
}

.login-logo {
  height: auto;
  width: 220px;
  max-width: 100%;
  mix-blend-mode: screen;
  object-fit: contain;
}

.login-title {
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1.2;
}

.login-footer {
  color: var(--text-slate-400);
  font-size: 0.9rem;
}

.login-footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.login-footer a:hover {
  opacity: 1;
}

.login-footer a:visited {
  color: inherit;
}

/* --- Panel Derecho (formulario) --- */
.login-right {
  width: 50%;
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-form-container {
  width: 100%;
  max-width: 400px;
}

/* --- Branding móvil (oculto en desktop) --- */
.login-mobile-branding {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-slate-200);
}

.login-mobile-logo {
  width: 200px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  margin-bottom: 0.75rem;
}

.login-mobile-tagline {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-slate-500);
  line-height: 1.4;
  max-width: 280px;
}

/* --- Títulos del formulario --- */
.form-title {
  font-size: 2rem;
  margin-bottom: 5px;
}

.form-subtitle {
  color: var(--text-slate-500);
  margin-bottom: 1.25rem;
}

/* --- Responsive: pantallas pequeñas --- */
@media (max-width: 768px) {
  .login-left {
    display: none;
  }

  .login-right {
    width: 100%;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    overflow-y: auto;
  }

  .login-form-container {
    padding-top: 1rem;
  }

  .login-mobile-branding {
    display: flex;
  }
}
