/* ==========================================
   FONDO Y ESTRUCTURA
========================================== */

.bg-image {
  background-image: url('/assets/img/login_image.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  height: 100vh;
  width: 100%;
}

.bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.9) 85%, #ffffff 100%);
  z-index: 1;
}

.bg-light {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* ==========================================
   LOGIN BOX VISUAL
========================================== */

.login-box {
  max-width: 650px;
  width: 100%;
  padding: 60px 50px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.7s ease-out;
  margin-left: -30px; /* Opcional si el espaciado sigue siendo grande */

}

.login-box h3 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.login-box .form-control {
  height: 58px;
  font-size: 1.2rem;
  padding-left: 2.5rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.login-box .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(89, 171, 110, 0.25);
  border-color: #59ab6e;
}

.login-box .btn {
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  background-color: #59ab6e;
  border-color: #59ab6e;
}

/* Iconos dentro de inputs */
.position-relative i {
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
}

/* ==========================================
   ANIMACIÓN
========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 767px) {
  .login-box {
    padding: 30px 20px;
    max-width: 90%;
  }

  .login-box h3 {
    font-size: 1.6rem;
  }

  .login-box .form-control {
    font-size: 1rem;
    height: 50px;
  }
}


.login-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}
