.audit-info {
    margin: 0;
}

    .audit-info dt {
        margin: 0px 0px 5px 0px;
        font-weight: 600;
        color: var(--mud-palette-text-primary);
    }

    .audit-info dd {
        line-height: 1.0;
        margin: 0px 0px 6px 0px;
        color: var(--mud-palette-text-secondary);
    }


/* MudBlazor Dialog */
.blur {
    backdrop-filter: blur(10px);
}

.dialog-background {
    background-color: transparent;
}

.dialog-background-title {
    background-color: var(--mud-palette-drawer-background);
    color: var(--mud-palette-drawer-text);
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    min-height: 34px !important; /* ajuste: 32–40 */
}

    /* cor do X */
    .dialog-background-title .mud-icon-button,
    .dialog-background-title .mud-button-root {
        color: var(--mud-palette-drawer-text);
        padding: 4px !important;
    }
        /* hover do X (opcional) */
        .dialog-background-title .mud-icon-button:hover {
            background-color: rgba(255,255,255,.15);
        }

.dialog-background-surface {
    background: rgba(var(--mud-palette-surface-rgb), 0.9);
}
/* MudBlazor Dialog */

/* MudBlazor DataGrid */

/* Cabeçalho do MudDataGrid – fundo uniforme */
.mud-data-grid-custom thead tr th {
    background-color: var(--mud-palette-drawer-background) !important;
}
    /* Garante que TODOS os elementos internos herdem o fundo */
    .mud-data-grid-custom thead tr th *,
    .mud-data-grid-custom thead tr th .mud-button-root,
    .mud-data-grid-custom thead tr th .mud-icon-root,
    .mud-data-grid-custom thead tr th .mud-sort-label {
        color: var(--mud-palette-drawer-text) !important;
    }

.mud-data-grid-custom .row-selected {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.18) !important;
}

    .mud-data-grid-custom .row-selected:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.26) !important;
    }
/* MudBlazor DataGrid */


/* Blazor Error */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Ícone SVG custom dentro de MudNavLink / MudNavGroup */
.mud-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px; /* espaço antes do texto */
    flex: 0 0 24px; /* não deixa encolher */
}

    /* força o svg a respeitar tamanho e herdar a cor do tema */
    .mud-nav-icon svg {
        width: 100%;
        height: 100%;
        display: block;
        fill: currentColor; /* principal: herda a cor do link */
        stroke: currentColor; /* se seu svg usar stroke */
    }

        /* se seu SVG vem com fill/stroke hardcoded e não muda cor,
   garanta que os filhos também herdem */
        .mud-nav-icon svg * {
            fill: currentColor;
            stroke: currentColor;
        }
