html,body{height:100%;margin:0;}
body#loginBody,body{background:#0a1633!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;}
#modifiedLogin.LoginScreen,.LoginScreen{background:linear-gradient(125deg,#08122c 0,#122a63 28%,#1e3a8a 52%,#4f46e5 76%,#7c3aed 100%)!important;background-size:220% 220%!important;background-attachment:fixed!important;animation:ticBreath 26s ease-in-out infinite;min-height:100vh!important;width:100%!important;position:relative;overflow:hidden;}
@keyframes ticBreath{0%,100%{background-position:0 40%;}
50%{background-position:100% 60%;}
}
#modifiedLogin.LoginScreen::before{content:"";position:fixed;inset:-15% -15% -15% -15%;pointer-events:none;z-index:0;opacity:.5;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'><g fill='none' stroke='%2393c5fd' stroke-width='1.1' opacity='0.35'><path d='M20 60 H140 L170 90 H300'/><path d='M300 90 V200 L340 240 H400'/><path d='M20 200 H90 L120 230 V330'/><path d='M120 330 H240 L270 360 H400'/><path d='M210 20 V120 L240 150 H330'/><path d='M60 400 V300 L100 260 H190'/><path d='M380 30 H300 L270 60 V140'/></g><g fill='%23a5b4fc' opacity='0.55'><circle cx='140' cy='60' r='3.2'/><circle cx='300' cy='90' r='3.2'/><circle cx='340' cy='240' r='3.2'/><circle cx='120' cy='230' r='3.2'/><circle cx='240' cy='330' r='3.2'/><circle cx='240' cy='150' r='3.2'/><circle cx='100' cy='260' r='3.2'/><circle cx='270' cy='60' r='3.2'/></g><g fill='none' stroke='%237dd3fc' stroke-width='0.8' opacity='0.28'><rect x='150' y='170' width='60' height='60' rx='6'/><rect x='60' y='120' width='34' height='34' rx='4'/><rect x='320' y='300' width='40' height='40' rx='5'/></g></svg>");background-size:420px 420px;animation:ticDrift 120s linear infinite;}
@keyframes ticDrift{0%{transform:translate3d(0,0,0);}
100%{transform:translate3d(-420px,-420px,0);}
}
.LoginScreen .modernCenter::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background-image:radial-gradient(760px 420px at 12% 14%,rgba(125,211,252,.16),transparent 62%),radial-gradient(680px 420px at 88% 86%,rgba(167,139,250,.22),transparent 60%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='700' viewBox='0 0 900 700'><g fill='none' stroke='%23bae6fd' stroke-width='1' opacity='0.30'><path d='M120 140 L300 90 L470 180 L640 120 L800 210'/><path d='M120 140 L210 320 L470 180'/><path d='M210 320 L390 470 L640 400 L800 210'/><path d='M390 470 L300 620 L620 600 L640 400'/></g><g opacity='0.7'><circle cx='120' cy='140' r='4.5' fill='%23e0f2fe'/><circle cx='300' cy='90' r='3.5' fill='%23bae6fd'/><circle cx='470' cy='180' r='5' fill='%23c7d2fe'/><circle cx='640' cy='120' r='3.5' fill='%23bae6fd'/><circle cx='800' cy='210' r='4.5' fill='%23e0f2fe'/><circle cx='210' cy='320' r='4' fill='%23c7d2fe'/><circle cx='390' cy='470' r='5' fill='%23e0f2fe'/><circle cx='640' cy='400' r='4' fill='%23bae6fd'/><circle cx='300' cy='620' r='3.5' fill='%23c7d2fe'/><circle cx='620' cy='600' r='4' fill='%23bae6fd'/></g></svg>");background-repeat:no-repeat,no-repeat,no-repeat;background-position:center,center,center;background-size:auto,auto,1400px 1100px;animation:ticPulse 14s ease-in-out infinite;}
@keyframes ticPulse{0%,100%{opacity:.75;}
50%{opacity:1;}
}
.LoginScreen .modernCenter::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:1;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='600' viewBox='0 0 300 600'><g fill='%23bae6fd' opacity='0.45'><rect x='40' y='520' width='6' height='6' rx='1.5'/><rect x='150' y='430' width='4' height='4' rx='1'/><rect x='250' y='560' width='7' height='7' rx='2'/><rect x='95' y='300' width='5' height='5' rx='1.5'/><rect x='210' y='240' width='6' height='6' rx='1.5'/><rect x='30' y='150' width='4' height='4' rx='1'/><rect x='170' y='80' width='6' height='6' rx='1.5'/><rect x='265' y='330' width='4' height='4' rx='1'/></g><g fill='%23a78bfa' opacity='0.4'><rect x='120' y='560' width='5' height='5' rx='1.5'/><rect x='190' y='380' width='6' height='6' rx='1.5'/><rect x='60' y='210' width='5' height='5' rx='1.5'/><rect x='230' y='120' width='4' height='4' rx='1'/></g></svg>");background-size:300px 600px;animation:ticFlow 24s linear infinite;}
@keyframes ticFlow{0%{transform:translate3d(0,0,0);opacity:.85;}
100%{transform:translate3d(0,-600px,0);opacity:.85;}
}
.modernCenter{position:fixed!important;inset:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;transform:none!important;padding:24px!important;z-index:2!important;overflow:auto!important;}
.modernContentBox{position:relative!important;z-index:3!important;transform:none!important;top:auto!important;left:auto!important;margin:0!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(6px);width:392px!important;max-width:92vw!important;padding:0 0 8px!important;border-radius:20px!important;box-shadow:0 30px 70px -14px rgba(2,8,40,.62),0 10px 28px rgba(2,8,40,.3),0 0 0 1px rgba(255,255,255,.35) inset!important;border:1px solid rgba(255,255,255,.5)!important;overflow:visible!important;height:auto!important;min-height:0!important;box-sizing:border-box;animation:ticCardIn .55s cubic-bezier(.2,.8,.25,1) both;}
@keyframes ticCardIn{from{opacity:0;transform:translateY(16px) scale(.985);}
to{opacity:1;transform:none;}
}
.modernContentBox::before{content:"";display:block;height:5px;border-radius:20px 20px 0 0;background:linear-gradient(90deg,#38bdf8,#4f46e5 45%,#7c3aed 75%,#38bdf8);background-size:200% 100%;animation:ticStripe 8s linear infinite;}
@keyframes ticStripe{0%{background-position:0 0;}
100%{background-position:200% 0;}
}
.modernContentBox>*:not(.logo){padding-left:40px!important;padding-right:40px!important;}
@media(max-width:440px){.modernContentBox>*:not(.logo){padding-left:24px!important;padding-right:24px!important;}
}
.logo{text-align:center!important;border-radius:0!important;margin:0 0 24px!important;padding:30px 24px 22px!important;background:linear-gradient(180deg,#f8faff 0,#fff 100%)!important;border-bottom:1px solid #eef2f7!important;}
.logo .ImgLoginBanner,.ImgLoginBanner{display:none!important;}
.logo a{text-decoration:none!important;display:flex!important;flex-direction:column;align-items:center;pointer-events:none!important;cursor:default!important;}
.logo a::before{content:"";order:1;display:block;width:58px;height:58px;margin:0 auto 12px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%2338bdf8'/><stop offset='0.55' stop-color='%234f46e5'/><stop offset='1' stop-color='%237c3aed'/></linearGradient></defs><circle cx='32' cy='32' r='26' fill='none' stroke='url(%23g)' stroke-width='2.4' opacity='0.9'/><circle cx='32' cy='32' r='18' fill='none' stroke='url(%23g)' stroke-width='1.2' opacity='0.45' stroke-dasharray='4 5'/><g stroke='url(%23g)' stroke-width='2' opacity='0.85'><path d='M32 32 L32 8'/><path d='M32 32 L53 44'/><path d='M32 32 L11 44'/></g><g fill='url(%23g)'><circle cx='32' cy='32' r='5.5'/><circle cx='32' cy='8' r='4'/><circle cx='53' cy='44' r='4'/><circle cx='11' cy='44' r='4'/></g></svg>") center/contain no-repeat;animation:ticGlow 5s ease-in-out infinite;filter:drop-shadow(0 6px 14px rgba(79,70,229,.35));}
@keyframes ticGlow{0%,100%{transform:scale(1);opacity:.95;}
50%{transform:scale(1.06);opacity:1;}
}
.logo a::after{content:"TIC";order:2;display:block;font-size:46px;font-weight:800;letter-spacing:5px;line-height:1;background:linear-gradient(120deg,#1e3a8a,#4f46e5 45%,#7c3aed);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#4f46e5;}
.tic-sub{order:3;display:block;margin-top:9px;font-size:10.5px;font-weight:700;letter-spacing:5.5px;color:#94a3b8;text-transform:uppercase;}
.loginSectionTitle,.zLoginTitle,.modernContentBox h1,.modernContentBox h2{color:#0f172a!important;font-size:19px!important;font-weight:700!important;letter-spacing:.2px!important;margin:0 0 18px!important;}
.zLoginFieldLabel,.zLoginFieldLabelRight{display:block!important;text-align:left!important;font-size:11.5px!important;font-weight:700!important;color:#64748b!important;margin:0 0 7px 2px!important;text-transform:uppercase;letter-spacing:.6px;}
.zLoginField,.zLoginFieldInput{width:100%!important;box-sizing:border-box!important;}
input.zLoginFieldInput,input#username,input#password,input#totpcode,input#newPassword,input#confirm{width:100%!important;box-sizing:border-box!important;padding:13px 15px!important;margin:0 0 18px 0!important;border:1.5px solid #e6eaf2!important;border-radius:12px!important;background:#f8fafc!important;color:#0f172a!important;font-size:15px!important;outline:none!important;transition:border-color .15s,box-shadow .15s,background .15s!important;}
input.zLoginFieldInput:focus,input#username:focus,input#password:focus,input#totpcode:focus,input#newPassword:focus,input#confirm:focus{border-color:#6366f1!important;background:#fff!important;box-shadow:0 0 0 4px rgba(99,102,241,.16)!important;}
.zLoginTable,.zLoginTable td,.loginSection,.loginSection td{border:0!important;background:transparent!important;}
.zLoginTable{width:100%!important;}
button.loginButton,#loginButton,.ZLoginButton,.loginButton.DwtButton{width:100%!important;box-sizing:content-box!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:14px 16px!important;margin-top:4px!important;background:linear-gradient(120deg,#4f46e5,#7c3aed)!important;color:#fff!important;border:0!important;border-radius:12px!important;font-size:15px!important;font-weight:700!important;letter-spacing:.4px;cursor:pointer!important;box-shadow:0 10px 24px -8px rgba(79,70,229,.75)!important;transition:filter .15s,box-shadow .15s,transform .12s!important;}
button.loginButton:hover,#loginButton:hover,.loginButton.DwtButton:hover{filter:brightness(1.08)!important;transform:translateY(-1px);box-shadow:0 14px 30px -8px rgba(79,70,229,.85)!important;}
button.loginButton:active,#loginButton:active{transform:translateY(0);}
#ZLoginForgotPassword,a#ZLoginForgotPassword{color:#6366f1!important;font-size:12.5px!important;text-decoration:none!important;font-weight:600;}
#ZLoginForgotPassword:hover{text-decoration:underline!important;}
.zLoginCheckboxLabelContainer,#ZLoginRememberMeContainer{color:#64748b!important;font-size:12.5px!important;}
#ZLoginErrorPanel,.ZLoginErrorPanel{background:#fef2f2!important;border:1px solid #fecaca!important;color:#b91c1c!important;border-radius:10px!important;padding:10px 12px!important;margin-bottom:16px!important;font-size:13px!important;}
.signInAndLabel{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;}
.signInAndLabel>div{width:100%!important;}
.rememberCheckWrapper{display:flex!important;align-items:center!important;gap:8px!important;justify-content:flex-start!important;text-align:left!important;color:#64748b!important;font-size:12.5px!important;padding:0!important;}
.rememberCheckWrapper label{color:#64748b!important;font-size:12.5px!important;cursor:pointer;}
.rememberCheckWrapper input[type=checkbox]{accent-color:#4f46e5;width:15px;height:15px;margin:0!important;}
.modernContentBox hr{border:0!important;height:1px!important;margin:22px 0 0!important;background:linear-gradient(90deg,transparent,#e6eaf2 20%,#e6eaf2 80%,transparent)!important;}
.modernContentBox .versionBlock,.versionBlock{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;background:transparent!important;padding:14px 0 8px!important;margin:0!important;border:0!important;}
.modernContentBox>div:last-child{background:transparent!important;}
.versionBlock label{margin:0!important;font-size:11.5px!important;font-weight:600!important;color:#94a3b8!important;text-transform:uppercase;letter-spacing:.5px;}
select#client,select.zLoginSelect,.modernContentBox select{border:1.5px solid #e6eaf2!important;border-radius:10px!important;padding:8px 10px!important;background:#fff!important;color:#334155!important;font-size:13.5px!important;outline:none!important;}
select#client:focus,.modernContentBox select:focus{border-color:#6366f1!important;}
#ZLoginNotice,.legalNotice-small{display:none!important;}
.LoginScreen .Footer{position:relative!important;z-index:3!important;}
#modifiedLogin.LoginScreen::after{content:"TIC · Tecnologia da Informação e Comunicação — webmail corporativo";position:fixed;left:0;right:0;bottom:0;z-index:4;padding:14px 12px 16px;text-align:center;font-size:12px;letter-spacing:.4px;color:rgba(255,255,255,.72);background:linear-gradient(180deg,rgba(8,18,44,0),rgba(8,18,44,.45));border-bottom:3px solid transparent;border-image:linear-gradient(90deg,#38bdf8,#4f46e5,#7c3aed) 1;pointer-events:none;}
@media(max-width:480px){.LoginScreen .modernCenter::after{display:none;}
.logo a::after{font-size:38px;}
}
@media(prefers-reduced-motion:reduce){#modifiedLogin.LoginScreen,#modifiedLogin.LoginScreen::before,.LoginScreen .modernCenter::before,.LoginScreen .modernCenter::after,.modernContentBox,.modernContentBox::before,.logo a::before{animation:none!important;}
}