
/* V6.2.5 — LOGIN EM UMA ÚNICA TELA, COM RODAPÉ VISÍVEL */

html:has(body.page-login-v625){
    height:100%!important;
    min-height:100%!important;
    overflow:hidden!important;
}

body.page-login-v625{
    width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    background:#f5f5f8!important;
}

/* Topo */
body.page-login-v625 > .app-header{
    grid-row:1!important;
    position:relative!important;
    top:auto!important;
    margin:0!important;
}

/* Centro */
body.page-login-v625 > .raffle-auth-page{
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:7px 9px!important;
    display:grid!important;
    place-items:center!important;
    align-content:center!important;
    overflow:hidden!important;
}

body.page-login-v625 .raffle-auth-card{
    width:min(100%,500px)!important;
    max-width:500px!important;
    max-height:100%!important;
    margin:auto!important;
    align-self:center!important;
    justify-self:center!important;
    overflow:hidden!important;
}

body.page-login-v625 .raffle-auth-form{
    max-height:100%!important;
    overflow:auto!important;
    scrollbar-width:none!important;
}
body.page-login-v625 .raffle-auth-form::-webkit-scrollbar{
    display:none!important;
    width:0!important;
    height:0!important;
}

/* Rodapé visível ao entrar, sem rolagem */
body.page-login-v625 > .mz-footer-v621{
    grid-row:3!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    margin:0!important;
    padding:5px 0 6px!important;
}

body.page-login-v625 > .mz-footer-v621 .mz-footer-brand img{
    max-width:112px!important;
    max-height:24px!important;
}
body.page-login-v625 > .mz-footer-v621 .mz-footer-meta{
    font-size:6.8px!important;
    line-height:1.1!important;
    gap:1px 4px!important;
}

/* Login visitante nunca usa menu inferior */
body.page-login-v625 > .bottom-nav{
    display:none!important;
}

/* Mesmo comportamento no PWA instalado */
@media(display-mode:standalone),(display-mode:fullscreen){
    body.page-login-v625{
        height:100dvh!important;
        min-height:100dvh!important;
        max-height:100dvh!important;
        overflow:hidden!important;
        display:grid!important;
        grid-template-rows:auto minmax(0,1fr) auto!important;
    }
    body.page-login-v625 > .mz-footer-v621{
        display:block!important;
        visibility:visible!important;
        opacity:1!important;
    }
}

/* iOS standalone fallback */
html.pwa-standalone body.page-login-v625,
body.page-login-v625.pwa-standalone{
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
}

@media(max-width:700px){
    body.page-login-v625 > .raffle-auth-page{
        padding:6px 8px!important;
    }
    body.page-login-v625 .raffle-auth-card{
        width:min(100%,460px)!important;
        max-width:460px!important;
    }
}
