/* SIGA Américas · entrada no sistema de gestão da PROERG em Itaipu.
   PROERG é a empresa; SIGA Américas é o sistema. O SVG do logotipo oficial
   permanece intacto. Cinza aplicado apenas visualmente via CSS.
   Fotografia botânica de fundo: Unsplash / photo-1600655584427-65c6ebfca603.
   Se a fotografia externa não carregar, o gradiente verde continua funcional. */
body.auth-locked{
 background:
  radial-gradient(ellipse at 18% 12%,rgba(48,119,93,.2),transparent 39%),
  radial-gradient(ellipse at 90% 77%,rgba(25,112,79,.14),transparent 44%),
  linear-gradient(126deg,#07372e 0%,#073c31 43%,#0a3028 100%)!important;
 background-attachment:fixed;
}
body.auth-locked .app-shell,
body.auth-locked .workspace,
body.auth-locked .main-content{background:transparent!important}
body.auth-locked .workspace{min-height:100dvh}
body.auth-locked .main-content{
 position:relative;isolation:isolate;
 min-height:100dvh;
 overflow:hidden;
 display:flex;align-items:center;justify-content:center;
 padding:38px 20px;
}
body.auth-locked .main-content::before{
 content:"";
 position:absolute;
 z-index:-1;
 pointer-events:none;
 width:min(60vw,950px);
 height:100%;
 top:0;right:0;
 background-image:
  linear-gradient(90deg,#07382f 0%,rgba(7,56,47,.32) 30%,rgba(7,56,47,.06) 100%),
  url("https://images.unsplash.com/photo-1600655584427-65c6ebfca603?auto=format&fit=crop&w=1200&q=78");
 background-size:cover;
 background-position:center right;
 background-repeat:no-repeat;
 opacity:.58;
 filter:saturate(.74) contrast(1.08);
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 33%,#000 100%);
 mask-image:linear-gradient(90deg,transparent 0%,#000 33%,#000 100%);
}
body.auth-locked .main-content::after{
 content:"";
 position:absolute;
 pointer-events:none;
 z-index:-2;inset:0;
 background:radial-gradient(ellipse at 69% 48%,rgba(127,190,135,.07),transparent 43%);
}
body.auth-locked .auth-wrap{
 position:relative;z-index:1;
 width:min(470px,100%);max-width:470px;
 margin-inline:auto;
}
body.auth-locked .auth-card{
 position:relative;z-index:1;
 padding:25px 39px 36px;
 border:1px solid rgba(233,242,233,.94);
 background:#fff;
 border-radius:20px;
 box-shadow:0 28px 92px rgba(0,20,15,.29),0 4px 18px rgba(0,20,15,.075);
}
body.auth-locked .auth-card::before{
 content:"";
 position:absolute;
 top:0;left:24%;right:24%;height:2px;
 opacity:.25;
 background:linear-gradient(90deg,transparent,#5a9c74,transparent);
}
/* Lockup único enviado pelo usuário, com recorte visual somente do espaço transparente.
   O SVG não é distorcido: seu desenho e proporções permanecem intactos. */
body.auth-locked .auth-brand-stack{
 display:flex;align-items:center;justify-content:center;
 width:100%;height:124px;min-height:0;overflow:hidden;
 margin:0 0 14px;padding:0;
 border-bottom:1px solid #e5ede6;
}
body.auth-locked .auth-lockup{
 display:block;flex:0 0 auto;
 width:100%;max-width:390px;height:auto;
 margin:0;object-fit:contain;
}
body.auth-locked .auth-card > .eyebrow{display:inline-block;margin-top:2px}
body.auth-locked .auth-card h1{font-size:23px;letter-spacing:-.7px;margin-top:10px}
body.auth-locked .auth-card p{font-size:12px;line-height:1.6;color:#677c73}
body.auth-locked .auth-form .btn{padding:14px;font-size:13px}
@media(max-width:800px){
 body.auth-locked .main-content::before{width:70vw;opacity:.45}
}
@media(max-width:600px){
 body.auth-locked .main-content{padding:22px 15px;min-height:100dvh}
 body.auth-locked .auth-wrap{width:min(440px,100%)}
 body.auth-locked .auth-card{padding:22px 24px 28px;border-radius:17px}
 body.auth-locked .auth-brand-stack{height:112px;margin-bottom:12px}
 body.auth-locked .auth-lockup{max-width:100%}
 body.auth-locked .main-content::before{
  width:100vw;opacity:.24;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 63%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 63%);
 }
}
@media(prefers-reduced-motion:reduce){
 body.auth-locked .main-content::before{animation:none;transition:none}
}


/* Entrada compacta e orientada ao toque nos telefones. */
@media(max-width:600px){
 body.auth-locked .main-content{min-height:100dvh;align-items:flex-start;padding:18px 14px calc(22px + env(safe-area-inset-bottom))}
 body.auth-locked .auth-wrap{width:min(420px,100%);max-width:100%}
 body.auth-locked .auth-card{padding:18px 20px 21px;border-radius:20px;box-shadow:0 18px 50px rgba(0,20,15,.22)}
 body.auth-locked .auth-brand-stack{height:83px;margin-bottom:13px;border-bottom-color:#e8f0e8}
 body.auth-locked .auth-lockup{width:100%;max-width:300px;height:auto}
 body.auth-locked .auth-card>.eyebrow{font-size:10px;letter-spacing:.07em}
 body.auth-locked .auth-card h1{font-size:25px;letter-spacing:-.03em;line-height:1.17;margin:7px 0}
 body.auth-locked .auth-card p{font-size:12px;line-height:1.5;margin:8px 0 14px}
 body.auth-locked .auth-form{display:grid;gap:10px}
 body.auth-locked .auth-form .field{margin:0}
 body.auth-locked .auth-form .field label{display:block;margin-bottom:5px;font-size:12px;font-weight:700}
 body.auth-locked .auth-form .field input{min-height:48px;height:48px;padding:11px 13px;font-size:16px;border-radius:11px}
 body.auth-locked .auth-form .btn{min-height:49px;padding:11px 14px;font-size:14px;border-radius:11px;margin-top:2px}
 body.auth-locked .public-access-link{min-height:74px;padding:11px 12px;gap:10px;border-radius:12px;margin-top:12px}
 body.auth-locked .public-access-symbol{flex:0 0 40px;width:40px;height:40px;border-radius:10px}
 body.auth-locked .public-access-copy strong{font-size:13px;line-height:1.25}
 body.auth-locked .public-access-copy small{font-size:11px;line-height:1.4}
 body.auth-locked .public-access-arrow{flex:0 0 20px}
}
@media(max-width:360px){
 body.auth-locked .main-content{padding-inline:10px}
 body.auth-locked .auth-card{padding-inline:15px}
 body.auth-locked .auth-brand-stack{height:75px}
}


/* Desktop: entrada em duas áreas, com conteúdo de orientação e formulário compacto. */
body.auth-locked .auth-desktop-intro{display:none}
@media(min-width:960px){
 body.auth-locked .main-content{padding:32px 34px}
 body.auth-locked .auth-wrap.auth-login-grid{
  width:min(1040px,100%);max-width:1040px;
  display:grid;grid-template-columns:minmax(0,1fr) 428px;
  align-items:center;gap:clamp(35px,5vw,90px);
 }
 body.auth-locked .auth-desktop-intro{display:flex;flex-direction:column;align-items:flex-start;
  justify-content:center;gap:22px;min-width:0;padding:25px 0 25px 15px;color:#e9f5ed}
 body.auth-locked .auth-intro-kicker{display:inline-flex;align-items:center;gap:9px;
  border:1px solid #ffffff36;border-radius:100px;padding:10px 14px;
  background:#ffffff11;color:#d1e9d9;font-size:11px;font-weight:850;letter-spacing:.11em}
 body.auth-locked .auth-intro-kicker:before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#a3d896}
 body.auth-locked .auth-desktop-intro h2{font:850 clamp(36px,4vw,54px)/1.12 Manrope,Inter,sans-serif;
  letter-spacing:-.045em;color:#fff;max-width:12ch;margin:0}
 body.auth-locked .auth-desktop-intro h2 em{font-style:normal;color:#a6dfad}
 body.auth-locked .auth-desktop-intro>p{margin:0;max-width:45ch;color:#cbdfd3;
  font-size:15px;line-height:1.8}
 body.auth-locked .auth-intro-highlights{display:grid;gap:11px;padding-top:9px}
 body.auth-locked .auth-intro-highlights span{display:flex;align-items:center;gap:10px;
  font-size:12px;color:#d7ecdc;font-weight:650}
 body.auth-locked .auth-intro-highlights span:before{
  content:"✓";display:grid;place-items:center;border-radius:50%;background:#9ad09a24;
  border:1px solid #a7dca651;color:#a7dfb1;font-size:11px;width:23px;height:23px;flex:0 0 23px}
 body.auth-locked .auth-login-grid .auth-card{padding:25px 32px 30px;
  border-radius:22px;box-shadow:0 22px 70px #001e163d}
 body.auth-locked .auth-login-grid .auth-brand-stack{height:102px;margin-bottom:15px}
 body.auth-locked .auth-login-grid .auth-lockup{max-width:340px}
 body.auth-locked .auth-login-grid .auth-card h1{font-size:25px;margin-top:9px}
 body.auth-locked .auth-login-grid .auth-card p{font-size:12px;line-height:1.55}
 body.auth-locked .auth-login-grid .auth-form{display:grid;gap:10px}
 body.auth-locked .auth-login-grid .auth-form .field{margin:0}
 body.auth-locked .auth-login-grid .auth-form .field input{height:47px;min-height:47px;border-radius:11px}
 body.auth-locked .auth-login-grid .auth-form .btn{height:48px;border-radius:11px}
 body.auth-locked .auth-login-grid .public-access-link{margin-top:15px;min-height:72px;padding:12px 13px;border-radius:13px}
}
@media(min-width:960px) and (max-height:750px){
 body.auth-locked .auth-login-grid .auth-brand-stack{height:81px}
 body.auth-locked .auth-login-grid .auth-card{padding-block:18px 20px}
 body.auth-locked .auth-login-grid .auth-card p{margin-block:8px 11px}
 body.auth-locked .auth-desktop-intro{gap:17px}
}


/* Refinamento mobile: priorizar autenticação e acesso técnico na primeira dobra. */
@media(max-width:600px){
 body.auth-locked .main-content{
  min-height:100dvh;height:auto;max-height:none;overflow:visible;
  display:flex;align-items:flex-start;justify-content:center;
  padding:15px 14px calc(22px + env(safe-area-inset-bottom));
 }
 body.auth-locked .main-content::before{position:fixed;inset:0;width:100%;height:100%;opacity:.16}
 body.auth-locked .auth-wrap.auth-login-grid{
  width:min(430px,100%);max-width:100%;display:block;margin:0 auto
 }
 body.auth-locked .auth-login-grid .auth-card{
  border-radius:20px;padding:18px 19px 19px;
  border:1px solid #e0e9e1;
  box-shadow:0 15px 48px rgba(0,22,13,.17)
 }
 body.auth-locked .auth-login-grid .auth-brand-stack{
  height:74px;min-height:0;margin-bottom:12px;
  padding-bottom:6px;border-bottom:1px solid #e3ede5
 }
 body.auth-locked .auth-login-grid .auth-lockup{max-width:286px;max-height:74px;object-fit:contain}
 body.auth-locked .auth-login-grid .auth-card>.eyebrow{
  display:block;font-size:10px;letter-spacing:.085em;line-height:1.4
 }
 body.auth-locked .auth-login-grid .auth-card h1{
  font-size:24px;line-height:1.16;letter-spacing:-.038em;margin:7px 0
 }
 body.auth-locked .auth-login-grid .auth-card p{
  font-size:12px;line-height:1.48;margin:8px 0 12px;
  color:#657a6e
 }
 body.auth-locked .auth-login-grid .auth-form{display:grid;gap:11px}
 body.auth-locked .auth-login-grid .auth-form .field{margin:0;min-width:0}
 body.auth-locked .auth-login-grid .auth-form .field label{
  display:block;font-size:12px;line-height:1.45;font-weight:750;
  margin:0 0 5px;color:#325845
 }
 body.auth-locked .auth-login-grid .auth-form .field input{
  min-width:0;width:100%;box-sizing:border-box;min-height:48px;height:48px;
  border-radius:11px;padding:11px 13px;font-size:16px;
  background:#fbfefc
 }
 body.auth-locked .auth-login-grid .auth-form .field input:focus-visible{
  outline:2px solid #78b58c;outline-offset:1px;border-color:#53986d
 }
 body.auth-locked .auth-login-grid .auth-form .btn{
  width:100%;min-height:48px;height:auto;border-radius:11px;
  font-size:14px;font-weight:800;line-height:1.4;
  padding:12px 14px;margin:2px 0 0
 }
 body.auth-locked .auth-login-grid .public-access-link{
  display:flex;align-items:center;min-height:70px;margin-top:12px;
  padding:11px 12px;border-radius:12px;gap:10px
 }
 body.auth-locked .auth-login-grid .public-access-symbol{
  width:42px;height:42px;flex:0 0 42px;border-radius:11px
 }
 body.auth-locked .auth-login-grid .public-access-copy{min-width:0}
 body.auth-locked .auth-login-grid .public-access-copy strong{
  font-size:13px;line-height:1.3
 }
 body.auth-locked .auth-login-grid .public-access-copy small{
  font-size:10.5px;line-height:1.4
 }
 body.auth-locked .auth-login-grid .public-access-arrow{flex:0 0 18px}
 body.auth-locked .auth-login-grid .public-access-link:focus-visible{
  outline:3px solid #83c99d;outline-offset:3px
 }
}
@media(max-width:365px){
 body.auth-locked .main-content{padding-inline:9px}
 body.auth-locked .auth-login-grid .auth-card{padding:15px 15px 17px;border-radius:16px}
 body.auth-locked .auth-login-grid .auth-brand-stack{height:68px;margin-bottom:10px}
 body.auth-locked .auth-login-grid .auth-lockup{max-height:65px}
 body.auth-locked .auth-login-grid .auth-card h1{font-size:22px}
}
@media(max-width:600px) and (max-height:690px){
 body.auth-locked .auth-login-grid .auth-brand-stack{height:64px;margin-bottom:9px}
 body.auth-locked .auth-login-grid .auth-lockup{max-height:62px}
 body.auth-locked .auth-login-grid .auth-card p{margin-block:7px 10px}
 body.auth-locked .auth-login-grid .auth-form{gap:9px}
}
