/* The shared register (Components/Register/EntityRegister.razor) — copied from Adjuditale (prompt 84, see COPIED_FROM.md). One look for every list page: tighter than
   MudBlazor's default rows without going Dense. */

.adj-register .mud-table-row {
    height: 40px;
}

.adj-register .mud-table-cell {
    padding: 8px 8px;
}

.adj-register .mud-table-head .mud-table-cell {
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
}

.adj-register .mud-table-body a.mud-link {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.adj-register .mud-table-body a.mud-link:hover {
    text-decoration: underline;
}

/* MudToolBar is a fixed 56px; the register's toolbar grows to fit the active-filter line under the search. */
.adj-register .mud-table-toolbar {
    height: auto;
    min-height: 56px;
}

.adj-register-toolbar {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 4px;
}

.adj-register-toolbar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.adj-register-search {
    flex: 0 1 420px;
    margin-top: 0 !important;
}

.adj-register-filterline {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin: 6px 0 0 2px;
}

.adj-register-empty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.adj-register-filter {
    min-width: 260px;
    max-width: 320px;
}

/* A register column's Class: identifiers read in a fixed-width face (WI-12). */
.register-mono {
    font-family: monospace;
}

/* Opt-in row selection (EntityRegister BulkActions): the bar above the grid while anything is selected. */
.adj-register-selectionbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    margin-top: 4px;
    border-radius: 4px;
    background: var(--mud-palette-primary-hover);
    font-size: 0.875rem;
}

.adj-register-selectioncount {
    font-weight: 600;
}
