/* Base typography, colours and the app shell live in proxima.css (the Proxima design system).
   This file keeps the page-level helpers and the overrides for third-party components. */

/* Routes.razor focuses the first h1 after every navigation so screen readers announce the
   page. That focus is programmatic, not keyboard-driven, so the browser's focus ring is just
   a stray box around the heading — the stock Blazor template hides it the same way. */
h1:focus, h1:focus-visible {
    outline: none;
}

/* List pages: keep the page header and table header fixed; only the table rows scroll. */
.list-page {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list-page-header {
    flex-shrink: 0;
}

.list-page-table {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

    .list-page-table > .mud-table {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

        .list-page-table > .mud-table > .mud-table-container {
            flex: 1 1 auto;
            min-height: 0;
        }

.field-card {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.field-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

.selected-field {
    border-color: var(--mud-palette-primary) !important;
    background-color: var(--mud-palette-primary-hover) !important;
}

/* Ensure MudBlazor confirmation dialogs render above custom overlays */
.mud-dialog-container {
    z-index: 10002 !important;
}

/* Syncfusion PDF viewer full height */
.e-pdfviewer {
    height: 100% !important;
}

