/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Fondo decorativo */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../views/img/logos/login.jpg') no-repeat center center fixed;
  background-size: 105%;
  z-index: -1;
  filter: brightness(1.1) saturate(1.3) contrast(1.05);
  opacity: 0.85;
}

/* Fondo general */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a0a0a;
  color: #e0f7ff;
  overflow-y: auto;
}

/* Contenedor del login */
.login-container {
  max-width: 920px;
  width: 100%;
  background-color: rgba(10, 10, 25, 0.94);
  border-radius: 20px;
  box-shadow:
    0 0 25px rgba(0, 225, 255, 0.4),
    0 0 55px rgba(0, 195, 255, 0.3),
    0 0 80px rgba(0, 255, 255, 0.2);
  display: flex;
  flex-direction: row;
  border: 2px solid #00cfff;
  backdrop-filter: blur(10px);
  overflow: hidden;
  margin: 40px 0;
}

/* Imagen lateral */
.login-image {
  background-image: url('../../views/img/logos/ingre.jpg');
  background-size: cover;
  background-position: left center;
  width: 50%;
  min-height: 500px;
  filter: brightness(1.1);
}

/* Formulario */
.login-form {
  padding: 45px;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #00cfff transparent;
}

.login-form::-webkit-scrollbar {
  width: 6px;
}
.login-form::-webkit-scrollbar-thumb {
  background-color: #b3dfe9;
  border-radius: 10px;
}

/* Título visible, brillante y profesional */
.login-form h1,
.login-form h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #00eaff;
  text-shadow:
    0 0 8px rgba(0, 255, 255, 0.6),
    0 0 16px rgba(0, 225, 255, 0.4),
    0 0 22px rgba(0, 195, 255, 0.3);
}

/* Grupo de entrada */
.input-group {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 25px;
}

.input-group-text {
  background: #00aaff;
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(0, 195, 255, 0.4);
}

/* Campos de texto */
.form-control {
  border: 2px solid #00cfff;
  background-color: #ffffff;
  color: #0a0a0a;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 195, 255, 0.2);
}

.form-control:focus {
  border-color: #00eaff;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.5);
}

/* Botones azules estilizados */
.btn-primary,
.btn-success,
.btn-danger {
  background: #00bfff !important;
  color: white !important;
  border: none;
  font-size: 18px;
  padding: 14px;
  border-radius: 25px;
  width: 100%;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.4);
}

.btn-primary:hover,
.btn-success:hover,
.btn-danger:hover {
  background: #009dff !important;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

/* Enlaces */
p {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  color: #ccf3ff;
}

p a {
  color: #00cfff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

p a:hover {
  text-decoration: underline;
  color: #00eaff;
}

/* Alertas */
.alert {
  font-size: 14px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  text-align: center;
  background-color: #e0f7ff;
  color: #004d66;
  border: 1.5px solid #00cfff;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .login-image {
    display: none;
  }

  .login-form {
    width: 100%;
    padding: 30px;
    max-height: none;
  }
}
