body {
    /* dvh repeats after vh so browsers that understand it use the dynamic
       viewport. On iOS Safari 100vh is the LARGE viewport — taller than what
       is actually visible — so a centred card sat low behind the toolbar and
       the page scrolled for no reason. */
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-body-bg);
}
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    /* Landscape on a notched iPhone insets one side; max() keeps the normal
       2rem everywhere else. */
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
}
.login-card {
    border-radius: 1rem;
}
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}
.login-header i {
    font-size: 3rem;
    color: var(--bs-primary);
}
