/*
 * Shell for the Identity pages (profile, password, passkeys, sign-in).
 *
 * Those pages are Razor Pages from Microsoft.AspNetCore.Identity.UI, not part of the Blazor
 * application: they render a separate HTML document with their own Bootstrap 5, while the
 * application itself runs on Bootstrap 4. Their markup needs that Bootstrap 5, so the two cannot be
 * merged - what this file does is give the page the same header, colours and typography, so a click
 * on "Profil" no longer feels like leaving the application (#2673).
 *
 * Deliberately no sidebar: rebuilding the navigation here would mean maintaining it twice, in two
 * technologies. The way back is one clear button instead.
 */

.frev-identity-header {
    background-color: #00529E;
    color: #fff;
}

    .frev-identity-header .navbar-brand,
    .frev-identity-header .navbar-brand:hover {
        color: #fff;
        font-size: 1.1rem;
    }

.frev-identity-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

    .frev-identity-user .frev-identity-name {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        white-space: nowrap;
    }

.frev-identity-main {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.frev-identity-footer {
    border-top: 1px solid #d6d5d5;
    padding: 1rem 0;
    color: #6c757d;
    font-size: 0.875rem;
}

/* The scaffolded pages head every form with an <h1>, which is oversized next to the application. */
.frev-identity-main h1 {
    font-size: 1.75rem;
}

.frev-identity-main h2 {
    font-size: 1.4rem;
}
