/* SHADOW AI — Electric Blue Auth V1 | shared by login.html and register.html */
:root{color-scheme:dark;--bg:#040918;--surface:#0a1630;--panel:#0b1935;--panel2:#10254a;--line:rgba(101,148,244,.22);--line-strong:rgba(90,166,255,.38);--text:#f1f7ff;--sub:#a8bada;--muted:#8198bd;--blue:#2873ff;--blue-bright:#348bff;--cyan:#00d5f8;--font:'DM Sans',system-ui,-apple-system,sans-serif;--heading:'Manrope',system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;min-height:100vh;color:var(--text);background:var(--bg);font-family:var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}
button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #80dfff;outline-offset:3px}
::selection{background:#2164dc;color:white}
.auth-shell{position:relative;min-height:100vh;min-height:100dvh;isolation:isolate;background:radial-gradient(ellipse 810px 670px at 92% 12%,rgba(19,102,255,.22),transparent 72%),radial-gradient(ellipse 600px 550px at 13% 98%,rgba(0,203,246,.085),transparent 70%),#040918}
.auth-shell::before{position:absolute;inset:0;content:"";z-index:-2;pointer-events:none;background-image:radial-gradient(rgba(122,161,235,.2) .7px,transparent .7px);background-size:29px 29px;mask-image:linear-gradient(180deg,#000,transparent 88%);opacity:.5}
.auth-shell::after{position:absolute;inset:0;z-index:-1;content:"";pointer-events:none;background:linear-gradient(116deg,transparent 5%,rgba(12,62,146,.055) 38%,transparent 67%)}
.auth-topbar{position:relative;z-index:12;display:flex;align-items:center;justify-content:space-between;width:min(1480px,calc(100% - 96px));min-height:94px;margin:auto;gap:20px}
.auth-brand{display:inline-flex;align-items:center;min-height:52px}.auth-brand img{width:186px;height:auto;max-height:64px;object-fit:contain;object-position:left}
.auth-back{display:inline-flex;align-items:center;gap:10px;color:#acc0e3;font-size:12px;font-weight:700;border:1px solid rgba(121,166,248,.18);padding:10px 14px;border-radius:12px;background:rgba(13,28,57,.6);transition:border .2s,background .2s,transform .2s}
.auth-back:hover{background:#12254a;border-color:rgba(101,181,255,.55);transform:translateX(-3px);color:white}.auth-back svg{width:16px;height:16px}
.auth-grid{width:min(1480px,calc(100% - 96px));margin:0 auto;min-height:calc(100dvh - 94px);display:grid;grid-template-columns:minmax(440px,.86fr) minmax(0,1.14fr);align-items:center;gap:clamp(35px,6vw,108px);padding:22px 0 55px}
.auth-form-column{position:relative;z-index:5;display:flex;align-items:center;justify-content:center;padding:12px 0 30px}
.auth-form-wrap{width:min(100%,460px);margin:0 auto}
.auth-eyebrow{display:inline-flex;align-items:center;gap:10px;padding:8px 13px;border-radius:100px;color:#b2d7ff;background:rgba(40,115,255,.09);border:1px solid rgba(76,142,255,.25);font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.auth-eyebrow .mini-star{display:grid;place-items:center;width:19px;height:19px;border-radius:6px;background:linear-gradient(125deg,#2677ff,#2ac4e6);color:#fff;font-size:12px;box-shadow:0 0 19px #1666fc65}
.auth-form-wrap h1{font:800 clamp(35px,3.25vw,49px)/1.18 var(--heading);letter-spacing:-.058em;margin:20px 0 12px}
.auth-form-wrap h1 span{background:linear-gradient(105deg,#f9fcff 5%,#92baff 48%,#38d9f6 100%);background-clip:text;color:transparent}
.auth-lead{font-size:14px;color:var(--sub);line-height:1.85;max-width:430px;margin:0 0 27px}
.auth-card{position:relative;padding:31px;border:1px solid rgba(104,155,241,.26);border-radius:23px;background:linear-gradient(155deg,rgba(16,35,74,.92),rgba(8,20,42,.97) 76%);box-shadow:0 38px 80px rgba(0,0,0,.32),inset 0 1px 0 rgba(209,229,255,.055);backdrop-filter:blur(18px)}
.auth-card::before{position:absolute;content:"";height:1px;left:40px;right:40px;top:-1px;background:linear-gradient(90deg,transparent,rgba(38,172,255,.67),transparent);pointer-events:none}
.auth-form{display:flex;flex-direction:column;gap:17px}.auth-field{display:flex;flex-direction:column;gap:9px;min-width:0}
.auth-field label{color:#d5e5fc;font-size:12px;font-weight:700}
.auth-input-wrap{position:relative;display:flex;align-items:center;min-width:0}.auth-field-icon{position:absolute;left:16px;width:19px;height:19px;pointer-events:none;color:#7193c7;stroke-width:1.8;transition:color .2s}
.auth-input-wrap:focus-within .auth-field-icon{color:#51bcff}
.auth-input-wrap input{display:block;width:100%;height:54px;min-width:0;padding:0 49px 0 47px;color:#f0f7ff;background:rgba(4,12,29,.79);border:1px solid rgba(121,150,201,.26);border-radius:12px;outline:none;font-size:13px;transition:border-color .2s,box-shadow .2s,background .2s}
.auth-input-wrap input::placeholder{color:#617da6}.auth-input-wrap input:hover{border-color:rgba(117,157,234,.49)}
.auth-input-wrap input:focus{border-color:#398dff;background:#07172f;box-shadow:0 0 0 3px rgba(40,115,255,.17),0 0 26px rgba(0,147,255,.06)}
.auth-input-wrap input[type="password"]::-ms-reveal{display:none}
.auth-toggle-password{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:39px;height:38px;display:grid;place-items:center;padding:0;background:transparent;color:#9ab3d7;border:0;border-radius:9px;transition:background .2s,color .2s}
.auth-toggle-password:hover{color:#dff4ff;background:rgba(93,141,211,.16)}.auth-toggle-password svg{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-3px}.auth-row-note{display:flex;align-items:center;gap:7px;font-size:11px;color:#788fb4}.auth-row-note svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.7}
.auth-link{font-size:12px;font-weight:700;color:#78c6ff;transition:color .2s}.auth-link:hover{color:#d5f7ff;text-decoration:underline;text-underline-offset:4px}
.auth-primary-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;margin-top:3px;padding:12px 18px;border:1px solid rgba(122,218,255,.18);border-radius:12px;color:#fff;font-size:13px;font-weight:800;background:linear-gradient(105deg,#225dff 0%,#1686f7 57%,#00bce7 100%);box-shadow:0 13px 28px rgba(21,108,236,.29),inset 0 1px 0 rgba(240,255,255,.22);position:relative;overflow:hidden;transition:transform .22s,box-shadow .22s,filter .22s}
.auth-primary-btn::before{content:"";position:absolute;inset:-120% auto -120% -50%;width:30%;transform:rotate(25deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.26),transparent);transition:left .65s ease}.auth-primary-btn:hover::before{left:140%}.auth-primary-btn:hover{transform:translateY(-2px);box-shadow:0 18px 35px rgba(25,109,242,.39);filter:brightness(1.07)}.auth-primary-btn:active{transform:none}.auth-primary-btn:disabled{opacity:.58;cursor:not-allowed;transform:none}
.auth-primary-btn::after{content:'↗';font-size:18px;font-weight:600;margin-left:3px;opacity:.9}
#risposta{min-height:18px;margin:0;text-align:center;line-height:1.5;font-size:12px;color:#ff929f}
#risposta:empty{min-height:0}
#risposta.text-emerald-400,.text-emerald-400{color:#4ee6ad!important}.text-slate-500{color:#8193b0!important}
.auth-switch{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:21px;padding-top:20px;border-top:1px solid rgba(115,155,221,.15);color:#9bafce;font-size:12px}
.auth-switch a{font-size:12px;font-weight:800;color:#61bfff;transition:color .2s}.auth-switch a:hover{color:#b1f2ff}
.auth-footnote{margin:19px 0 0;display:flex;gap:8px;justify-content:center;color:#697fa8;font-size:10px;line-height:1.5;text-align:center}.auth-footnote svg{width:14px;height:14px;flex-shrink:0}
.auth-rule-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;row-gap:7px;padding-top:5px}.auth-rule-list>div{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.35;transition:color .2s}.auth-rule-list [data-icon]{flex:none;display:grid;place-items:center;width:14px;height:14px;font-size:13px}
.auth-password-meter{margin:4px 0 0;height:4px;overflow:hidden;background:#182b4c;border-radius:10px}.auth-password-meter span{display:block;height:100%;width:0%;border-radius:10px;background:linear-gradient(90deg,#ff758f,#ffbf6f);transition:width .2s,background .2s}
.auth-password-meter[data-level="strong"] span{background:linear-gradient(90deg,#228cfb,#47eac6)}.auth-password-meter[data-level="mid"] span{background:linear-gradient(90deg,#2b8bff,#ecbc65)}
.auth-strength-caption{min-height:14px;font-size:10px;color:#7997c1;margin:2px 0 0}
/* right product experience */
.auth-showcase{position:relative;z-index:2;min-width:0;max-width:760px;width:100%;margin-inline:auto;display:flex;align-items:center;justify-content:center;min-height:620px}
.auth-showcase::before{content:"";position:absolute;width:750px;height:750px;max-width:130%;max-height:115%;border-radius:50%;background:radial-gradient(circle,rgba(20,106,253,.27),rgba(26,80,212,.10) 43%,transparent 73%);filter:blur(7px);animation:glow-breathe 7s ease-in-out infinite;pointer-events:none}
.auth-celestial{position:absolute;inset:0;pointer-events:none;transform:translate3d(calc(var(--par-x, 0px) * .18),calc(var(--par-y, 0px) * .18),0);transition:transform .3s ease}
.auth-orbit{position:absolute;left:50%;top:50%;border-radius:50%;border:1px solid rgba(77,133,231,.16);transform:translate(-50%,-50%) rotate(-23deg)}.auth-orbit.one{width:640px;height:640px;max-width:115%;max-height:105%;animation:orbit-turn 80s linear infinite}.auth-orbit.two{width:480px;height:480px;max-width:94%;max-height:85%;border-color:rgba(28,187,243,.15);animation:orbit-turn-reverse 61s linear infinite}
.auth-orbit::before{content:"";position:absolute;top:4%;left:23%;width:6px;height:6px;border-radius:50%;background:#42bafa;box-shadow:0 0 13px #17aefa}
.auth-satellite{position:absolute;border:1px solid rgba(111,169,247,.26);border-radius:12px;background:linear-gradient(135deg,#15315f,#0b1835);box-shadow:0 9px 32px rgba(0,0,0,.22);display:grid;place-items:center;animation:float 6s ease-in-out infinite}
.auth-satellite svg{stroke:#74c9ff;width:19px;height:19px;fill:none;stroke-width:1.8}.auth-satellite.s1{width:43px;height:43px;top:8%;right:17%;animation-delay:-2s}.auth-satellite.s2{width:32px;height:32px;bottom:12%;left:10%;animation-delay:-3.7s}.auth-satellite.s3{width:26px;height:26px;top:16%;left:6%;animation-delay:-1.4s}
.auth-preview{position:relative;z-index:2;width:min(100%,650px);border-radius:25px;border:1px solid rgba(113,169,249,.32);background:linear-gradient(140deg,#14274b,#0c1934 44%,#091429);box-shadow:0 40px 110px #0008,0 0 65px rgba(37,121,255,.11),inset 0 1px 0 rgba(212,234,255,.09);overflow:hidden;transform:perspective(1400px) rotateY(calc(var(--tilt-x,0) * 1deg)) rotateX(calc(var(--tilt-y,0) * 1deg));transition:transform .35s ease}
.auth-preview-top{min-height:53px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(137,168,232,.13);padding:0 20px;background:rgba(11,25,52,.72)}.auth-window-dots{display:flex;gap:6px}.auth-window-dots i{width:7px;height:7px;border-radius:50%;background:#fc7396}.auth-window-dots i:nth-child(2){background:#f2c46e}.auth-window-dots i:nth-child(3){background:#42d7c3}.auth-preview-url{color:#819bc5;font-size:10px;font-weight:700;letter-spacing:.025em}.auth-preview-online{width:7px;height:7px;border-radius:50%;background:#60e8ba;box-shadow:0 0 12px #60e8ba}
.auth-preview-body{padding:25px}.auth-preview-title{display:flex;align-items:center;gap:11px}.auth-preview-appicon{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:linear-gradient(135deg,#286bff,#00c5e8);color:#fff;font:900 16px var(--heading)}.auth-preview-title strong{display:block;font-size:16px;font-family:var(--heading);letter-spacing:-.04em}.auth-preview-title span{font-size:11px;color:#91a9d1}
.auth-mock-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:13px;margin-top:20px}.auth-mock-box{position:relative;min-width:0;padding:18px;border-radius:15px;border:1px solid rgba(119,163,230,.17);background:linear-gradient(145deg,rgba(25,46,87,.8),rgba(10,25,52,.85))}.auth-mock-box-head{display:flex;align-items:center;justify-content:space-between;color:#c9d9f4;font-weight:800;font-size:11px;gap:10px}.auth-mock-box-head svg{width:17px;height:17px;stroke:#6ad9fa;fill:none;stroke-width:1.8}.auth-mock-caption{font-size:11px;color:#8faad4;margin-top:8px;line-height:1.7}.auth-prompt{border:1px solid rgba(104,159,245,.18);padding:11px 12px;background:rgba(4,15,34,.75);border-radius:9px;color:#adbeea;font-size:11px;margin-top:17px;min-height:59px}.auth-prompt .cursor{border-right:2px solid #4adbf3;animation:cursor-blink 1s step-end infinite}.auth-mock-pill{display:inline-flex;align-items:center;gap:7px;margin-top:15px;background:rgba(33,120,249,.18);border:1px solid rgba(67,146,255,.24);padding:9px 10px;border-radius:8px;color:#b4e8ff;font-size:10px;font-weight:800}.auth-mock-pill .pulse{width:6px;height:6px;border-radius:50%;background:#72e5d3;box-shadow:0 0 0 4px #66e6d21a;animation:dot-pulse 2s ease-in-out infinite}
.auth-creative-tile{position:relative;min-height:219px;border-radius:10px;margin-top:11px;overflow:hidden;background:radial-gradient(circle at 84% 15%,#21b9efaa,transparent 42%),linear-gradient(135deg,#10256d,#194bd6 58%,#091e5e);border:1px solid rgba(154,207,255,.23)}.auth-creative-tile::before{content:"";position:absolute;width:220px;height:220px;right:-88px;bottom:-120px;border:28px solid rgba(163,225,255,.29);border-radius:50%;animation:creative-spin 22s linear infinite}.auth-creative-tile::after{content:"";position:absolute;width:135px;height:135px;top:-70px;right:-27px;background:linear-gradient(145deg,#9ae7ff77,transparent);transform:rotate(32deg);border-radius:20px;animation:art-drift 9s ease-in-out infinite}.auth-creative-overline{position:absolute;top:15px;left:14px;font-size:9px;letter-spacing:.17em;font-weight:800;color:#bdefff}.auth-creative-big{position:absolute;left:14px;top:76px;max-width:85%;font:900 clamp(21px,3vw,31px)/.99 var(--heading);letter-spacing:-.075em;color:white}.auth-creative-small{position:absolute;left:15px;bottom:16px;font-size:10px;font-weight:700;color:#c1eaff}
.auth-preview-foot{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:14px;gap:12px;border-top:1px solid rgba(111,160,238,.15);font-size:10px;color:#8ea9d2}.auth-socials{display:flex;align-items:center;padding-left:4px}.auth-socials img{width:23px;height:23px;object-fit:contain;background:#112a52;border:2px solid #0b1c38;border-radius:8px;padding:2px;margin-left:-5px}.auth-preview-foot b{font-weight:700;color:#cbe0fa}
.auth-float-card{position:absolute;z-index:4;display:flex;align-items:center;gap:11px;padding:12px 15px;background:linear-gradient(140deg,#18315c,#0b1b38);border:1px solid rgba(129,178,254,.28);box-shadow:0 14px 34px #0007;border-radius:15px;animation:float 5.6s ease-in-out infinite}
.auth-float-card .float-icon{display:grid;place-items:center;width:33px;height:33px;flex:none;background:rgba(31,139,251,.18);border-radius:9px;color:#83cfff}.auth-float-card svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9}.auth-float-card strong{display:block;font-size:11px;font-weight:800}.auth-float-card small{display:block;font-size:9px;color:#9db7d9;margin-top:4px}.auth-float-card.f1{right:-5%;top:10%;animation-delay:-2.3s}.auth-float-card.f2{left:-5%;bottom:9%;animation-delay:-4.7s}
.auth-showcase-copy{position:absolute;left:7%;bottom:-11%;text-align:center;width:86%;color:#6683ab;font-size:10px;letter-spacing:.12em;font-weight:700;text-transform:uppercase}
.auth-beneath{position:absolute;bottom:14px;left:0;right:0;text-align:center;color:#58729a;font-size:11px}
.auth-beneath a:hover{color:#7dd9ff}
/* motion */
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}
@keyframes glow-breathe{0%,100%{opacity:.7;transform:scale(.92)}50%{opacity:1;transform:scale(1.06)}}
@keyframes orbit-turn{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes orbit-turn-reverse{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(-360deg)}}
@keyframes cursor-blink{50%{border-color:transparent}}@keyframes creative-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@keyframes art-drift{0%,100%{transform:rotate(32deg) translate(0)}50%{transform:rotate(32deg) translate(12px,7px)}}
@keyframes dot-pulse{0%,100%{box-shadow:0 0 0 3px #66e6d21a}50%{box-shadow:0 0 0 7px #66e6d20a}}
/* responsive */
@media(max-width:1180px){.auth-topbar,.auth-grid{width:min(100% - 64px,1200px)}.auth-grid{grid-template-columns:minmax(385px,.9fr) minmax(0,1.1fr);gap:40px}.auth-float-card.f1{right:-1%}.auth-float-card.f2{left:-1%}.auth-preview-body{padding:19px}.auth-showcase{min-height:580px}.auth-mock-box{padding:13px}}
@media(max-width:960px){.auth-topbar,.auth-grid{width:min(100% - 48px,760px)}.auth-grid{min-height:calc(100dvh - 90px);display:flex;flex-direction:column;gap:0;padding:20px 0 80px}.auth-form-column{width:100%;padding-top:26px;padding-bottom:0}.auth-form-wrap{width:min(100%,505px)}.auth-showcase{min-height:450px;margin-top:25px;max-width:590px}.auth-preview{max-width:530px}.auth-preview-body{padding:17px}.auth-float-card.f1{top:3%;right:0}.auth-float-card.f2{bottom:3%;left:0}.auth-showcase-copy{bottom:0}.auth-beneath{position:relative;bottom:auto;margin:25px 0 10px}}
@media(max-width:600px){.auth-topbar,.auth-grid{width:calc(100% - 34px)}.auth-topbar{min-height:76px}.auth-brand img{width:150px}.auth-back{font-size:0;gap:0;width:39px;height:39px;display:grid;place-items:center;padding:0}.auth-back svg{width:19px;height:19px}.auth-grid{min-height:calc(100dvh - 76px);padding:9px 0 42px}.auth-form-column{padding:8px 0 0}.auth-eyebrow{font-size:9px}.auth-form-wrap h1{font-size:clamp(31px,9vw,39px);margin-top:15px}.auth-lead{font-size:13px;margin-bottom:21px}.auth-card{padding:23px 20px;border-radius:18px}.auth-form{gap:15px}.auth-input-wrap input{height:51px}.auth-rule-list{gap:8px}.auth-showcase{min-height:375px;max-width:480px;width:100%;margin-top:42px}.auth-showcase::before{max-height:365px}.auth-preview{border-radius:18px}.auth-preview-top{min-height:41px;padding:0 12px}.auth-preview-url{font-size:9px}.auth-preview-body{padding:13px}.auth-mock-grid{gap:7px;margin-top:14px}.auth-mock-box{padding:10px}.auth-preview-title strong{font-size:13px}.auth-preview-title span{font-size:9px}.auth-mock-caption{font-size:9px}.auth-mock-box-head{font-size:9px}.auth-prompt{min-height:60px;font-size:9px;padding:8px}.auth-mock-pill{margin-top:9px;font-size:8px;padding:7px}.auth-creative-tile{min-height:175px}.auth-creative-big{font-size:22px;top:72px}.auth-creative-small{font-size:8px}.auth-creative-overline{font-size:8px}.auth-float-card{padding:8px;gap:6px;border-radius:10px}.auth-float-card .float-icon{width:25px;height:25px}.auth-float-card svg{width:13px;height:13px}.auth-float-card strong{font-size:8px}.auth-float-card small{font-size:8px}.auth-float-card.f1{top:-18px;right:-5px}.auth-float-card.f2{bottom:-13px;left:-7px}.auth-socials img{width:20px;height:20px}.auth-preview-foot{font-size:9px}.auth-showcase-copy{bottom:-34px;font-size:9px}.auth-orbit{opacity:.6}}
@media(max-width:370px){.auth-card{padding:20px 16px}.auth-float-card.f1{right:-4px}.auth-preview-body{padding:10px}.auth-showcase{min-height:340px}.auth-creative-tile{min-height:150px}.auth-creative-big{font-size:18px}.auth-mock-pill{font-size:7px}.auth-mock-caption{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.auth-shell *, .auth-shell *::before,.auth-shell *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.auth-preview{transform:none!important}.auth-celestial{transform:none!important}}
/* Prevent decorative orbit/floating card overhang from widening the mobile page. */
.auth-shell{overflow-x:clip}
