/* Tailwind (loaded via the browser build in App.razor) owns component styling.
   Only global bits that Tailwind utilities don't cover live here. */

/* Blazor error UI */
#blazor-error-ui {
    background: #ffebcd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}

/* FocusOnNavigate (Routes.razor) focuses the first <h1> on each page for
   screen-reader navigation. The browser's default focus outline then draws a
   black box around the hero heading that flashes on load and disappears on
   click. Headings aren't interactive, so suppress the visual outline while
   keeping the programmatic focus for assistive tech. */
h1:focus {
    outline: none;
}
