/*
 * MRD client — global overrides for MudBlazor defaults.
 * Anything that the MudBlazor theme can't express goes here.
 */

/* Drawer active link must clear WCAG AA contrast on the dark drawer background.
   The default 'primary' active color sits in the same neighbourhood as the
   drawer text, leaving museum staff guessing where they are. */
.mud-drawer .mud-nav-link.active,
.mud-drawer .mud-nav-link.active:hover {
    color: #f5f3ee !important;
    background: rgba(142, 72, 48, 0.20);
    border-left: 3px solid #8e4830;
}

.mud-drawer .mud-nav-link {
    color: #dcdfe2;
}

.mud-drawer .mud-nav-link:hover {
    background: rgba(245, 243, 238, 0.06);
    color: #f5f3ee;
}

.mud-drawer .mud-nav-link .mud-nav-link-icon {
    color: inherit;
}

/* MudTable group header — visually separate from data rows. */
.mud-table .mud-table-cell-custom-group {
    background: #ede9df;
    font-weight: 600;
}

/* MudChip Secondary — darker variant for AA contrast. The MudTheme darkens
   the palette swatch but the rendered chip in some stances still uses the
   light background; force white text for safety. */
.mud-chip.mud-chip-color-secondary.mud-chip-filled {
    color: #fff;
}

/* Login / auth page gradient is defined per-page; nothing global. */
