/* STBF common, natural-flow footer: v3.1 */
.stbf-global-footer{box-sizing:border-box;width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;margin-top:auto;padding:21px 20px;border-top:1px solid #dce8f1;background:rgba(247,251,255,.92);color:#58738b;font:500 12px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.01em;text-align:center;flex-shrink:0;}
.stbf-global-footer a{color:#007f87;font-weight:750;text-decoration:none;}
.stbf-global-footer a:hover,.stbf-global-footer a:focus-visible{text-decoration:underline;color:#005d65;}
/* Auth and recovery: footer follows the split-screen shell, never covers its forms */
body:has(.stbf-login-shell),body:has(.password-shell),body:has(.mfa-corporate-challenge){min-height:100dvh;display:flex;flex-direction:column;}
body:has(.stbf-login-shell)>.stbf-login-shell,body:has(.password-shell)>.password-shell,body:has(.mfa-corporate-challenge)>.mfa-corporate-challenge{flex:1 0 auto;min-height:0;}
body:has(.stbf-login-shell)>.stbf-global-footer,body:has(.mfa-corporate-challenge)>.stbf-global-footer{background:#092d43;color:#d2e4ec;border-color:rgba(255,255,255,.15);}
body:has(.stbf-login-shell)>.stbf-global-footer a,body:has(.mfa-corporate-challenge)>.stbf-global-footer a{color:#76e7df;}
body:has(.password-shell)>.stbf-global-footer{background:#eaf5fc;}
/* Shared shell footer: after page content, within the main panel */
.stbf-layout .main,.layout.stbf-layout>.main{display:flex;flex-direction:column;min-height:100dvh;min-width:0;}
.stbf-layout .main>.content,.layout.stbf-layout>.main>.content{flex:1 0 auto;}
.stbf-layout .main>.stbf-global-footer{margin-top:auto;}
@media(max-width:650px){.stbf-global-footer{padding:17px 13px;font-size:11px;gap:2px 8px;}.stbf-footer-separator{display:none}.stbf-global-footer>span:first-child{flex-basis:100%;}}
