/* B50: estilos limitados a pantalla de autenticación. El panel Cloud conserva style.css de B49. */
body:has(#authLayout:not(.hidden)){background:#020816!important}
body:has(#authLayout:not(.hidden)) .background{position:fixed!important;inset:0!important;background:radial-gradient(ellipse at 12% 80%,#004d803d,transparent 48%),radial-gradient(ellipse at 85% 12%,#ef75272b,transparent 42%),#020816!important;pointer-events:none!important}
#authLayout.layout{min-height:100vh!important;max-width:none!important;width:100%!important;display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(370px,.85fr)!important;align-items:center!important;gap:clamp(24px,5vw,90px)!important;padding:75px clamp(25px,5vw,95px) 45px!important;position:relative!important;background:transparent!important}
#authLayout .intro{max-width:780px!important;position:relative!important;padding:0!important;background:none!important}
#authLayout .intro .brand{display:none!important}
#authLayout .intro .eyebrow{color:#78d9ff;font-size:12px;letter-spacing:3px;font-weight:800;margin-bottom:16px}
#authLayout .intro h1{font-size:clamp(46px,5.3vw,86px)!important;line-height:1.05!important;letter-spacing:-.055em!important;color:#f5f8ff!important;margin:0 0 22px!important;max-width:760px!important}
#authLayout .intro h1 span{display:block;background:linear-gradient(100deg,#29d2ff 3%,#8c7dff 48%,#ff9b62 90%);-webkit-background-clip:text;background-clip:text;color:transparent}
#authLayout .intro p{font-size:clamp(16px,1.4vw,19px)!important;line-height:1.7!important;max-width:650px!important;color:#c3d0e4!important}
#authLayout .intro .features{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:22px!important}
#authLayout .intro .features span{padding:10px 14px!important;border:1px solid #28516e!important;border-radius:12px!important;background:#091b31bd!important;font-size:12px!important;color:#cce3f8!important}
#authLayout .orbit-art{position:relative;height:230px;margin:18px 0 0;display:flex;justify-content:center;align-items:center}
#authLayout .orbit-art img{width:240px;height:180px;object-fit:contain;filter:drop-shadow(0 0 24px #288aff6b)}
#authLayout .orbit{position:absolute;border:1px solid #39cfff8c;width:360px;height:110px;border-radius:50%;transform:rotate(-22deg)}
#authLayout .orbit-b{border-color:#ff8b4c9e;transform:rotate(24deg)}
#authLayout .login{position:relative!important;width:100%!important;max-width:540px!important;min-width:0!important;justify-self:end!important;padding:clamp(25px,3.2vw,48px)!important;border-radius:30px!important;background:linear-gradient(160deg,#0a1c36f5,#071328f8)!important;border:1px solid #47759b!important;box-shadow:0 22px 90px #0007!important;color:#f4f8ff!important}
#authLayout .login.hidden{display:none!important}
#authLayout .auth-kicker{font-size:21px;font-weight:800;margin-bottom:28px;color:#f4f8ff}
#authLayout .auth-kicker small{display:block;font-size:13px;color:#b7cce5;font-weight:400;margin-top:5px}
#authLayout .login h2{font-size:26px!important;margin:0 0 8px!important}
#authLayout .login p{color:#b8c9df!important}
#authLayout .login label{display:block;margin:17px 0 7px;color:#d7e5f8;font-weight:700;font-size:13px}
#authLayout .login input{width:100%!important;min-height:51px!important;background:#102c48!important;border:1px solid #386c91!important;border-radius:12px!important;color:white!important;padding:12px 16px!important;margin:5px 0!important;box-sizing:border-box!important}
#authLayout .login button{width:100%!important;min-height:48px!important;margin:10px 0 0!important;border-radius:12px!important;background:linear-gradient(105deg,#12bfe9,#6364ef,#ef834d)!important;color:white!important;border:0!important;font-weight:800!important;cursor:pointer!important}
#authLayout .login button.secondaryBtn{background:#08182d!important;border:1px solid #3481aa!important}
#authLayout .login a{color:#43d8ff!important}
.back-web{position:fixed;top:18px;left:24px;z-index:30;color:#dce9ff;text-decoration:none;border:1px solid #ff933b;padding:10px 17px;border-radius:12px;background:#071429ec;font-weight:700}
body:has(#portal:not(.hidden)) .back-web{display:none}
@media(max-width:860px){#authLayout.layout{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:82px 20px 35px!important}#authLayout .intro h1{font-size:clamp(40px,8vw,65px)!important}#authLayout .orbit-art{height:145px}#authLayout .orbit-art img{width:180px;height:125px}#authLayout .orbit{width:260px;height:85px}#authLayout .login{max-width:none!important}}

#authLayout.layout.hidden{display:none!important}

/* B50.1: nebulosa V12 original y campo estelar animado, SOLO en acceso. */
body:has(#authLayout:not(.hidden)) .background {
 background:linear-gradient(90deg,rgba(0,5,20,.35),rgba(0,5,20,.12)),url("assets/nebula_v12.webp") center center / cover no-repeat fixed!important;
 overflow:hidden!important; z-index:0!important;
}
body:has(#authLayout:not(.hidden)) .background::before,
body:has(#authLayout:not(.hidden)) .background::after{
 content:"";position:absolute;inset:-10%;pointer-events:none;
 background-image:radial-gradient(1.5px 1.5px at 7% 14%,#fff 90%,transparent),radial-gradient(2px 2px at 22% 61%,#8eeaff 90%,transparent),radial-gradient(1px 1px at 41% 23%,#fff 90%,transparent),radial-gradient(2px 2px at 58% 78%,#ffb16e 90%,transparent),radial-gradient(1.5px 1.5px at 77% 36%,#fff 90%,transparent),radial-gradient(1px 1px at 91% 69%,#86dfff 90%,transparent),radial-gradient(1.5px 1.5px at 13% 87%,#fff 90%,transparent),radial-gradient(1px 1px at 66% 11%,#ffb575 90%,transparent);
 background-size:390px 310px;opacity:.75;animation:cosmosStarDrift 48s linear infinite;
}
body:has(#authLayout:not(.hidden)) .background::after{background-size:590px 450px;opacity:.52;filter:blur(.65px);animation-duration:75s;animation-direction:reverse}
@keyframes cosmosStarDrift{from{transform:translate3d(0,0,0)}to{transform:translate3d(45px,-55px,0)}}
#authLayout.layout{isolation:isolate!important}
#authLayout .intro{z-index:1!important}
#authLayout .orbit-art{height:290px!important;filter:drop-shadow(0 0 20px #0f7cff55)}
#authLayout .orbit-art img{width:min(100%,390px)!important;height:270px!important;object-fit:contain!important;filter:drop-shadow(0 0 32px #18a8ff90)!important;animation:cosmosFloat 8s ease-in-out infinite}
#authLayout .orbit{width:min(90%,470px)!important;height:135px!important;box-shadow:0 0 14px #12b9ff33}
@keyframes cosmosFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@media(max-width:860px){#authLayout .orbit-art{height:190px!important}#authLayout .orbit-art img{height:185px!important;width:260px!important}#authLayout .orbit{height:90px!important;width:300px!important}}
@media(prefers-reduced-motion:reduce){body:has(#authLayout:not(.hidden)) .background::before,body:has(#authLayout:not(.hidden)) .background::after,#authLayout .orbit-art img{animation:none!important}}
