.auth-page.login {
  background-image: none;
  min-height: 100vh;
}

.auth-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

/* Fondo visual a pantalla completa */
.auth-visual {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../images/login_bgl.webp?v=16");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Panel con blur sobre el fondo */
.auth-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 52px);
  background: rgba(0, 45, 70, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  overflow: hidden;
  min-height: 100vh;
  max-width: 480px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(206, 233, 255, 0.10), transparent 50%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  color: var(--color0);
}

.auth-brand {
  width: 58px;
  height: auto;
  margin-bottom: 22px;
}

.auth-title {
  margin: 0;
  font-size: clamp(2.6rem, 2.1rem + 1.8vw, 4rem);
  line-height: 1.04;
  color: var(--color0);
  text-align: left;
  text-shadow: none;
}

.auth-subtitle {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.9rem, 1.6rem + 1.2vw, 3rem);
  opacity: 0.95;
}

.auth-company {
  margin: 14px 0 0;
  color: var(--color2);
  font-size: 1.3rem;
}

.auth-form {
  margin-top: 28px;
}

.auth-field {
  margin-bottom: 12px;
}

.auth-label {
  display: block;
  margin-bottom: 6px;
  color: var(--color0);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.auth-input.form-control {
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--color2);
  background: var(--color0);
  color: var(--color13);
  box-shadow: none;
  padding: 8px 12px;
  font-size: 13px;
}

.auth-input.form-control:focus {
  border-color: var(--color1);
  box-shadow: 0 0 0 3px var(--color9);
}

.auth-submit.btn {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 8px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--color1), var(--color15));
  color: var(--color0);
  font-weight: 700;
  text-transform: none;
}

.auth-submit.btn:hover,
.auth-submit.btn:focus {
  background: linear-gradient(90deg, var(--color8), var(--color14));
  color: var(--color0);
}

.auth-submit.btn[disabled] {
  opacity: 0.75;
}

.auth-secondary.btn {
  width: 100%;
  margin-top: 16px;
  border: 1px solid var(--color2);
  border-radius: 8px;
  color: var(--color0);
  background: transparent;
  font-weight: 600;
}

.auth-secondary.btn:hover,
.auth-secondary.btn:focus {
  border-color: var(--color0);
  color: var(--color0);
}

.auth-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(24px, 4vw, 52px);
  background: rgba(0, 20, 40, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-footer-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.auth-footer-title i {
  margin-right: 4px;
  opacity: 0.6;
}

.auth-footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}

.auth-status {
  min-height: 18px;
  margin-top: 8px;
  color: var(--color2);
  font-size: 11px;
}

@media (max-width: 767px) {
  .auth-panel {
    max-width: 100%;
    padding: 24px;
    border-right: none;
  }

  .auth-card {
    max-width: 430px;
  }

  .auth-footer {
    margin-top: 46px;
  }
}