html, body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

code {
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 5px;
    border-radius: 4px;
}

/* ===== Grilles : ligne sélectionnée + mise en évidence des MAJ récentes =====
   Classes appliquées via RowClassFunc sur MudDataGrid. Réutilisables par toutes
   les grilles de l'application. La sélection (Primary) prime sur les couleurs. */
.mud-table-root tbody tr.ligne-selectionnee td,
.mud-table-root tbody tr.ligne-selectionnee td.mud-table-cell,
.mud-table-root tbody tr.ligne-selectionnee:hover td.mud-table-cell {
    background-color: var(--mud-palette-primary) !important;
    color: #fff !important;
}
.mud-table-root tbody tr.ligne-selectionnee td a,
.mud-table-root tbody tr.ligne-selectionnee td .mud-icon-root {
    color: #fff !important;
}
.mud-table-root tbody tr.ligne-nouveau td { background-color: #E7F7EC !important; } /* nouveau : vert très clair */
.mud-table-root tbody tr.ligne-maj     td { background-color: #FFF3E0 !important; } /* mise à jour : orange très clair */
.mud-table-root tbody tr.ligne-archive td { background-color: #FDECEA !important; } /* annulation / décès : rouge très clair */

/* Numérotation des lignes (grille Donateurs) : bleu si N° donateur défini, rouge sinon */
.num-ligne { min-width: 26px; text-align: center; border-radius: 4px; padding: 1px 6px;
    color: #fff; font-size: .78rem; font-weight: 600; display: inline-block; }
.num-bleu  { background: var(--mud-palette-primary); }
.num-rouge { background: #D32F2F; }

/* Légende de la mise en évidence */
.legende { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; }
.legende .pastille { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,.15);
    display: inline-block; }
