/* Fondo con la imagen */
.login-hero {
  position: relative;
  min-height: 100vh;
  background-image: url("/imagenes/login_imagen.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Oscurecer un poco el fondo para que se lea mejor */
.login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* PANEL ÚNICO tipo vidrio (NO hay otra caja dentro) */
.login-box {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  padding: 2rem 2.5rem;

  background: rgba(255, 255, 255, 0.18);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.7);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* REGLA CLAVE: cualquier div/elemento dentro NO tiene fondo propio */
.login-box * {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Volvemos a darle fondo solo a los inputs (un poquito blanco) */
.login-box .form-control {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 0.5rem;
}

/* Botón azul de bootstrap */
.login-box .btn-primary {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
}

/* Colores de texto */
.login-box h2 {
  color: #ffffff;
}
.login-box label {
  color: #f0f0f0;
  font-weight: 500;
}
