/* Fundo animado restrito à entrada; campos e cartão permanecem estáveis. */
#auth-overlay{isolation:isolate;background:#050915;color:#f6f8ff;padding:48px 28px}
#auth-overlay::before{display:none}
.auth-atmosphere{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:paint;background:radial-gradient(ellipse at 50% 100%,#101e382b,transparent 70%)}
.auth-orb{position:absolute;display:block;width:75vw;height:85vh;border-radius:50%;opacity:.85;will-change:transform;animation:authAurora 28s ease-in-out infinite alternate}
.auth-orb-blue{left:25%;top:-38%;background:radial-gradient(ellipse,#2157e147 0%,#173e9927 37%,transparent 68%)}
.auth-orb-violet{right:-32%;top:12%;background:radial-gradient(ellipse,#633cc12b 0%,#382b761c 35%,transparent 68%);animation-name:authAuroraViolet;animation-duration:34s;animation-delay:-12s}
.auth-orb-teal{left:-29%;bottom:-39%;background:radial-gradient(ellipse,#148fa22d 0%,#1648621c 37%,transparent 68%);animation-duration:25s;animation-delay:-9s;animation-direction:alternate-reverse}
.auth-milky-way{position:absolute;inset:-45% -25%;transform:rotate(-28deg);opacity:.7;background:radial-gradient(ellipse 13% 65% at 62% 48%,#507bb315,transparent 75%),radial-gradient(ellipse 9% 35% at 59% 36%,#6589b511,transparent 78%),radial-gradient(ellipse 16% 28% at 65% 64%,#603c8b14,transparent 80%);mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent)}
.auth-starfield{position:absolute;inset:-8%;animation:authCosmicDrift 100s ease-in-out infinite alternate;transform-origin:60% 45%}
.auth-starfield::before,.auth-starfield::after{content:'';position:absolute;inset:0;pointer-events:none}
.auth-starfield::before{opacity:.48;background-image:radial-gradient(circle at 14px 28px,#c3d4f8 0 .65px,transparent 1.1px),radial-gradient(circle at 103px 84px,#91b5ec 0 .5px,transparent 1px),radial-gradient(circle at 61px 153px,#f0f4ff 0 .7px,transparent 1.2px),radial-gradient(circle at 178px 46px,#b4c0e0 0 .5px,transparent 1px),radial-gradient(circle at 194px 182px,#9baed1 0 .6px,transparent 1px);background-size:227px 211px}
.auth-starfield::after{opacity:.75;background-image:radial-gradient(circle at 5% 21%,#e3edff 0 1px,#96b9ff20 1.3px,transparent 3px),radial-gradient(circle at 17% 65%,#b9d3ff 0 1px,transparent 2px),radial-gradient(circle at 27% 11%,#f4f6ff 0 .9px,transparent 2px),radial-gradient(circle at 39% 84%,#bfd5fc 0 .8px,transparent 1.8px),radial-gradient(circle at 48% 25%,#abc7ff 0 .8px,transparent 2px),radial-gradient(circle at 67% 8%,#dbe7ff 0 1.1px,#9fc2ff20 1.5px,transparent 3.5px),radial-gradient(circle at 76% 82%,#c9d9fa 0 .85px,transparent 2px),radial-gradient(circle at 89% 19%,#e3ebfc 0 1px,transparent 2.5px),radial-gradient(circle at 95% 63%,#b4cdff 0 1px,transparent 2.5px),radial-gradient(circle at 10% 88%,#c4d7ff 0 .8px,transparent 1.8px),radial-gradient(circle at 57% 71%,#a7bbdf 0 .8px,transparent 1.8px)}
.auth-sparks i{position:absolute;width:3px;height:3px;border-radius:50%;background:#a6c7ff;box-shadow:0 0 14px #83acff88;opacity:.25;animation:authSpark 12s ease-in-out infinite alternate;left:12%;top:32%}
.auth-sparks i:nth-child(2){left:33%;top:77%;animation-delay:-4s}.auth-sparks i:nth-child(3){left:52%;top:16%;animation-delay:-9s}.auth-sparks i:nth-child(4){left:85%;top:68%;animation-delay:-6s}.auth-sparks i:nth-child(5){left:74%;top:25%;animation-delay:-2s}.auth-sparks i:nth-child(6){left:92%;top:43%;animation-delay:-8s}
#auth-overlay .auth-shell{position:relative;z-index:1;gap:80px;max-width:1060px}
#auth-overlay .auth-story{animation:authEntrance .85s ease-out both}
#auth-overlay .auth-story h1{font-family:'DM Sans',sans-serif;font-size:clamp(40px,4.2vw,60px);line-height:1.06;letter-spacing:-.055em;color:#f5f7ff;text-wrap:balance;font-weight:700;max-width:460px}
#auth-overlay .auth-story p{color:#a9b7ce;line-height:1.75}
#auth-overlay .auth-benefit{border-color:#a2bbff26;background:#1b2e4d36;color:#c3d0e7}
#auth-overlay .auth-card{background:linear-gradient(145deg,#16223bd9,#0c1425eb)!important;border:1px solid #9bb5f037!important;box-shadow:0 32px 100px #0005,inset 0 1px #ffffff0a!important;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);padding:34px 32px 26px;animation:authEntrance .75s .08s ease-out both;min-height:0}
#auth-overlay .auth-brand{margin-bottom:26px}
#auth-overlay .auth-mark{box-shadow:0 10px 36px #1659e43b!important}
#auth-overlay .auth-heading{color:#f4f7ff;font-family:'DM Sans',sans-serif;font-size:23px}
#auth-overlay .auth-sub{color:#a2b1ca;font-size:14px;margin-bottom:24px}
#auth-overlay .auth-card .auth-form label{color:#d5e0f3!important;font-size:14px;font-weight:500}
#auth-overlay .auth-form input{background:#080f20b3!important;color:#f4f7ff!important;border-color:#829ac22e!important;border-radius:12px;padding:13px 43px 13px 14px;min-height:48px;font-size:15px}
#auth-overlay .auth-form input:focus{border-color:#779eff!important;box-shadow:0 0 0 3px #749aff1f!important}
#auth-overlay .auth-form .auth-btn{border-radius:12px;min-height:48px;font-weight:600;background:linear-gradient(110deg,#285bdc,#426ee4)!important;border-color:#638aef!important}
#auth-overlay .auth-link{color:#c2d5ff;font-size:13px;font-weight:500}
#auth-overlay .auth-switch{font-size:13px;color:#99aac5;margin-top:20px}
#auth-overlay .auth-note{color:#8393ae;font-size:11px;padding-top:24px}
.auth-motion-paused .auth-atmosphere *,.auth-motion-paused .auth-atmosphere *::before,.auth-motion-paused .auth-atmosphere *::after,.auth-motion-paused .auth-atmosphere{animation-play-state:paused!important}
@keyframes authAurora{from{transform:translate3d(-7%,-2%,0) scale(.92) rotate(-12deg)}to{transform:translate3d(10%,15%,0) scale(1.16) rotate(12deg)}}
@keyframes authAuroraViolet{from{transform:translate3d(8%,-8%,0) scale(1.05)}to{transform:translate3d(-20%,12%,0) scale(1.24)}}
@keyframes authCosmicDrift{from{transform:translate3d(-.8%,-.5%,0) rotate(-.6deg) scale(1)}to{transform:translate3d(1.2%,.8%,0) rotate(.6deg) scale(1.025)}}
@keyframes authSpark{from{transform:translate3d(0,20px,0);opacity:.12}to{transform:translate3d(18px,-22px,0);opacity:.6}}
@keyframes authEntrance{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){#auth-overlay .auth-shell{gap:0;max-width:440px}#auth-overlay{padding:68px 20px 26px}.auth-orb{width:140vw;height:95vh}.auth-orb-blue{left:-30%;top:-22%}.auth-orb-violet{right:-85%;top:15%}}
@media(max-width:520px){#auth-overlay .auth-card{padding:27px 22px 23px}#auth-overlay .auth-brand{margin-bottom:23px}}
@media(prefers-reduced-motion:reduce){#auth-overlay *,#auth-overlay *::before,#auth-overlay *::after{animation:none!important;transition:none!important}.auth-orb{will-change:auto}}
