/* Estilos exclusivos de login.php. No se carga en otras páginas. */

/* =========================
   LOGIN PRO AISLADO
========================= */

body.login-page {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0d3c5f, #1f7a9c);
  font-family: Arial;
}

.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.login-card {
  width: 320px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: fadeIn 0.5s ease;
}

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

.login-logo img {
  width: 120px;
  background: white;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 15px;
}

h2 {
  color: white;
  margin-bottom: 20px;
}

/* INPUTS */
.input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 15px;
}

.input-group i {
  color: white;
  margin-right: 10px;
}

.input-group input {
  border: none;
  background: none;
  color: white;
  flex: 1;
  outline: none;
}

.input-group input::placeholder {
  color: #ddd;
}

/* PASSWORD */
.password-group {
  position: relative;
}

.toggle-pass {
  cursor: pointer;
  color: white;
}

/* CHECKBOX */
.remember-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  margin: 10px 0;
}

.check-custom input {
  display: none;
}

.check-custom span {
  width: 18px;
  height: 18px;
  border: 2px solid white;
  display: inline-block;
  border-radius: 4px;
}

.check-custom input:checked + span {
  background: white;
}

/* BOTÓN */
.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: #1f7a9c;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-login:hover {
  background: #16627a;
}

/* ERROR */
.error {
  color: #ffb3b3;
  margin-top: 10px;
}
