/* =========================================================
   ALEPH — LOGIN / BIENVENIDA
   Diseño aprobado: "Precisión que protege"
   ========================================================= */

:root {
  --aleph-blue: #0b4f93;
  --aleph-blue-dark: #073b73;
  --aleph-blue-light: #eaf4ff;
  --aleph-cyan: #32a7df;
  --aleph-text: #15324a;
  --aleph-muted: #6f8293;
  --aleph-border: #dbe7f1;
  --aleph-bg: #f4f8fb;
}

#view-login.aleph-login,
#view-password-change.aleph-login {
  min-height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(247, 250, 253, 0.92) 0%,
      rgba(244, 248, 252, 0.80) 23%,
      rgba(239, 245, 250, 0.55) 40%,
      rgba(232, 241, 249, 0.18) 58%,
      rgba(10, 70, 136, 0.08) 76%,
      rgba(7, 56, 117, 0.14) 100%
    ),
    url('/assets/aleph/fondo-login-aleph.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.aleph-brand-logo {
  display: block;
  width: min(270px, 72vw);
  height: auto;
  object-fit: contain;
}
.aleph-login-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.72fr);
  align-items: center;
  gap: 24px;
  padding: 38px 52px 34px;
  position: relative;
  z-index: 1;
}

.aleph-login-hero {
  padding: 0 10px 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
}

.aleph-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aleph-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--aleph-blue), var(--aleph-cyan));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(11,79,147,.18);
}

.aleph-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--aleph-blue-dark);
  line-height: 1;
}

.aleph-brand-sub {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #68839a;
  text-transform: uppercase;
}

.aleph-hero-content {
  margin-top: 22px;
  margin-bottom: 0;
  max-width: 540px;
}

.aleph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11,79,147,.07);
  color: var(--aleph-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aleph-title {
  margin-top: 18px;
  max-width: 520px;
  font-size: clamp(48px, 5vw, 82px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
  color: var(--aleph-blue-dark);
}

.aleph-title span {
  color: var(--aleph-blue);
}

.aleph-description {
  max-width: 410px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.42;
  color: #5c7390;
}

.aleph-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
}

.aleph-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #49657a;
  font-size: 12px;
  font-weight: 700;
}

.aleph-benefit i {
  color: var(--aleph-blue);
}

.aleph-equipment-scene {
  display: none;
}

.aleph-login-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
}

.aleph-login-card {
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 30px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(196, 212, 227, .85);
  box-shadow: 0 22px 65px rgba(16, 45, 72, .14);
  backdrop-filter: blur(8px);
}

.aleph-login-heading {
  color: var(--aleph-blue-dark);
  font-size: 24px;
  font-weight: 800;
}

.aleph-login-intro {
  margin-top: 7px;
  color: var(--aleph-muted);
  font-size: 12px;
}

.aleph-form-label {
  display: block;
  margin-bottom: 7px;
  color: #36586f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.aleph-field-wrap {
  position: relative;
}

.aleph-field-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #8da2b2;
  font-size: 13px;
}

.aleph-field {
  width: 100%;
  height: 45px;
  padding: 0 42px;
  border-radius: 10px;
  border: 1px solid var(--aleph-border);
  background: #fbfdff;
  color: var(--aleph-text);
  font-size: 13px;
  outline: none;
  transition: .18s ease;
}

.aleph-field:focus {
  border-color: #6eb4e2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(50,167,223,.10);
}

.aleph-password-note {
  margin-top: 7px;
  font-size: 9px;
  color: #98a8b4;
}

.aleph-auth-feedback {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.aleph-auth-feedback.is-error {
  color: #9f2d2d;
  background: #fff1f1;
  border: 1px solid #f3c5c5;
}

.aleph-auth-feedback.is-success {
  color: #256747;
  background: #eef9f3;
  border: 1px solid #c5e7d3;
}

.aleph-login-submit {
  width: 100%;
  height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, var(--aleph-blue), #146bb7);
  font-weight: 800;
  font-size: 12px;
  transition: .18s ease;
  box-shadow: 0 10px 22px rgba(11,79,147,.18);
}

.aleph-login-submit:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
  box-shadow: 0 6px 14px rgba(11,79,147,.12);
}

.aleph-login-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(11,79,147,.23);
}

.aleph-login-help {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #edf1f4;
  text-align: center;
  font-size: 10px;
  color: #8799a7;
}

.aleph-login-help a {
  color: var(--aleph-blue);
  font-weight: 800;
  text-decoration: none;
}

.aleph-demo-helper {
  margin-top: 8px;
  min-height: 14px;
  color: #8da0ae;
  font-size: 9px;
  line-height: 1.45;
}

.aleph-footer {
  margin-top: 24px;
  font-size: 9px;
  color: #92a3af;
}

/* =========================================================
   ALEPH — DETALLES FINALES DE PORTADA
   ========================================================= */

.aleph-login-hero {
  position: relative;
}

.aleph-services-top {
  position: static;
  margin-top: 34px;
  margin-bottom: 10px;
  padding-left: 16px;
  border-left: 2px solid rgba(11,79,147,.45);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: fit-content;
}

.aleph-services-top::after {
  content: "";
  width: 34px;
  height: 2px;
  margin-top: 8px;
  background: var(--aleph-blue);
}

.aleph-services-top span {
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .20em;
  color: var(--aleph-blue-dark);
}

.aleph-services-top span:last-child {
  color: #2877c2;
}

.aleph-bottom-message {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 520px;
}

.aleph-values {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 2px solid var(--aleph-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #66819a;
  width: fit-content;
}

.aleph-values b {
  font-weight: 400;
  color: #a0b0bd;
}

.aleph-safe-future {
  font-size: 10px;
  line-height: 1.7;
  font-weight: 800;
  letter-spacing: .20em;
  color: rgba(7,59,115,.82);
  text-align: left;
  padding: 10px 14px;
  background: rgba(255,255,255,.42);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.aleph-password-field {
  padding-right: 46px;
}

.aleph-password-toggle {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  display: grid;
  place-items: center;
  color: #728ba1;
  cursor: pointer;
  transition: .18s ease;
}

.aleph-password-toggle:hover {
  color: var(--aleph-blue);
  background: rgba(11,79,147,.06);
}

.aleph-password-toggle:focus-visible {
  outline: 2px solid rgba(50,167,223,.45);
  outline-offset: 1px;
}

@media (max-width: 950px) {
  #view-login.aleph-login,
  #view-password-change.aleph-login {
    background-position: left center;
  }

.aleph-services-top {
  position: static;
  width: fit-content;
  margin-top: 22px;
  margin-bottom: 8px;
}

.aleph-bottom-message {
  margin-top: 18px;
  gap: 12px;
}

.aleph-safe-future {
  display: block;
  font-size: 9px;
  letter-spacing: .14em;
  padding: 8px 10px;
}

  .aleph-login-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 18px 30px;
  }

  .aleph-login-hero {
    padding: 0;
    min-height: auto;
  }

  .aleph-hero-content {
    margin: 26px 0 6px;
    max-width: 100%;
  }

  .aleph-benefits {
    margin-top: 22px;
  }

  .aleph-login-side {
    justify-content: center;
    padding: 0;
  }

  .aleph-login-card {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  #view-login.aleph-login,
  #view-password-change.aleph-login {
    background-position: 28% center;
  }

.aleph-services-top {
  display: flex;
  margin-top: 18px;
  padding-left: 12px;
}

.aleph-safe-future {
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .10em;
}

.aleph-bottom-message {
  margin-top: 20px;
}

.aleph-values {
  flex-wrap: wrap;
  gap: 7px;
  font-size: 8px;
  letter-spacing: .12em;
}

  .aleph-title {
    font-size: 44px;
  }

  .aleph-description {
    font-size: 15px;
    max-width: 330px;
  }

  .aleph-login-card {
    padding: 26px 20px 22px;
    border-radius: 18px;
  }

  .aleph-benefits {
    gap: 10px 14px;
  }
}
