/* Full-screen login background, including the footer. */
.dp-login-fullscreen #presentation-root > div {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background: url('/assets/presentation-exact/hero-bg.jpg') center / cover no-repeat;
}
.dp-login-fullscreen #presentation-root > div > section {
    flex: 1 0 auto;
}
.dp-login-fullscreen #presentation-root > div > section > img {
    display: none;
}
.dp-login-fullscreen #presentation-root > div > footer {
    background: transparent;
}

/* The second authentication step uses the same image and full viewport. */
body.cf-login-bg.cf-login-2fa {
    min-height: 100vh;
    min-height: 100dvh;
    background: url('/assets/presentation-exact/hero-bg.jpg') center / cover no-repeat !important;
}
body.cf-login-2fa .cf-login-shell {
    background: transparent;
}
@media (max-width:767.98px), (max-width:991.98px) and (pointer:coarse) {
    body.cf-login-bg.cf-login-2fa {
        padding: 0;
    }
    body.cf-login-2fa .cf-login-shell {
        padding-bottom: 24px;
    }
    body.cf-login-2fa .cf-login-card {
        width: calc(100% - 32px);
        max-width: 520px;
        min-height: 0;
        margin: 24px auto 0;
        border-radius: 24px !important;
        background: rgba(255, 255, 255, .9);
    }
}
