/* login-nuevo.css — INICIO DE SESIÓN NUEVO (18-nov-2026, Sol; pedido por Axel). Va con js/login-nuevo.js.
   Lo primero que se ve son Trufa y Freddye y para qué sirve la app; un solo botón grande (Google, que usa el 84 %);
   el correo queda plegado debajo. Mismo morado de la marca. En Navidad, perros con gorro y nieve. */
.auth-overlay.lg2 { justify-content: flex-end; align-items: stretch; gap: 0; padding: 0;
  background: radial-gradient(120% 62% at 50% 20%, #9A4BF2 0%, #6A28CC 40%, #37157A 78%, #24104F 100%); }
.auth-overlay.lg2::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(2px 2px at 12% 14%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 82% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 66% 26%, #fff 50%, transparent 51%), radial-gradient(1.6px 1.6px at 24% 31%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 91% 38%, #fff 50%, transparent 51%), radial-gradient(1.6px 1.6px at 7% 44%, #fff 50%, transparent 51%); }
.lg2 .auth-paws { display: none; }
.lg2 .auth-brand { position: absolute; top: calc(22px + var(--sai-top, 0px)); left: 0; right: 0; justify-content: center; z-index: 2; }
.lg2 .auth-brand__logo { width: 38px; height: 38px; }
.lg2 .auth-brand__text { font-size: 22px; }

.lg2-hero { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: calc(78px + var(--sai-top, 0px)) 26px 22px; text-align: center; color: #fff; font-family: "Nunito", system-ui, sans-serif; }
.lg2-perros { position: relative; display: flex; align-items: flex-end; justify-content: center; height: min(33vh, 290px); min-height: 150px; transition: height .32s ease; }
.lg2-perros::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -8px; height: 26px; border-radius: 50%; background: rgba(20, 6, 60, .42); filter: blur(7px); z-index: 0; }
.lg2-perros img { position: relative; z-index: 1; height: 100%; width: auto; filter: drop-shadow(0 10px 14px rgba(20, 5, 60, .35)); animation: lg2Salto 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
.lg2-perros img:first-child { height: 86%; margin-right: -14px; animation-delay: .35s; }
@keyframes lg2Salto { 0%, 62%, 100% { transform: translateY(0) scale(1, 1); } 70% { transform: translateY(0) scale(1.03, .96); } 80% { transform: translateY(-11px) scale(.98, 1.03); } 90% { transform: translateY(0) scale(1.02, .98); } }
.lg2-bocadillo { position: absolute; z-index: 2; top: -4px; right: -26px; padding: 7px 12px; border-radius: 16px 16px 16px 4px; background: #fff; color: #3A1578; font: 900 14.5px/1 "Nunito", system-ui, sans-serif; box-shadow: 0 6px 14px rgba(20, 5, 60, .3); animation: lg2Hola .5s cubic-bezier(.2, 1.4, .4, 1) .7s both; }
@keyframes lg2Hola { from { opacity: 0; transform: scale(.5) translateY(8px); } to { opacity: 1; transform: none; } }
.lg2-titulo { margin: 22px 0 8px; font-size: 31px; font-weight: 900; line-height: 1.1; letter-spacing: -.4px; text-shadow: 0 3px 14px rgba(20, 5, 60, .35); }
.lg2-titulo b { color: #FFD76A; font-weight: 900; }
.lg2-sub { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: #E9DDFF; }
.lg2-hero > * { animation: lg2Sube .5s ease both; } .lg2-titulo { animation-delay: .12s; } .lg2-sub { animation-delay: .2s; }
@keyframes lg2Sube { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* La hoja de abajo: una sola decisión */
.lg2 .auth-modal { flex: 0 0 auto; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 30px 30px 0 0; padding: 22px 22px calc(18px + var(--sai-bottom, 0px));
  box-shadow: 0 -14px 44px rgba(15, 5, 50, .38); animation: lg2Hoja .5s cubic-bezier(.2, .9, .3, 1) .15s both; }
@keyframes lg2Hoja { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.lg2 .auth-modal__title, .lg2 .auth-modal__sub, .lg2 .auth-tabs, .lg2 .auth-modal__close { display: none !important; }
.lg2 .auth-google { height: 60px; border-radius: 20px; font: 900 17.5px/1 "Nunito", system-ui, sans-serif; color: #2A1B4A; background: #fff; border: 2px solid #E2D8F6; box-shadow: 0 5px 0 #D6C9F0; gap: 12px; margin: 0; }
.lg2 .auth-google:active { transform: translateY(3px); box-shadow: 0 2px 0 #D6C9F0; }
.lg2-nota { margin: 12px 0 4px; text-align: center; font: 700 13.5px/1.3 "Nunito", system-ui, sans-serif; color: #7A6C99; }
.lg2-nota svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.lg2 .auth-divider { all: unset; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; box-sizing: border-box; margin: 8px 0 0; padding: 12px 0 6px; cursor: pointer;
  font: 800 15.5px/1 "Nunito", system-ui, sans-serif; color: #8A2BE2; }
.lg2 .auth-divider::before, .lg2 .auth-divider::after { content: none; }
.lg2 .auth-divider i { display: inline-block; width: 8px; height: 8px; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
.lg2.lg2-correo .auth-divider i { transform: translateY(2px) rotate(-135deg); }
.lg2 form, .lg2 [data-el="forgot"] { display: none; }
.lg2.lg2-correo form { display: block; margin-top: 8px; animation: lg2Sube .28s ease both; }
.lg2.lg2-correo [data-el="forgot"] { display: block; margin: 10px auto 0; }
.lg2 .auth-field input { height: 54px; border-radius: 16px; font: 700 16px/1 "Nunito", system-ui, sans-serif; }
.lg2 .auth-submit { height: 56px; border-radius: 18px; font: 900 17px/1 "Nunito", system-ui, sans-serif; }
/* con el correo abierto, los perros se encogen para dejar sitio (y al teclado) */
.lg2.lg2-correo .lg2-perros { height: min(17vh, 150px); min-height: 90px; }
.lg2.lg2-correo .lg2-bocadillo, .lg2.lg2-correo .lg2-sub { display: none; }
.lg2.lg2-correo .lg2-titulo { font-size: 24px; margin: 14px 0 0; }
.lg2.lg2-correo .lg2-hero { padding-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .lg2-perros img, .lg2-hero > *, .lg2 .auth-modal, .lg2-bocadillo { animation: none; } }

/* ajustes tras la primera captura: los dos perros caben enteros y el bocadillo no se sale */
.lg2-perros { width: 100%; max-width: 330px; }
.lg2-perros img { height: auto; max-height: 100%; width: 52%; object-fit: contain; object-position: 50% 100%; }
.lg2-perros img:first-child { height: auto; max-height: 88%; width: 50%; margin-right: -4%; }
.lg2-bocadillo { top: 2%; right: 2%; }
.lg2 .auth-modal { min-height: 0; }

/* NAVIDAD: nieve suave cayendo detrás de los perros y la hoja con un borde de nieve */
.lg2-navidad::after { content: ""; position: absolute; inset: -20% 0 0 0; pointer-events: none; z-index: 0; opacity: .85;
  background-image: radial-gradient(3px 3px at 20px 30px, #fff 50%, transparent 52%), radial-gradient(2.4px 2.4px at 110px 90px, #fff 50%, transparent 52%), radial-gradient(3.4px 3.4px at 170px 20px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 60px 140px, #fff 50%, transparent 52%), radial-gradient(2.8px 2.8px at 150px 170px, #fff 50%, transparent 52%);
  background-size: 200px 200px; animation: lg2Nieve 9s linear infinite; }
@keyframes lg2Nieve { from { transform: translateY(0); } to { transform: translateY(200px); } }
.lg2-navidad .lg2-hero, .lg2-navidad .auth-modal, .lg2-navidad .auth-brand { z-index: 1; }
.lg2-navidad .auth-modal { position: relative; }
.lg2-navidad .lg2-bocadillo { font-size: 13.5px; right: -2%; }
@media (prefers-reduced-motion: reduce) { .lg2-navidad::after { animation: none; } }

/* mientras conecta con Google, la G se esconde para que el aro no la pise */
.lg2.auth-overlay--connecting .auth-google svg { visibility: hidden; }
/* la pista del formulario único, dentro de la hoja */
.lg2 .auth-hint { margin: 10px 0 0; font: 700 13px/1.3 "Nunito", system-ui, sans-serif; color: #7A6C99; text-align: center; }
