/* Login Soporte GDM — estilo inspirado en gdm.sigmun.cl, adaptado a la marca.
   Alcance estricto: solo selectores .slogin-* (no altera el resto del sistema). */

.slogin-wrapper {
  width: 100%;
  max-width: 1000px;
  padding: 1.5rem 1rem;
  animation: sloginFade 0.8s ease-out;
}

@keyframes sloginFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Fondo navy solo cuando esta vista está presente (sin tocar el controlador) */
body:has(.slogin-wrapper) {
  font-family: 'Outfit', "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: #0f172a;
}

/* Footer global legible sobre fondo oscuro */
body:has(.slogin-wrapper) footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.slogin-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.slogin-left {
  flex: 1;
  min-width: 400px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slogin-left .slogin-brand-icon {
  font-size: 3.5rem;
  color: #fff;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
  margin-bottom: 1.25rem;
  line-height: 1;
}

.slogin-left h2 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.slogin-left .slogin-sub {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.slogin-left blockquote {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

.slogin-right {
  flex: 1;
  min-width: 400px;
  padding: 4rem 3.5rem;
  background: #fff;
}

.slogin-right h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.slogin-right .slogin-welcome {
  color: #64748b;
  margin-bottom: 2rem;
}

.slogin-right .form-floating > .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  height: 60px;
  background: #f8fafc;
  font-size: 1rem;
}

.slogin-right .form-floating > .form-control:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.slogin-right .form-floating > label {
  color: #64748b;
}

.slogin-right .btn-primary {
  background: #2563eb;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.slogin-right .btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

/* Footer de contacto estilo referencia */
.slogin-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.slogin-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slogin-footer a:hover {
  color: #fff;
}

.slogin-footer .separator {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.slogin-footer .sigmun-link {
  font-weight: 600;
  color: #3b82f6;
}

@media (max-width: 850px) {
  .slogin-left {
    display: none;
  }
  .slogin-right {
    min-width: 100%;
    padding: 3rem 2rem;
  }
}
