*{box-sizing:border-box}body{margin:0;background:#081d29;color:#fff;font:16px 'Segoe UI',Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.login{min-height:100svh;display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:60px;padding:38px 5%;background:url('../../img/login-bg/baika-frutas.png') center/cover}.brand{display:flex;flex-direction:column;padding:45px 0 12px;min-width:0}.brand-header{display:flex;align-items:center;gap:18px}.brand-icon{width:72px;height:72px;border-radius:19px;box-shadow:0 0 35px #80ce1630}.portal{font-size:11px;letter-spacing:2px;color:#b9d3c4}.brand-message{margin-top:auto;padding:80px 0 50px}h1{margin:0}.logo-horizontal{width:390px;max-width:90%;margin-left:-15px}.intro{margin:0;font-size:20px;color:#d7e4df}.brand-footer{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-top:25px;border-top:1px solid #ffffff26}.brand-footer>div{display:flex;flex-direction:column;gap:14px;align-items:flex-start}.brand-footer>div+div{border-left:1px solid #ffffff26;padding-left:20px}.brand-footer strong{font-size:14px;font-weight:500;line-height:1.5}.feature-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #8bd13055;border-radius:50%;background:#7bcf1512;color:#9fda50;font-size:25px}.bars{gap:4px}.bars i{width:3px;height:12px;border-radius:3px;background:currentColor}.bars i:nth-child(2){height:23px}.bars i:nth-child(3){height:17px}.access{display:flex;flex-direction:column;min-width:0;border:1px solid #ffffff24;border-radius:26px;background:linear-gradient(150deg,#102c3bf0,#071925f5);box-shadow:0 24px 70px #0005;padding:22px 36px 24px;backdrop-filter:blur(15px)}.access-top{display:flex;justify-content:flex-end}.suite{display:none}.qas{font-size:11px;color:#b6cbc2;border:1px solid #ffffff28;border-radius:5px;padding:4px 8px;letter-spacing:1px}.form-wrap{width:100%;margin:auto;padding:0 0 12px}.mobile-brand{display:flex;justify-content:center;margin:0 0 4px}.mobile-brand img{height:175px;width:auto}.overline{text-align:center;font-size:16px;color:#d4e1dd;margin:0 0 44px}h2{text-align:center;font-size:30px;font-weight:700;margin:0 0 12px;letter-spacing:-.8px}.form-intro{text-align:center;color:#a0b4bd;font-size:14px;margin:0 0 31px}#loginForm>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.input-wrap{display:flex;align-items:center;gap:12px;min-height:51px;background:#ffffff0b;border:1px solid #ffffff16;border-radius:14px;padding:0 16px;margin-bottom:16px}.input-wrap:focus-within{border-color:#93cf4f}.input-wrap svg,.security svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;color:#9dafb6;flex-shrink:0}.input-wrap input{width:100%;min-width:0;height:50px;border:0;outline:none;background:none;color:white;font-size:14px}.input-wrap input::placeholder{color:#9fb0b9}.show{display:flex;border:0;background:none;padding:5px;color:#a7bac2}.options{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:5px 0 26px}.remember{display:flex;align-items:center;gap:7px;color:#b6c4ca;font-size:12px;white-space:nowrap}.remember input{width:16px;height:16px;accent-color:#8bd130;margin:0}.forgot{font-size:12px;color:#9ed45c;background:none;border:0;padding:4px 0}.forgot:hover{text-decoration:underline}.submit{height:52px;width:100%;border:1px solid #8bd13060;border-radius:14px;background:linear-gradient(100deg,#2d964b,#769c31);color:white;font-size:15px;font-weight:700;box-shadow:0 6px 25px #75b73120}.submit:hover{filter:brightness(1.12)}.security{display:flex;align-items:center;justify-content:center;gap:7px;margin:24px 0 0;color:#91a7b0;font-size:12px}.security svg{width:14px;height:14px}.access-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #ffffff10;padding-top:17px;font-size:11px;color:#859ba6}#feedback{font-size:13px;line-height:1.5;padding:12px;border:1px solid #8bd13040;background:#8bd13015;border-radius:8px;color:#cbe8af}button:focus-visible,input:focus-visible{outline:2px solid #94d930;outline-offset:3px}.input-wrap input:focus-visible{outline:none}@media(min-width:1500px){.login{grid-template-columns:minmax(0,1fr) 510px;padding:5vh 7%;gap:8%}.access{padding-left:42px;padding-right:42px}}@media(max-width:1050px){.login{grid-template-columns:minmax(0,1fr) 420px;gap:30px;padding:30px 4%}.access{padding-left:28px;padding-right:28px}.brand-footer{gap:9px}.brand-footer>div+div{padding-left:10px}.brand-footer strong{font-size:12px}.portal{display:none}.intro{font-size:17px}}@media(max-width:760px){.login{display:flex;align-items:center;justify-content:center;padding:22px 18px;background:url('../../img/login-bg/baika-frutas.png') center/cover}.brand{display:none}.access{width:100%;max-width:440px;padding:18px 25px 22px;border-radius:23px;min-height:680px}.mobile-brand img{height:158px}.overline{font-size:16px;margin-bottom:32px}.form-intro{margin-bottom:28px}.access-footer{margin-top:22px}.options{flex-wrap:wrap}h2{font-size:29px}}

.bl-alert{display:none;color:#ffd7d1;background:#b43d3425;border:1px solid #e8817160;border-radius:10px;padding:12px;margin-bottom:18px;font-size:14px;line-height:1.5}.bl-alert.bl-show{display:block}.submit{display:flex;align-items:center;justify-content:center;gap:10px}.submit:disabled{cursor:wait;opacity:.7}.bl-spinner{display:none;width:18px;height:18px;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:login-spin .8s linear infinite}@keyframes login-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.bl-spinner{animation:none}}
[hidden]{display:none!important}.auth-label{display:block;font-size:14px;color:#d0dedc;margin:0 0 8px}.auth-back{display:block;margin:22px auto 0;font-size:14px}.auth-help{font-size:14px;line-height:1.5;color:#b0c4c5;margin:0 0 22px}.bl-alert.bl-success{color:#d9edc5;border-color:#8bd13060;background:#8bd13015}.auth-help a{color:#b8e27e}

/* Vidrio translúcido inspirado en Liquid Glass; mantiene el contraste del login. */
.brand-float-slot {
  display: block;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
}
.brand-float {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(255,255,255,.3), rgba(255,255,255,.05));
  box-shadow: inset 1px 1px 1px rgba(255,255,255,.5), inset -1px -1px 1px rgba(255,255,255,.12), 0 12px 28px rgba(0,0,0,.22);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  touch-action: manipulation;
}
.brand-float .brand-icon {
  display: block;
  width: 66px;
  height: 66px;
  border-radius: 19px;
  box-shadow: none;
  pointer-events: none;
}
.access {
  position: relative;
  isolation: isolate;
  width: 420px;
  max-width: 100%;
  justify-self: end;
  padding: 32px 36px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035)), rgba(6, 43, 43, .58);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .20), inset 0 1px 1px rgba(255, 255, 255, .30), inset 0 -1px 1px rgba(255, 255, 255, .08);
}
.access::before, .access::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}
.access::before {
  background: radial-gradient(ellipse at 0% 0%, rgba(228,255,249,.09), transparent 46%), radial-gradient(ellipse at 100% 100%, rgba(163,203,245,.05), transparent 43%);
}
.access::after {
  inset: 1px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(125deg, rgba(255,255,255,.045), transparent 30%, transparent 74%, rgba(255,255,255,.02));
}
.input-wrap {
  min-height: 56px;
  border-radius: 20px;
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.input-wrap:focus-within {
  background: rgba(255,255,255,.13);
  border-color: rgba(182,220,30,.75);
  box-shadow: 0 0 0 3px rgba(182,220,30,.10);
}
.input-wrap input::placeholder { color: #c5d1d6; }
.input-wrap svg { color: #c4d5db; }
.form-intro, .remember, .security { color: #ccdadd; }
.access-footer { color: #b8cbd1; border-top-color: rgba(255,255,255,.15); }
.forgot { color: #c0e994; }
.qas {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  color: #e0ebe6;
}
.submit {
  border: 1px solid rgba(226,255,196,.46);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 52%), linear-gradient(105deg, #2b8546, #557929);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(0,0,0,.12), 0 8px 24px rgba(53,107,27,.23);
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
  transition: filter .18s ease, box-shadow .18s ease;
}
.submit:hover { filter: brightness(1.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 28px rgba(91,160,47,.3); }
.feature-icon { background: rgba(61,109,58,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .access { background: linear-gradient(145deg, #193744, #091e2b); }
  .brand-float { background: #224442; }
}
@media (max-width: 760px) {
  .access { width: 100%; max-width: 420px; padding: 28px 24px; border-radius: 32px; }
  .access .input-wrap input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .input-wrap, .submit { transition: none; }
}

/* Ajustes locales a la tarjeta: el fondo y la marca exterior conservan sus reglas. */
.access .mobile-brand img { height: 150px; filter: none; }
.access .overline { margin-bottom: 30px; }
.access .form-intro { line-height: 1.5; margin-bottom: 28px; }
.access .input-wrap input { height: 54px; color: #FFFFFF; }
/* Unifica el campo completo incluso cuando un gestor como NordPass aplica
   un fondo al input sin activar la pseudoclase :autofill. */
.access { --autofill-field-background: #31575f; }
.access .input-wrap,
.access .input-wrap:focus-within {
  background: var(--autofill-field-background);
}
.access .input-wrap input {
  background-color: transparent;
  -webkit-box-shadow: 0 0 0 1000px var(--autofill-field-background) inset !important;
  box-shadow: 0 0 0 1000px var(--autofill-field-background) inset !important;
  -webkit-text-fill-color: #FFFFFF;
  caret-color: #FFFFFF;
}
.access .input-wrap:has(input:-webkit-autofill) {
  background: var(--autofill-field-background);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.access .input-wrap:has(input:autofill) {
  background: var(--autofill-field-background);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.access .input-wrap input:-webkit-autofill,
.access .input-wrap input:-webkit-autofill:hover,
.access .input-wrap input:-webkit-autofill:focus,
.access .input-wrap input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--autofill-field-background) inset !important;
  box-shadow: 0 0 0 1000px var(--autofill-field-background) inset !important;
  -webkit-text-fill-color: #FFFFFF;
  caret-color: #FFFFFF;
}
.access .input-wrap input:autofill {
  box-shadow: 0 0 0 1000px var(--autofill-field-background) inset !important;
  -webkit-text-fill-color: #FFFFFF;
  color: #FFFFFF;
  caret-color: #FFFFFF;
}
.access .submit { height: 56px; border-radius: 20px; }
@media (max-width: 760px) {
  .access .mobile-brand img { height: 140px; }
  .access .overline { margin-bottom: 26px; }
}

/* Contraste local para la marca y los indicadores sobre el fondo de frutas. */
.brand-message,
.brand-footer {
  background: rgba(5, 36, 42, .88);
  border: 1px solid rgba(232, 255, 246, .24);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 12px 32px rgba(0,20,26,.2);
}
.brand-message {
  width: 430px;
  max-width: 100%;
  align-self: flex-start;
  margin-bottom: 24px;
  padding: 18px 24px 24px;
}
.brand-message .logo-horizontal {
  display: block;
  width: 360px;
  max-width: 100%;
  margin: 0;
}
.brand-message .intro {
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 6px;
}
.brand-footer {
  padding: 20px;
  gap: 12px;
}
.brand-footer strong {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.brand-footer .feature-icon {
  color: #B6DC1E;
  background: rgba(182,220,30,.10);
  border-color: rgba(182,220,30,.5);
}
.brand-footer > div + div {
  border-left-color: rgba(255,255,255,.18);
  padding-left: 14px;
}
@media (min-width: 761px) and (max-width: 1050px) {
  .brand-footer { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 12px; padding: 16px; }
  .brand-footer > div + div { border-left: 0; padding-left: 0; }
  .brand-footer strong { font-size: 13px; }
  .brand-message { padding: 16px; }
  .brand-message .intro { font-size: 16px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .brand-message, .brand-footer { background: #092F35; }
}

/* Marca ligera y beneficios alineados con la franja verde del fondo. */
.brand { padding-bottom: 0; }
.brand-message {
  background: rgba(5, 36, 42, .38);
  border-color: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 24px rgba(0,20,26,.08);
}
.brand-message .intro { text-shadow: 0 1px 4px rgba(0,25,30,.8); }
.brand-footer {
  grid-template-columns: repeat(4, minmax(0,1fr));
  padding: 0;
  gap: 16px;
  min-height: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.brand-footer > div {
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
}
.brand-footer > div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(5,57,57,.22);
}
.brand-footer strong {
  color: #07383D;
  font-size: 14px;
  font-weight: 650;
  text-shadow: none;
}
.brand-footer .feature-icon {
  width: 36px;
  height: 36px;
  color: #07383D;
  background: rgba(5,57,57,.07);
  border-color: rgba(5,57,57,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  font-size: 23px;
}
@media (min-width: 761px) and (max-width: 1050px) {
  .brand-footer { gap: 8px; }
  .brand-footer > div + div { padding-left: 6px; }
  .brand-footer strong { font-size: 11px; line-height: 1.35; }
  .brand-footer .feature-icon { width: 32px; height: 32px; font-size: 21px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .brand-message { background: rgba(5,36,42,.3); }
}
@media (min-width: 761px) {
  .brand-footer { transform: translateY(20px); }
}

/* Símbolo sin placa oscura, conservando la base Liquid Glass del botón. */
.brand-float .brand-icon {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Vidrio más opaco en ambos elementos; ícono flotante sin contorno blanco. */
.brand-float {
  border: 0;
  background: rgba(5, 36, 42, .58);
  box-shadow: 0 10px 24px rgba(0,20,26,.18);
}
.brand-message {
  background: rgba(5, 36, 42, .62);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .brand-float { background: rgba(5,36,42,.78); }
  .brand-message { background: rgba(5,36,42,.78); }
}


/* Ancho completo; el ajuste depende únicamente de la altura disponible. */
@media (min-width: 1051px) {
  .login {
    --login-padding-y: clamp(20px, 4.222svh, 38px);
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr) 470px;
    gap: 60px;
    padding: var(--login-padding-y) 5%;
    background-position: center bottom;
  }
  .brand { min-height: 0; }
  .access {
    width: 420px;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
  }
}
@media (min-width: 1051px) and (max-height: 820px) {
  .access { padding: 24px 32px; }
  .access .mobile-brand img { height: 100px; }
  .access .overline { margin-bottom: 14px; }
  .access h2 { margin-bottom: 10px; }
  .access .form-intro { margin-bottom: 16px; }
  .access .input-wrap { margin-bottom: 10px; }
  .access .options { margin-bottom: 18px; }
  .access .security { margin-top: 18px; }
  .access .form-wrap { padding-bottom: 8px; }
  .access .access-footer { padding-top: 12px; }
  .access .auth-back { margin-top: 14px; }
}
@media (min-width: 1051px) and (max-height: 700px) {
  .access { padding-top: 18px; padding-bottom: 18px; }
  .access .mobile-brand img { height: 100px; }
  .access .overline { margin-bottom: 14px; }
  .access .form-intro { margin-bottom: 16px; }
}
