/* GiraDesk V287.16 — estilo premium para TODAS as autenticações.
   Desktop: estilos V286.3 permanecem inalterados; este arquivo atua somente até 1100px.
   Mobile: fluxo vertical natural, nenhuma altura travada, nenhuma escala por JS. */
@media (min-width:1101px) {
 body.gd-v2863-auth .gd-v28716-mobile-brand {display:none!important;}
}
@media (max-width:1100px) {
 html:has(body.gd-v2863-auth) {width:100%!important;max-width:100%!important;min-height:100%!important;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;}
 body.gd-v2863-auth {position:static!important;display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:100svh!important;max-height:none!important;margin:0!important;padding:0!important;overflow-x:hidden!important;overflow-y:auto!important;background:#f3f6f1!important;}
 body.gd-v2863-auth :is(.ax137-page,.member-ax137-page,.ax137-main,.ax137-auth-panel) {box-sizing:border-box!important;position:relative!important;inset:auto!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;transform:none!important;overflow:visible!important;}
 body.gd-v2863-auth .ax137-page {padding:0!important;background:#f3f6f1!important;}
 body.gd-v2863-auth .ax137-main {padding:0!important;}
 body.gd-v2863-auth .ax137-auth-panel {padding:0!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
 body.gd-v2863-auth :is(.gd-login-showcase,.ax137-side-panel) {display:none!important;}
 body.gd-v2863-auth .ax137-form-side {box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;max-width:640px!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;padding:clamp(16px,4.5vw,28px)!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important;transform:none!important;}
 body.gd-v2863-auth .ax137-form-side :is(.gd-v2866-mobile-brand,.gd-v28716-mobile-brand) {box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;margin:0 0 18px!important;padding:16px clamp(12px,4vw,24px)!important;border:0!important;border-radius:16px!important;background:#063d2a!important;box-shadow:none!important;}
 body.gd-v2863-auth .ax137-form-side :is(.gd-v2866-mobile-brand,.gd-v28716-mobile-brand) img {display:block!important;max-width:min(100%,340px)!important;width:100%!important;height:auto!important;max-height:90px!important;object-fit:contain!important;}
 body.gd-v2863-auth .ax137-form-logo,body.gd-v2863-auth .ax137-form-logo.ax164-custom-logo {box-sizing:border-box!important;display:flex!important;justify-content:center!important;align-items:center!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;max-width:100%!important;margin:0 auto 18px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
 body.gd-v2863-auth .ax137-form-logo.ax164-default-logo {display:none!important;}
 body.gd-v2863-auth .ax137-form-logo img {width:auto!important;height:auto!important;max-width:min(100%,350px)!important;max-height:clamp(80px,17svh,145px)!important;object-fit:contain!important;object-position:center!important;}
 body.gd-v2863-auth .ax137-title {font-family:Poppins,system-ui,sans-serif!important;font-size:clamp(26px,6.8vw,36px)!important;font-weight:800!important;line-height:1.2!important;margin:0 0 8px!important;text-align:center!important;color:#073b29!important;}
 body.gd-v2863-auth .ax137-subtitle {font-size:clamp(13px,3.4vw,15px)!important;line-height:1.5!important;margin:0 0 24px!important;text-align:center!important;color:#65736c!important;}
 body.gd-v2863-auth .ax137-form {display:grid!important;width:100%!important;min-width:0!important;gap:12px!important;}
 body.gd-v2863-auth .ax137-field {width:100%!important;min-width:0!important;margin:0!important;}
 body.gd-v2863-auth .ax137-control {width:100%!important;min-width:0!important;max-width:100%!important;min-height:54px!important;border-radius:14px!important;background:#fff!important;border:1px solid #d9e4dd!important;}
 body.gd-v2863-auth .ax137-control input {width:100%!important;min-width:0!important;font-size:16px!important;}
 body.gd-v2863-auth .ax137-options {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;margin:3px 0 10px!important;}
 body.gd-v2863-auth .ax161-member-forgot {display:flex!important;justify-content:flex-end!important;margin:4px 0 10px!important;}
 body.gd-v2863-auth .ax137-submit {min-height:54px!important;padding:12px 16px!important;border-radius:14px!important;background:linear-gradient(180deg,#00a94b,#006d32)!important;box-shadow:0 8px 20px rgba(0,86,47,.14)!important;color:#fff!important;font-size:clamp(13px,3.5vw,16px)!important;}
 body.gd-v2863-auth .ax137-submit span {min-width:0;overflow-wrap:anywhere;}
 body.gd-v2863-auth .ax137-secondary {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;min-width:0!important;margin:22px 0 0!important;padding:20px 0 8px!important;border-top:1px solid #e4ebe6!important;flex-wrap:wrap!important;text-align:center!important;}
 body.gd-v2863-auth .ax137-secondary a {display:inline-flex!important;min-height:44px!important;align-items:center!important;justify-content:center!important;padding:10px 16px!important;border-radius:12px!important;background:#eaf4ed!important;border:1px solid #d4e5d9!important;color:#125638!important;text-decoration:none!important;max-width:100%!important;overflow-wrap:anywhere!important;}
 body.gd-v2863-auth .ax137-footer {display:block!important;text-align:center!important;position:static!important;padding:10px 18px 24px!important;background:#f3f6f1!important;color:#6c8276!important;}
 body.gd-v2863-auth .ax137-note {margin-top:14px!important;}
}
@media (max-width:390px) {
 body.gd-v2863-auth .ax137-form-side {padding:14px!important;}
 body.gd-v2863-auth .ax137-form-side :is(.gd-v2866-mobile-brand,.gd-v28716-mobile-brand) {padding:12px!important;margin-bottom:14px!important;}
 body.gd-v2863-auth .ax137-form-logo img {max-height:95px!important;}
 body.gd-v2863-auth .ax137-subtitle {margin-bottom:16px!important;}
 body.gd-v2863-auth .ax137-secondary {margin-top:16px!important;}
}
@media (max-width:1100px) and (orientation:landscape) and (max-height:520px) {
 body.gd-v2863-auth .ax137-form-side :is(.gd-v2866-mobile-brand,.gd-v28716-mobile-brand) {margin-bottom:10px!important;padding:9px!important;}
 body.gd-v2863-auth .ax137-form-side :is(.gd-v2866-mobile-brand,.gd-v28716-mobile-brand) img {max-height:56px!important;}
 body.gd-v2863-auth .ax137-form-logo img {max-height:70px!important;}
 body.gd-v2863-auth .ax137-subtitle {margin-bottom:12px!important;}
}
/* Desktop institucional: título alinhado à esquerda, mantendo o resto intacto. */
body.gd-v2863-auth .gd-login-showcase h2 {text-align:left!important;}
/* A verificação de dois fatores preserva seu formulário e rola normalmente no mobile. */
@media (max-width:760px) {
 body.gd-v2863-2fa {height:auto!important;min-height:100svh!important;overflow-y:auto!important;overflow-x:hidden!important;}
 body.gd-v2863-2fa :is(.gd2fa-shell,.gd2fa-content,.gd2fa-card) {box-sizing:border-box!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
 body.gd-v2863-2fa .gd2fa-card {border-radius:16px!important;}
}
