[data-pc-theme="dark"] .e-control,
[data-pc-theme="dark"] .e-css,
[data-pc-theme="dark"] .e-grid,
[data-pc-theme="dark"] .e-dialog,
[data-pc-theme="dark"] .e-popup,
[data-pc-theme="dark"] .e-ddl,
[data-pc-theme="dark"] .e-dropdownbase,
[data-pc-theme="dark"] .e-input-group,
[data-pc-theme="dark"] .e-control-wrapper {
  color: var(--bs-body-color);
}

[data-pc-theme="dark"] .e-grid,
[data-pc-theme="dark"] .e-grid .e-gridheader,
[data-pc-theme="dark"] .e-grid .e-headercontent,
[data-pc-theme="dark"] .e-grid .e-content,
[data-pc-theme="dark"] .e-grid .e-gridcontent,
[data-pc-theme="dark"] .e-grid .e-table,
[data-pc-theme="dark"] .e-grid .e-pager,
[data-pc-theme="dark"] .e-grid .e-toolbar,
[data-pc-theme="dark"] .e-grid .e-groupdroparea,
[data-pc-theme="dark"] .e-grid .e-filterbar,
[data-pc-theme="dark"] .e-grid .e-summarycontent {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

[data-pc-theme="dark"] .e-grid .e-headercell,
[data-pc-theme="dark"] .e-grid .e-detailheadercell,
[data-pc-theme="dark"] .e-grid .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-summarycell,
[data-pc-theme="dark"] .e-grid .e-filterbarcell {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

[data-pc-theme="dark"] .e-grid .e-headercell,
[data-pc-theme="dark"] .e-grid .e-detailheadercell {
  background: var(--bs-tertiary-bg);
}

[data-pc-theme="dark"] .e-grid .e-altrow .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-editedrow .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-addedrow .e-rowcell {
  background: rgba(255, 255, 255, 0.025);
}

[data-pc-theme="dark"] .e-grid .e-row:hover .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-hover .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-selectionbackground,
[data-pc-theme="dark"] .e-grid .e-active {
  background: rgba(var(--bs-primary-rgb), 0.18);
  color: var(--bs-body-color);
}

[data-pc-theme="dark"] .e-grid .e-toolbar .e-toolbar-items,
[data-pc-theme="dark"] .e-grid .e-toolbar .e-toolbar-item .e-tbar-btn,
[data-pc-theme="dark"] .e-grid .e-toolbar .e-toolbar-item .e-tbar-btn-text,
[data-pc-theme="dark"] .e-grid .e-toolbar .e-icons,
[data-pc-theme="dark"] .e-grid .e-pager .e-icons,
[data-pc-theme="dark"] .e-grid .e-pager .e-numericitem,
[data-pc-theme="dark"] .e-grid .e-pager .e-spacing,
[data-pc-theme="dark"] .e-grid .e-pager .e-pagercontainer {
  background: transparent;
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

[data-pc-theme="dark"] .e-grid .e-toolbar .e-toolbar-item .e-tbar-btn:hover,
[data-pc-theme="dark"] .e-grid .e-pager .e-numericitem:hover,
[data-pc-theme="dark"] .e-grid .e-pager .e-currentitem {
  background: rgba(var(--bs-primary-rgb), 0.18);
  color: var(--bs-primary);
}

[data-pc-theme="dark"] .e-input,
[data-pc-theme="dark"] .e-input-group,
[data-pc-theme="dark"] .e-input-group.e-control-wrapper,
[data-pc-theme="dark"] .e-input-group input.e-input,
[data-pc-theme="dark"] .e-control-wrapper input.e-input,
[data-pc-theme="dark"] .e-float-input,
[data-pc-theme="dark"] .e-float-input.e-control-wrapper,
[data-pc-theme="dark"] .e-numerictextbox,
[data-pc-theme="dark"] .e-date-wrapper,
[data-pc-theme="dark"] .e-datetime-wrapper,
[data-pc-theme="dark"] .e-ddl.e-input-group,
[data-pc-theme="dark"] .e-multiselect.e-input-group {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

[data-pc-theme="dark"] .e-input::placeholder,
[data-pc-theme="dark"] .e-input-group input.e-input::placeholder,
[data-pc-theme="dark"] .e-control-wrapper input.e-input::placeholder {
  color: var(--bs-secondary-color);
}

[data-pc-theme="dark"] .e-input-group.e-input-focus,
[data-pc-theme="dark"] .e-input-group.e-control-wrapper.e-input-focus,
[data-pc-theme="dark"] .e-float-input.e-input-focus,
[data-pc-theme="dark"] .e-float-input.e-control-wrapper.e-input-focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
}

[data-pc-theme="dark"] .e-popup,
[data-pc-theme="dark"] .e-dropdownbase,
[data-pc-theme="dark"] .e-ddl.e-popup,
[data-pc-theme="dark"] .e-multi-select-list-wrapper,
[data-pc-theme="dark"] .e-datepicker,
[data-pc-theme="dark"] .e-datetimepicker,
[data-pc-theme="dark"] .e-timepicker,
[data-pc-theme="dark"] .e-filter-popup,
[data-pc-theme="dark"] .e-contextmenu-wrapper ul,
[data-pc-theme="dark"] .e-menu-wrapper ul {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
  box-shadow: var(--bs-box-shadow);
}

[data-pc-theme="dark"] .e-list-item,
[data-pc-theme="dark"] .e-dropdownbase .e-list-item,
[data-pc-theme="dark"] .e-calendar .e-content td,
[data-pc-theme="dark"] .e-calendar .e-header .e-title,
[data-pc-theme="dark"] .e-calendar .e-header .e-icon-container button,
[data-pc-theme="dark"] .e-timepicker .e-list-item {
  background: transparent;
  color: var(--bs-body-color);
}

[data-pc-theme="dark"] .e-list-item.e-hover,
[data-pc-theme="dark"] .e-list-item:hover,
[data-pc-theme="dark"] .e-dropdownbase .e-list-item.e-hover,
[data-pc-theme="dark"] .e-dropdownbase .e-list-item:hover,
[data-pc-theme="dark"] .e-calendar .e-content td.e-hover span,
[data-pc-theme="dark"] .e-calendar .e-content td:hover span {
  background: rgba(var(--bs-primary-rgb), 0.18);
  color: var(--bs-body-color);
}

[data-pc-theme="dark"] .e-list-item.e-active,
[data-pc-theme="dark"] .e-dropdownbase .e-list-item.e-active,
[data-pc-theme="dark"] .e-calendar .e-content td.e-selected span,
[data-pc-theme="dark"] .e-calendar .e-content td.e-today.e-selected span {
  background: var(--bs-primary);
  color: #fff;
}

[data-pc-theme="dark"] .e-multi-select-wrapper .e-chips,
[data-pc-theme="dark"] .e-multi-select-wrapper .e-chips.e-chip-selected {
  background: rgba(var(--bs-primary-rgb), 0.22);
  color: var(--bs-body-color);
}

[data-pc-theme="dark"] .e-btn,
[data-pc-theme="dark"] .e-css.e-btn {
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

[data-pc-theme="dark"] .e-btn:hover,
[data-pc-theme="dark"] .e-css.e-btn:hover,
[data-pc-theme="dark"] .e-btn.e-primary,
[data-pc-theme="dark"] .e-css.e-btn.e-primary {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

[data-pc-theme="dark"] .e-grid .e-headercell,
[data-pc-theme="dark"] .e-grid .e-stackedheadercell,
[data-pc-theme="dark"] .e-grid .e-headercontent,
[data-pc-theme="dark"] .e-grid .e-headercontent .e-table,
[data-pc-theme="dark"] .e-grid .e-movableheader .e-table,
[data-pc-theme="dark"] .e-grid .e-frozenheader .e-table {
  background-color: var(--bs-tertiary-bg) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--bs-border-color) !important;
}

[data-pc-theme="dark"] .e-grid .e-headercelldiv,
[data-pc-theme="dark"] .e-grid .e-headertext,
[data-pc-theme="dark"] .e-grid .e-sortfilterdiv,
[data-pc-theme="dark"] .e-grid .e-filtermenudiv,
[data-pc-theme="dark"] .e-grid .e-icons {
  color: var(--bs-body-color) !important;
}

[data-pc-theme="dark"] .e-grid .e-row,
[data-pc-theme="dark"] .e-grid .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-rowcell.e-selectionbackground,
[data-pc-theme="dark"] .e-grid .e-editedrow .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-addedrow .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-normaledit .e-rowcell {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--bs-border-color) !important;
}

[data-pc-theme="dark"] .e-grid .e-row:hover .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-altrow:hover .e-rowcell,
[data-pc-theme="dark"] .e-grid .e-selectionbackground {
  background-color: rgba(var(--bs-primary-rgb), 0.16) !important;
  color: var(--bs-body-color) !important;
}

[data-pc-theme="dark"] .e-grid .e-editedrow input.e-input,
[data-pc-theme="dark"] .e-grid .e-addedrow input.e-input,
[data-pc-theme="dark"] .e-grid .e-editedrow .e-input,
[data-pc-theme="dark"] .e-grid .e-addedrow .e-input,
[data-pc-theme="dark"] .e-grid .e-editedrow .e-input-group,
[data-pc-theme="dark"] .e-grid .e-addedrow .e-input-group,
[data-pc-theme="dark"] .e-grid .e-editedrow .e-control-wrapper,
[data-pc-theme="dark"] .e-grid .e-addedrow .e-control-wrapper {
  background-color: #0f1720 !important;
  color: var(--bs-body-color) !important;
  border-color: var(--bs-border-color) !important;
}

[data-pc-theme="dark"] .e-grid .e-editedrow input.e-input:focus,
[data-pc-theme="dark"] .e-grid .e-addedrow input.e-input:focus,
[data-pc-theme="dark"] .e-grid .e-editedrow .e-input-focus,
[data-pc-theme="dark"] .e-grid .e-addedrow .e-input-focus {
  border-color: var(--bs-primary) !important;
  box-shadow: inset 0 -1px 0 var(--bs-primary) !important;
}

[data-pc-theme="dark"] .e-grid .e-toolbar,
[data-pc-theme="dark"] .e-grid .e-toolbar .e-toolbar-items,
[data-pc-theme="dark"] .e-grid .e-toolbar .e-toolbar-item,
[data-pc-theme="dark"] .e-grid .e-toolbar .e-tbar-btn {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--bs-border-color) !important;
}

[data-pc-theme="dark"] .e-grid .e-toolbar .e-tbar-btn.e-overlay,
[data-pc-theme="dark"] .e-grid .e-toolbar .e-toolbar-item.e-overlay {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--bs-secondary-color) !important;
  opacity: 0.65;
}

[data-pc-theme="dark"] .e-popup,
[data-pc-theme="dark"] .e-popup .e-content,
[data-pc-theme="dark"] .e-dropdownbase,
[data-pc-theme="dark"] .e-dropdownbase .e-content,
[data-pc-theme="dark"] .e-ddl.e-popup,
[data-pc-theme="dark"] .e-multi-select-list-wrapper {
  background-color: #0f1720 !important;
  color: var(--bs-body-color) !important;
  border-color: var(--bs-border-color) !important;
}

[data-pc-theme="dark"] .e-dropdownbase .e-list-item,
[data-pc-theme="dark"] .e-dropdownbase .e-list-group-item,
[data-pc-theme="dark"] .e-multi-select-list-wrapper .e-list-item {
  background-color: #0f1720 !important;
  color: var(--bs-body-color) !important;
}

[data-pc-theme="dark"] .e-dropdownbase .e-list-item.e-hover,
[data-pc-theme="dark"] .e-dropdownbase .e-list-item:hover,
[data-pc-theme="dark"] .e-dropdownbase .e-list-item.e-active,
[data-pc-theme="dark"] .e-dropdownbase .e-list-item.e-item-focus,
[data-pc-theme="dark"] .e-multi-select-list-wrapper .e-list-item.e-hover,
[data-pc-theme="dark"] .e-multi-select-list-wrapper .e-list-item:hover,
[data-pc-theme="dark"] .e-multi-select-list-wrapper .e-list-item.e-active {
  background-color: var(--bs-primary) !important;
  color: #fff !important;
}

[data-pc-theme="dark"] .e-grid .e-search .e-input-group,
[data-pc-theme="dark"] .e-grid .e-search input.e-input {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
}
