/* App-wide styles. Component styling comes from BlazorBlueprint; page styling is still to be chosen by the FE team. */

/* Router focuses the page heading after navigation (FocusOnNavigate); no visible ring for that programmatic focus. */
h1:focus {
    outline: none;
}

/* Sign-in pages and header: deliberately plain until the FE team designs them. */
.app-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.auth-panel {
    max-width: 28rem;
    margin: 4rem auto;
    padding: 2rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    font-family: system-ui, sans-serif;
}

.auth-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 0.375rem;
    background: #2f2f2f;
    color: white;
    text-decoration: none;
}

.auth-error {
    color: #b32121;
}

/* Default <ErrorBoundary> content. */
.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }
