/* =============================
   ESTILOS GENERALES
============================== */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: #f3f4f6;
  color: #111827;
}

.login-wrapper {
  display: flex;
  min-height: 100vh;
}

/* =============================
   PANEL IZQUIERDO (BRANDING)
============================== */
.branding-panel {
  flex: 1;
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: #fff;
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.branding-content {
  max-width: 420px;
  text-align: left;
}

.branding-logo img {
  width: 160px;
  margin-bottom: 25px;
}

.branding-content h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.branding-content p {
  font-size: 15px;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Lista de características */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 16px;
}

.feature-list i {
  font-size: 22px;
  margin-right: 12px;
  color: #93c5fd;
}

/* =============================
   PANEL DERECHO (FORMULARIO)
============================== */
.form-panel {
  flex: 1;
  background: #fff;
  padding: 60px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-header h2 {
  font-size: 27px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 5px;
}

.form-header p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 35px;
}

/* Inputs */
.form-control {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #d1d5db;
}

.form-control:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.25);
}

/* Botón mostrar contraseña */
#togglePassword {
  border: none;
  background: transparent;
}

#togglePassword:hover i {
  color: #1e40af;
}

/* Forgot password */
.forgot-password-link {
  text-align: right;
  margin-bottom: 25px;
}

.forgot-password-link a {
  font-size: 14px;
  color: #1e40af;
  text-decoration: none;
}

.forgot-password-link a:hover {
  text-decoration: underline;
}

/* Botón principal */
.btn-primary {
  background: #1e40af !important;
  border: none !important;
  padding: 12px;
  font-size: 16px;
  border-radius: 10px;
  font-weight: 600;
}

.btn-primary:hover {
  background: #1e3a8a !important;
}

/* Footer */
.footer-text {
  margin-top: 35px;
  text-align: center;
}

.footer-text a {
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
}

.footer-text a:hover {
  color: #1e40af;
}

/* =============================
   VERSION MÓVIL (SUPER COMPACTA)
============================== */

@media (max-width: 992px) {
  .login-wrapper {
    flex-direction: column;
  }

  .branding-panel {
    text-align: center;
    padding: 40px 30px;
  }

  .branding-content {
    max-width: 100%;
    text-align: center;
  }

  .branding-logo img {
    width: 130px;
  }

  .branding-content h1 {
    font-size: 26px;
  }

  .branding-content p {
    font-size: 14px;
  }

  .feature-list li {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .form-panel {
    padding: 35px 25px;
  }

  .form-header h2 {
    font-size: 22px;
  }

  .form-header p {
    font-size: 14px;
  }

  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn-primary {
    padding: 10px;
    font-size: 15px;
  }

  .footer-text {
    margin-top: 25px;
  }

  .footer-text a {
    font-size: 13px;
  }
}
