
/* Decoración aislada de la pantalla de acceso: no altera autenticación. */
body { background:#06172c; }
.auth { position:relative; isolation:isolate; overflow:hidden; min-height:100svh; background:radial-gradient(ellipse at 50% 65%,#16456a 0%,#0a2948 42%,#041125 100%); }
.auth::before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 14% 90%,#0caed322,transparent 30%),radial-gradient(circle at 88% 80%,#e4ac2722,transparent 27%); }
.auth-card { position:relative; z-index:4; border:1px solid #25d5f0!important; box-shadow:0 0 22px #08bce044,0 20px 65px #0008!important; background:linear-gradient(145deg,#08223bee,#07172bef)!important; }
.auth-card::before { content:""; position:absolute; inset:-7px; border:2px solid #f5ce67; border-radius:inherit; opacity:.5; pointer-events:none; }
.auth-card img { position:relative; z-index:1; }
.christmas-scene { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:1; }
.christmas-tree { position:absolute; bottom:4%; left:max(3%,calc(50% - 660px)); width:clamp(180px,30vw,390px); filter:drop-shadow(0 0 24px #06cde077); }
.tree-star { fill:#ffdf71; filter:drop-shadow(0 0 12px #ffd23c); animation:twinkle 1.8s ease-in-out infinite alternate; }
.tree-light { animation:twinkle 1.5s ease-in-out infinite alternate; }
.tree-light:nth-of-type(odd) { animation-delay:.7s; }
@keyframes twinkle { from {opacity:.45;filter:brightness(.75)} to {opacity:1;filter:brightness(1.5)} }
.snowflake { position:absolute; top:-15px; width:var(--s); height:var(--s); border-radius:50%; background:#fff; opacity:var(--o); box-shadow:0 0 7px #d6f7ff; animation:snowfall var(--d) linear infinite; animation-delay:var(--delay); }
@keyframes snowfall { from {transform:translate3d(0,-20px,0)} to {transform:translate3d(var(--drift),105vh,0)} }
.firework { position:absolute; width:5px; height:5px; border-radius:50%; z-index:1; animation:firework 5.5s ease-out infinite; animation-delay:var(--delay); opacity:0; }
.firework::before { content:""; position:absolute; inset:-65px; border-radius:50%; background:repeating-conic-gradient(from 0deg,var(--color) 0 3deg,transparent 3deg 30deg); -webkit-mask:radial-gradient(circle,transparent 0 37%,#000 42% 53%,transparent 58%); mask:radial-gradient(circle,transparent 0 37%,#000 42% 53%,transparent 58%); }
@keyframes firework { 0%,12%,100% {transform:scale(.1);opacity:0} 18% {opacity:1} 35% {transform:scale(1.15);opacity:.85} 48% {transform:scale(1.4);opacity:0} }
.festive-lights { position:absolute; top:0; left:0; width:100%; display:flex; justify-content:space-around; z-index:3; pointer-events:none; }
.festive-lights i { width:9px; height:15px; border-radius:50%; background:var(--c); box-shadow:0 0 12px 3px var(--c); animation:twinkle 1.3s infinite alternate; animation-delay:var(--t); }
.christmas-caption { position:absolute; right:3%; bottom:5%; color:#d9ecff; font-size:clamp(13px,1.6vw,18px); font-weight:700; text-shadow:0 2px 12px #000; letter-spacing:.08em; text-align:center; }
@media(max-width:760px) { .christmas-tree { width:160px; left:-42px; bottom:-10px; opacity:.5; } .christmas-caption { display:none; } .auth-card { z-index:5; } }
@media(prefers-reduced-motion:reduce) { .snowflake,.firework,.tree-star,.tree-light,.festive-lights i { animation:none!important; } .firework { opacity:0!important; } }

/* Composición independiente de los estilos globales del sistema */
.auth { display:flex; align-items:center; justify-content:center; padding:36px 22px; }
.auth-card { width:min(100%,520px); max-width:520px; padding:34px 36px; margin:0; transform:translateX(12%); color:#e9f7ff; }
.auth-card .sub,.auth-card .field { color:#c3d8e9; }
.auth-card .input { background:#0b2742; color:#fff; border-color:#53758c; }
.auth-card .btn.primary { background:#08c8ee; border-color:#08c8ee; color:#031c30; }
.christmas-scene { position:absolute; inset:0; display:block; }
.christmas-tree { left:4%; bottom:4%; width:min(32vw,440px); }
.auth { background:radial-gradient(ellipse at 50% 65%,#16456a 0%,#0a2948 42%,#041125 100%); }
@media(max-width:1000px) { .auth-card { transform:translateX(8%); } .christmas-tree { left:0; width:29vw; } }
@media(max-width:760px) { .auth-card { transform:none; width:100%; padding:26px 20px; } .christmas-tree { left:-45px; width:170px; opacity:.45; } }

.firework:nth-of-type(3) {left:24%;top:17%;--color:#ffcf6a;--delay:0s}
.firework:nth-of-type(4) {left:79%;top:20%;--color:#20d8ff;--delay:1.9s}
.firework:nth-of-type(5) {left:90%;top:37%;--color:#ff83dd;--delay:3.7s}
