.mfdv-grid.modern-dark {
    background-color: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
    font-family: system-ui, -apple-system, sans-serif;
}

.mfdv-grid.modern-dark .mfdv-grid-header,
.mfdv-grid.modern-dark .mfdv-grid-scroll-wrapper div {
    background-color: #0f172a;
    color: #f8fafc;
    font-weight: 600;
}

.mfdv-grid.modern-dark .mfdv-grid-header div[data-column] {
    padding: 10px;
    border-right: 1px solid #334155;
}

.mfdv-grid.modern-dark .mfdv-grid-data-table>div:nth-child(even):not(.mfdv-grid-group-row) {
    color: #f8fafc;
    background-color: #111827;
}

.mfdv-grid.modern-dark .mfdv-grid-group-row {
    background-color: #334155;
    color: #38bdf8;
    font-weight: 600;
    padding: 6px;
}

.mfdv-grid.modern-dark .mfdv-grid-data-table .mfdv-grid-cell {
    padding: 10px;
    border-right: 1px solid #334155;
    border-bottom: 1px solid #334155;
}

.mfdv-grid.modern-dark .mfdv-grid-row-header {
    background-color: #0f172a;
    border-right: 1px solid #334155;
    border-bottom: 1px solid #334155;
}

.mfdv-grid.modern-dark .mfdv-grid-row-header[data-selected] {
    background-color: #0c4a6e;
    color: #38bdf8;
}

.mfdv-grid.modern-dark .mfdv-grid-cell[data-selected] {
    background-color: #0c4a6e;
    color: #38bdf8;
}

.mfdv-propertygrid.modern-dark .mfdv-grid {
    border: 0;
}

.mfdv-propertygrid.modern-dark .mfc-toolstrip-item.mfdv-sort-indicator-icon-asc {
    background: url("icons/w_sort-az.png") no-repeat;
}

.mfdv-propertygrid.modern-dark .mfc-toolstrip-item.mfdv-sort-indicator-icon-desc {
    background: url("icons/w_sort-za.png") no-repeat;
}

.mfdv-propertygrid.modern-dark .mfc-toolstrip-item.mfdv-group-indicator-icon-off {
    background: url("icons/w_group.png") no-repeat;
}

.mfdv-propertygrid.modern-dark .mfc-toolstrip-item.mfdv-group-indicator-icon-on {
    background: url("icons/w_ungroup.png") no-repeat;
}

.mfdv-propertygrid.modern-dark .mfdv-grid-data-table .mfdv-grid-cell {
    padding: 4px;
}

.mfdv-propertygrid.modern-dark .mfdv-grid-data-table>div:nth-child(even):not(.mfdv-grid-group-row) {
    background-color: #1e293b;
}
