body:has(#cajaLogin) { min-height: 100vh; display: flex; flex-direction: column; }
.login-box { width: calc(100% - 32px); max-width: 440px; margin: 104px auto 0; text-align: center; visibility: visible; }
.login-box #imgLogoLogin {
  display: block;
  width: auto;
  height: auto;
  max-width: 225px;
  max-height: 105px;
  margin: 0 auto 16px;
}
.login-box form { text-align: left; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.toggle-password svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toggle-password .is-hidden { display: none; }
.toggle-password:not(:disabled):hover,
.toggle-password:not(:disabled):active { transform: translateY(-50%); }
.login-box button.primary {
  margin-top: 20px;
  height: 42px;
  min-height: 42px;
  width: 260px !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 700;
  box-shadow: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}
.login-box button.primary:hover { background: #111; color: #fff; }
.login-box button.primary:active {
  transform: translateY(4px);
  box-shadow: none;
}
.login-box a { color: #111 !important; }
#cajaLogin > p > a {
  display: inline-block;
  width: 260px;
  min-width: 260px;
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  padding: 0 24px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 42px;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}
#cajaLogin > p > a:hover { background: #111; color: #fff !important; }
#cajaLogin > p > a:active { transform: translateY(2px); }
#mensajeBienvenida {
  color: #111 !important;
  font-size: 18px !important;
  font-weight: 700;
}
.login-box a[href="index.html"] { font-weight: 700; }
.pie-login {
  margin-top: auto;
  margin-bottom: 24px;
  padding: 18px 24px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}
.pie-login a { color: inherit !important; position: relative; top: -2px; }
@media (max-width: 600px) {
  .login-box { margin-top: 88px; }
  .pie-login { margin-bottom: calc(56px + env(safe-area-inset-bottom)); }
}
