/* Kullanıcı temaları. Varsayılan (data-bdc-theme=default) site.css tokenlarını kullanır. */

.bdc-theme-menu {
  min-width: 240px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.bdc-theme-swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: 0 0 16px;
  border: 1px solid rgba(0, 0, 0, .18);
}

.bdc-theme-check {
  opacity: 0;
  color: var(--primary);
}

.bdc-theme-option.is-current .bdc-theme-check {
  opacity: 1;
}

html[data-bdc-theme="flatly"] {
  --app-font: Lato, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #2c3e50;
  --primary-hover: #1a252f;
  --primary-soft: #e7f8f4;
  --bs-primary: #2c3e50;
  --bs-primary-rgb: 44, 62, 80;
  --bs-link-color: #18bc9c;
  --bs-link-hover-color: #128f76;
  --success: #18bc9c;
  --app-bg: #ecf0f1;
  --surface: #fff;
  --surface-subtle: #f4f7f8;
  --border: #d5dde0;
  --border-light: #e6ebed;
  --text-primary: #2c3e50;
  --text-secondary: #5d6d7e;
  --text-muted: #95a5a6;
  --form-label: #5d6d7e;
  --navbar-bg: #2c3e50;
  --navbar-border: #243342;
  --navbar-text: #fff;
  --navbar-muted: rgba(255, 255, 255, .72);
  --navbar-accent: #18bc9c;
  --navbar-btn-bg: #1a252f;
  --navbar-btn-border: #1a252f;
  --navbar-btn-color: #fff;
  --navbar-btn-hover: #15202b;
  --sidebar-link-active: #128f76;
  --sidebar-link-active-bg: #e7f8f4;
  --footer-bg: #fff;
  --bs-body-bg: #ecf0f1;
  --bs-body-color: #2c3e50;
  --bs-border-color: #d5dde0;
  --bs-font-sans-serif: Lato, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="litera"] {
  --primary: #4582ec;
  --primary-hover: #2f6ad4;
  --primary-soft: #e8f0fd;
  --bs-primary: #4582ec;
  --bs-primary-rgb: 69, 130, 236;
  --bs-link-color: #4582ec;
  --bs-link-hover-color: #2f6ad4;
  --success: #02b875;
  --app-bg: #f7f8fa;
  --text-primary: #343a40;
  --text-secondary: #5c656d;
  --navbar-accent: #4582ec;
  --sidebar-link-active: #4582ec;
  --sidebar-link-active-bg: #e8f0fd;
  --bs-body-color: #343a40;
  --bs-font-sans-serif: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[data-bdc-theme="zephyr"] {
  --app-font: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #3459e6;
  --primary-hover: #2446c4;
  --primary-soft: #e8edfd;
  --bs-primary: #3459e6;
  --bs-primary-rgb: 52, 89, 230;
  --bs-link-color: #3459e6;
  --bs-link-hover-color: #2446c4;
  --success: #2fb380;
  --app-bg: #f4f6fb;
  --text-primary: #343a40;
  --text-secondary: #495057;
  --navbar-accent: #3459e6;
  --sidebar-link-active: #3459e6;
  --sidebar-link-active-bg: #e8edfd;
  --bs-body-color: #495057;
  --bs-font-sans-serif: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="materia"] {
  --app-font: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
  --primary: #2196f3;
  --primary-hover: #0d87e9;
  --primary-soft: #e3f2fd;
  --bs-primary: #2196f3;
  --bs-primary-rgb: 33, 150, 243;
  --bs-link-color: #2196f3;
  --bs-link-hover-color: #0d87e9;
  --success: #4caf50;
  --warning: #ff9800;
  --danger: #e51c23;
  --app-bg: #f5f5f5;
  --text-primary: #444;
  --text-secondary: #616161;
  --navbar-accent: #2196f3;
  --sidebar-link-active: #2196f3;
  --sidebar-link-active-bg: #e3f2fd;
  --bs-body-bg: #f5f5f5;
  --bs-body-color: #444;
  --bs-font-sans-serif: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="cosmo"] {
  --app-font: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #2780e3;
  --primary-hover: #1a6dcc;
  --primary-soft: #e5f1fc;
  --bs-primary: #2780e3;
  --bs-primary-rgb: 39, 128, 227;
  --bs-link-color: #2780e3;
  --bs-link-hover-color: #1a6dcc;
  --success: #3fb618;
  --warning: #ff7518;
  --danger: #ff0039;
  --text-primary: #373a3c;
  --text-secondary: #55595c;
  --navbar-accent: #2780e3;
  --sidebar-link-active: #2780e3;
  --sidebar-link-active-bg: #e5f1fc;
  --bs-body-color: #373a3c;
  --bs-font-sans-serif: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="lux"] {
  --app-font: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #1a1a1a;
  --primary-hover: #000;
  --primary-soft: #f0f1f2;
  --bs-primary: #1a1a1a;
  --bs-primary-rgb: 26, 26, 26;
  --bs-link-color: #1a1a1a;
  --bs-link-hover-color: #000;
  --success: #4bbf73;
  --info: #1f9bcf;
  --text-primary: #333;
  --text-secondary: #55595c;
  --border: #e0e1e2;
  --border-light: #eceeef;
  --navbar-accent: #1a1a1a;
  --sidebar-link-active: #1a1a1a;
  --sidebar-link-active-bg: #f0f1f2;
  --bs-body-color: #55595c;
  --bs-border-color: #e0e1e2;
  --bs-font-sans-serif: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="minty"] {
  --primary: #78c2ad;
  --primary-hover: #5aaf98;
  --primary-soft: #e8f6f2;
  --bs-primary: #78c2ad;
  --bs-primary-rgb: 120, 194, 173;
  --bs-link-color: #5aaf98;
  --bs-link-hover-color: #3e9a82;
  --success: #56cc9d;
  --warning: #ffce67;
  --danger: #ff7851;
  --app-bg: #f7f7f9;
  --text-primary: #4a4a4a;
  --text-secondary: #6c757d;
  --border: #eceeef;
  --navbar-accent: #5aaf98;
  --sidebar-link-active: #3e9a82;
  --sidebar-link-active-bg: #e8f6f2;
  --bs-body-bg: #f7f7f9;
  --bs-body-color: #4a4a4a;
  --bs-border-color: #eceeef;
}

html[data-bdc-theme="sandstone"] {
  --app-font: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
  --primary: #325d88;
  --primary-hover: #27496c;
  --primary-soft: #eef6d8;
  --bs-primary: #325d88;
  --bs-primary-rgb: 50, 93, 136;
  --bs-link-color: #6fa328;
  --bs-link-hover-color: #5c8a1d;
  --success: #93c54b;
  --warning: #f47c3c;
  --danger: #d9534f;
  --app-bg: #f8f5f0;
  --surface: #fff;
  --surface-subtle: #f3efe8;
  --border: #dfd7ca;
  --border-light: #ebe4d8;
  --text-primary: #3e3f3a;
  --text-secondary: #6c6a62;
  --text-muted: #8e8c84;
  --form-label: #6c6a62;
  --navbar-bg: #fff;
  --navbar-accent: #325d88;
  --sidebar-bg: #fff;
  --sidebar-border: #dfd7ca;
  --sidebar-link-active: #5c8a1d;
  --sidebar-link-active-bg: #eef6d8;
  --footer-bg: #f8f5f0;
  --control-border: #dfd7ca;
  --bs-body-bg: #f8f5f0;
  --bs-body-color: #3e3f3a;
  --bs-border-color: #dfd7ca;
  --bs-font-sans-serif: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="brite"] {
  --primary: #a2e436;
  --primary-hover: #8bcf22;
  --primary-soft: #f3fbe3;
  --bs-primary: #a2e436;
  --bs-primary-rgb: 162, 228, 54;
  --bs-link-color: #111;
  --bs-link-hover-color: #000;
  --success: #68d391;
  --info: #22d2ed;
  --warning: #ffc700;
  --danger: #f56565;
  --text-primary: #212529;
  --navbar-accent: #111;
  --sidebar-link-active: #5a7a12;
  --sidebar-link-active-bg: #f3fbe3;
  --bs-body-color: #212529;
}

html[data-bdc-theme="cerulean"] {
  --primary: #2fa4e7;
  --primary-hover: #1b8ecf;
  --primary-soft: #e5f5fc;
  --bs-primary: #2fa4e7;
  --bs-primary-rgb: 47, 164, 231;
  --bs-link-color: #2fa4e7;
  --bs-link-hover-color: #1b8ecf;
  --success: #73a839;
  --info: #033c73;
  --warning: #dd5600;
  --danger: #c71c22;
  --text-primary: #343a40;
  --text-secondary: #495057;
  --navbar-accent: #2fa4e7;
  --sidebar-link-active: #033c73;
  --sidebar-link-active-bg: #e5f5fc;
  --bs-body-color: #495057;
}

html[data-bdc-theme="journal"] {
  --primary: #eb6864;
  --primary-hover: #e14c47;
  --primary-soft: #fdeceb;
  --bs-primary: #eb6864;
  --bs-primary-rgb: 235, 104, 100;
  --bs-link-color: #eb6864;
  --bs-link-hover-color: #e14c47;
  --success: #22b24c;
  --info: #336699;
  --warning: #f5e625;
  --danger: #f57a00;
  --app-bg: #fafafa;
  --text-primary: #222;
  --text-secondary: #555;
  --navbar-accent: #eb6864;
  --sidebar-link-active: #eb6864;
  --sidebar-link-active-bg: #fdeceb;
  --bs-body-bg: #fafafa;
  --bs-body-color: #222;
}

html[data-bdc-theme="lumen"] {
  --app-font: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #158cba;
  --primary-hover: #10749c;
  --primary-soft: #e3f4fa;
  --bs-primary: #158cba;
  --bs-primary-rgb: 21, 140, 186;
  --bs-link-color: #158cba;
  --bs-link-hover-color: #10749c;
  --success: #28b62c;
  --info: #75caeb;
  --warning: #ff851b;
  --danger: #ff4136;
  --text-primary: #222;
  --navbar-accent: #158cba;
  --sidebar-link-active: #158cba;
  --sidebar-link-active-bg: #e3f4fa;
  --bs-body-color: #222;
  --bs-font-sans-serif: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="morph"] {
  --app-font: Nunito, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #378dfc;
  --primary-hover: #1b74e8;
  --primary-soft: #e7f1ff;
  --bs-primary: #378dfc;
  --bs-primary-rgb: 55, 141, 252;
  --bs-link-color: #485785;
  --bs-link-hover-color: #334068;
  --success: #43cc29;
  --info: #5b62f4;
  --danger: #e52527;
  --app-bg: #d9e3f1;
  --surface: #fff;
  --surface-subtle: #eef3fa;
  --border: #c5d2e6;
  --border-light: #d5dfed;
  --text-primary: #243056;
  --text-secondary: #485785;
  --text-muted: #7b8ab8;
  --form-label: #485785;
  --navbar-bg: #eef3fa;
  --navbar-border: #c5d2e6;
  --navbar-accent: #378dfc;
  --sidebar-bg: #eef3fa;
  --sidebar-border: #c5d2e6;
  --sidebar-link-active: #378dfc;
  --sidebar-link-active-bg: #fff;
  --footer-bg: #eef3fa;
  --control-border: #c5d2e6;
  --bs-body-bg: #d9e3f1;
  --bs-body-color: #243056;
  --bs-border-color: #c5d2e6;
  --bs-font-sans-serif: Nunito, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="pulse"] {
  --primary: #593196;
  --primary-hover: #472678;
  --primary-soft: #f3eef9;
  --bs-primary: #593196;
  --bs-primary-rgb: 89, 49, 150;
  --bs-link-color: #593196;
  --bs-link-hover-color: #472678;
  --success: #13b955;
  --info: #009cdc;
  --warning: #efa31d;
  --danger: #fc3939;
  --app-bg: #f9f8fc;
  --border: #ededed;
  --text-primary: #444;
  --navbar-accent: #593196;
  --sidebar-link-active: #593196;
  --sidebar-link-active-bg: #f3eef9;
  --bs-body-bg: #f9f8fc;
  --bs-body-color: #444;
  --bs-border-color: #ededed;
}

html[data-bdc-theme="quartz"] {
  --primary: #e83283;
  --primary-hover: #c41f69;
  --primary-soft: rgba(232, 50, 131, .16);
  --bs-primary: #e83283;
  --bs-primary-rgb: 232, 50, 131;
  --bs-link-color: #e83283;
  --bs-link-hover-color: #c41f69;
  --success: #41d7a7;
  --info: #39cbfb;
  --app-bg: #5d62b8;
  --surface: #fff;
  --surface-subtle: #f7f4fb;
  --border: rgba(80, 60, 140, .16);
  --border-light: rgba(80, 60, 140, .1);
  --text-primary: #2a2150;
  --text-secondary: #4c4670;
  --navbar-bg: #4d52a8;
  --navbar-border: #43489a;
  --navbar-text: #fff;
  --navbar-muted: rgba(255, 255, 255, .75);
  --navbar-accent: #ffd0e6;
  --navbar-btn-bg: rgba(255, 255, 255, .14);
  --navbar-btn-border: rgba(255, 255, 255, .22);
  --navbar-btn-color: #fff;
  --navbar-btn-hover: rgba(255, 255, 255, .26);
  --sidebar-bg: #555ab0;
  --sidebar-border: rgba(255, 255, 255, .16);
  --sidebar-search-bg: #555ab0;
  --sidebar-link: #f4f2ff;
  --sidebar-link-hover: #fff;
  --sidebar-link-hover-bg: rgba(255, 255, 255, .12);
  --sidebar-sub-link: #e6e4ff;
  --sidebar-sub-hover: #fff;
  --sidebar-sub-hover-bg: rgba(255, 255, 255, .1);
  --sidebar-header: rgba(255, 255, 255, .65);
  --sidebar-toggle: #f4f2ff;
  --sidebar-link-active: #fff;
  --sidebar-link-active-bg: rgba(232, 50, 131, .45);
  --sidebar-dot: rgba(255, 255, 255, .45);
  --footer-bg: #4d52a8;
  --bs-body-bg: #5d62b8;
  --bs-body-color: #2a2150;
}

html[data-bdc-theme="simplex"] {
  --app-font: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #d9230f;
  --primary-hover: #b61d0c;
  --primary-soft: #fde8e6;
  --bs-primary: #d9230f;
  --bs-primary-rgb: 217, 35, 15;
  --bs-link-color: #d9230f;
  --bs-link-hover-color: #b61d0c;
  --success: #469408;
  --info: #029acf;
  --warning: #d9831f;
  --danger: #9b479f;
  --app-bg: #fcfcfc;
  --border: #ccc;
  --text-primary: #212529;
  --navbar-accent: #d9230f;
  --sidebar-link-active: #d9230f;
  --sidebar-link-active-bg: #fde8e6;
  --bs-body-bg: #fcfcfc;
  --bs-body-color: #212529;
  --bs-border-color: #ccc;
  --bs-font-sans-serif: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="sketchy"] {
  --app-font: Neucha, "Segoe UI", sans-serif;
  --primary: #333;
  --primary-hover: #111;
  --primary-soft: #f7f7f9;
  --bs-primary: #333;
  --bs-primary-rgb: 51, 51, 51;
  --bs-link-color: #333;
  --bs-link-hover-color: #111;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --text-primary: #212529;
  --navbar-accent: #333;
  --sidebar-link-active: #333;
  --sidebar-link-active-bg: #f7f7f9;
  --bs-body-color: #212529;
  --bs-font-sans-serif: Neucha, "Segoe UI", sans-serif;
}

html[data-bdc-theme="spacelab"] {
  --app-font: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #446e9b;
  --primary-hover: #365980;
  --primary-soft: #e8f3fe;
  --bs-primary: #446e9b;
  --bs-primary-rgb: 68, 110, 155;
  --bs-link-color: #3399f3;
  --bs-link-hover-color: #1a84e0;
  --success: #3cb521;
  --info: #3399f3;
  --warning: #d47500;
  --danger: #cd0200;
  --text-primary: #333;
  --text-secondary: #666;
  --navbar-accent: #446e9b;
  --sidebar-link-active: #3399f3;
  --sidebar-link-active-bg: #e8f3fe;
  --bs-body-color: #333;
  --bs-font-sans-serif: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="united"] {
  --app-font: Ubuntu, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #e95420;
  --primary-hover: #d04312;
  --primary-soft: #fdece6;
  --bs-primary: #e95420;
  --bs-primary-rgb: 233, 84, 32;
  --bs-link-color: #e95420;
  --bs-link-hover-color: #d04312;
  --success: #38b44a;
  --info: #17a2b8;
  --warning: #efb73e;
  --danger: #df382c;
  --text-primary: #333;
  --navbar-accent: #e95420;
  --sidebar-link-active: #e95420;
  --sidebar-link-active-bg: #fdece6;
  --bs-body-color: #333;
  --bs-font-sans-serif: Ubuntu, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="yeti"] {
  --app-font: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #008cba;
  --primary-hover: #007196;
  --primary-soft: #e3f5fa;
  --bs-primary: #008cba;
  --bs-primary-rgb: 0, 140, 186;
  --bs-link-color: #008cba;
  --bs-link-hover-color: #007196;
  --success: #43ac6a;
  --info: #5bc0de;
  --warning: #e99002;
  --danger: #f04124;
  --app-bg: #f7f7f7;
  --text-primary: #222;
  --navbar-accent: #008cba;
  --sidebar-link-active: #008cba;
  --sidebar-link-active-bg: #e3f5fa;
  --bs-body-bg: #f7f7f7;
  --bs-body-color: #222;
  --bs-font-sans-serif: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="cyborg"],
html[data-bdc-theme="darkly"],
html[data-bdc-theme="slate"],
html[data-bdc-theme="solar"],
html[data-bdc-theme="superhero"],
html[data-bdc-theme="vapor"] {
  color-scheme: dark;
  --surface: #2b2b2b;
  --surface-subtle: #333;
  --border: #444;
  --border-light: #3a3a3a;
  --text-primary: #f1f3f5;
  --text-secondary: #ced4da;
  --text-muted: #adb5bd;
  --form-label: #ced4da;
  --navbar-text: #f8f9fa;
  --navbar-muted: rgba(255, 255, 255, .7);
  --navbar-btn-color: #f8f9fa;
  --sidebar-link: #e9ecef;
  --sidebar-link-hover: #fff;
  --sidebar-link-hover-bg: rgba(255, 255, 255, .06);
  --sidebar-sub-link: #ced4da;
  --sidebar-sub-hover: #fff;
  --sidebar-sub-hover-bg: rgba(255, 255, 255, .06);
  --sidebar-header: #adb5bd;
  --sidebar-toggle: #dee2e6;
  --sidebar-dot: #6c757d;
  --sidebar-dot-hover: #adb5bd;
  --sidebar-scroll: #555;
  --control-bg: #2b2b2b;
  --control-border: #555;
  --table-hover: rgba(255, 255, 255, .04);
  --bs-body-color: #dee2e6;
  --bs-emphasis-color: #fff;
  --bs-secondary-color: #ced4da;
  --bs-tertiary-color: #adb5bd;
}

html[data-bdc-theme="darkly"] {
  --app-font: Lato, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #375a7f;
  --primary-hover: #2c4866;
  --primary-soft: rgba(0, 188, 140, .16);
  --bs-primary: #375a7f;
  --bs-primary-rgb: 55, 90, 127;
  --bs-link-color: #00bc8c;
  --bs-link-hover-color: #009670;
  --success: #00bc8c;
  --warning: #f39c12;
  --danger: #e74c3c;
  --app-bg: #222;
  --surface: #2a2a2a;
  --surface-subtle: #303030;
  --navbar-bg: #1b1b1b;
  --navbar-border: #333;
  --navbar-accent: #00bc8c;
  --navbar-btn-bg: #303030;
  --navbar-btn-border: #444;
  --navbar-btn-hover: #3a3a3a;
  --sidebar-bg: #1e1e1e;
  --sidebar-border: #333;
  --sidebar-search-bg: #1e1e1e;
  --sidebar-link-active: #00bc8c;
  --sidebar-link-active-bg: rgba(0, 188, 140, .16);
  --expand-tab-bg: #1e1e1e;
  --expand-tab-color: #ced4da;
  --expand-tab-border: #444;
  --footer-bg: #1b1b1b;
  --table-head-bg: #303030;
  --control-bg: #2a2a2a;
  --bs-body-bg: #222;
  --bs-secondary-bg: #303030;
  --bs-tertiary-bg: #292929;
  --bs-border-color: #444;
  --bs-font-sans-serif: Lato, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="slate"] {
  --primary: #7a8288;
  --primary-hover: #697077;
  --primary-soft: rgba(91, 192, 222, .16);
  --bs-primary: #7a8288;
  --bs-primary-rgb: 122, 130, 136;
  --bs-link-color: #5bc0de;
  --bs-link-hover-color: #31b0d5;
  --success: #62c462;
  --info: #5bc0de;
  --warning: #f89406;
  --danger: #ee5f5b;
  --app-bg: #272b30;
  --surface: #32383e;
  --surface-subtle: #3a3f44;
  --border: #52575c;
  --border-light: #454a4f;
  --navbar-bg: #1f2327;
  --navbar-border: #3a3f44;
  --navbar-accent: #5bc0de;
  --navbar-btn-bg: #3a3f44;
  --navbar-btn-border: #52575c;
  --navbar-btn-hover: #454b51;
  --sidebar-bg: #22262a;
  --sidebar-border: #3a3f44;
  --sidebar-search-bg: #22262a;
  --sidebar-link-active: #5bc0de;
  --sidebar-link-active-bg: rgba(91, 192, 222, .16);
  --expand-tab-bg: #22262a;
  --expand-tab-color: #dee2e6;
  --expand-tab-border: #52575c;
  --footer-bg: #1f2327;
  --table-head-bg: #3a3f44;
  --control-bg: #2e3338;
  --control-border: #52575c;
  --bs-body-bg: #272b30;
  --bs-secondary-bg: #3a3f44;
  --bs-tertiary-bg: #31353a;
  --bs-border-color: #52575c;
}

html[data-bdc-theme="cyborg"] {
  --app-font: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
  --primary: #2a9fd6;
  --primary-hover: #1f86b8;
  --primary-soft: rgba(42, 159, 214, .18);
  --bs-primary: #2a9fd6;
  --bs-primary-rgb: 42, 159, 214;
  --bs-link-color: #2a9fd6;
  --bs-link-hover-color: #1f86b8;
  --success: #77b300;
  --warning: #ff8800;
  --danger: #cc0000;
  --app-bg: #060606;
  --surface: #141414;
  --surface-subtle: #1c1c1c;
  --border: #2a2a2a;
  --border-light: #222;
  --navbar-bg: #000;
  --navbar-border: #222;
  --navbar-accent: #2a9fd6;
  --navbar-btn-bg: #1a1a1a;
  --navbar-btn-border: #333;
  --navbar-btn-hover: #262626;
  --sidebar-bg: #0c0c0c;
  --sidebar-border: #222;
  --sidebar-search-bg: #0c0c0c;
  --sidebar-link-active: #2a9fd6;
  --sidebar-link-active-bg: rgba(42, 159, 214, .18);
  --expand-tab-bg: #0c0c0c;
  --expand-tab-color: #dee2e6;
  --expand-tab-border: #333;
  --footer-bg: #000;
  --table-head-bg: #1c1c1c;
  --control-bg: #141414;
  --control-border: #333;
  --bs-body-bg: #060606;
  --bs-secondary-bg: #1c1c1c;
  --bs-tertiary-bg: #141414;
  --bs-border-color: #2a2a2a;
  --bs-font-sans-serif: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="solar"] {
  --app-font: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #b58900;
  --primary-hover: #9a7400;
  --primary-soft: rgba(42, 161, 152, .18);
  --bs-primary: #b58900;
  --bs-primary-rgb: 181, 137, 0;
  --bs-link-color: #2aa198;
  --bs-link-hover-color: #1f7f78;
  --success: #2aa198;
  --info: #268bd2;
  --warning: #cb4b16;
  --danger: #d33682;
  --app-bg: #002b36;
  --surface: #073642;
  --surface-subtle: #04313c;
  --border: #0e4a56;
  --border-light: #0a3d48;
  --text-primary: #eee8d5;
  --text-secondary: #93a1a1;
  --text-muted: #839496;
  --form-label: #93a1a1;
  --navbar-bg: #00212b;
  --navbar-border: #073642;
  --navbar-accent: #b58900;
  --navbar-btn-bg: #073642;
  --navbar-btn-border: #0e4a56;
  --navbar-btn-hover: #0a4452;
  --sidebar-bg: #00212b;
  --sidebar-border: #073642;
  --sidebar-search-bg: #00212b;
  --sidebar-link-active: #2aa198;
  --sidebar-link-active-bg: rgba(42, 161, 152, .18);
  --expand-tab-bg: #00212b;
  --expand-tab-color: #eee8d5;
  --expand-tab-border: #0e4a56;
  --footer-bg: #00212b;
  --table-head-bg: #04313c;
  --control-bg: #073642;
  --control-border: #0e4a56;
  --bs-body-bg: #002b36;
  --bs-body-color: #eee8d5;
  --bs-secondary-bg: #073642;
  --bs-tertiary-bg: #04313c;
  --bs-border-color: #0e4a56;
  --bs-font-sans-serif: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="superhero"] {
  --app-font: Lato, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #df6919;
  --primary-hover: #c05612;
  --primary-soft: rgba(223, 105, 25, .18);
  --bs-primary: #df6919;
  --bs-primary-rgb: 223, 105, 25;
  --bs-link-color: #df6919;
  --bs-link-hover-color: #c05612;
  --success: #5cb85c;
  --info: #5bc0de;
  --app-bg: #0f2537;
  --surface: #1a3548;
  --surface-subtle: #163044;
  --border: #2c4a60;
  --border-light: #243f52;
  --navbar-bg: #0b1c2a;
  --navbar-border: #1a3548;
  --navbar-accent: #df6919;
  --navbar-btn-bg: #1a3548;
  --navbar-btn-border: #2c4a60;
  --navbar-btn-hover: #23445c;
  --sidebar-bg: #0b1c2a;
  --sidebar-border: #1a3548;
  --sidebar-search-bg: #0b1c2a;
  --sidebar-link-active: #df6919;
  --sidebar-link-active-bg: rgba(223, 105, 25, .18);
  --expand-tab-bg: #0b1c2a;
  --expand-tab-color: #ebebeb;
  --expand-tab-border: #2c4a60;
  --footer-bg: #0b1c2a;
  --table-head-bg: #163044;
  --control-bg: #1a3548;
  --control-border: #2c4a60;
  --bs-body-bg: #0f2537;
  --bs-secondary-bg: #1a3548;
  --bs-tertiary-bg: #163044;
  --bs-border-color: #2c4a60;
  --bs-font-sans-serif: Lato, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme="vapor"] {
  --app-font: Lato, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --primary: #6f42c1;
  --primary-hover: #5a32a3;
  --primary-soft: rgba(50, 251, 226, .12);
  --bs-primary: #6f42c1;
  --bs-primary-rgb: 111, 66, 193;
  --bs-link-color: #32fbe2;
  --bs-link-hover-color: #14dcc4;
  --success: #3cf281;
  --info: #1ba2f6;
  --danger: #e44c55;
  --app-bg: #1a0933;
  --surface: #261447;
  --surface-subtle: #301a56;
  --border: #4a2d78;
  --border-light: #3a2260;
  --text-primary: #f3e9ff;
  --text-secondary: #c9b6ea;
  --text-muted: #9a86c0;
  --form-label: #c9b6ea;
  --navbar-bg: #120624;
  --navbar-border: #3a2260;
  --navbar-accent: #32fbe2;
  --navbar-btn-bg: #301a56;
  --navbar-btn-border: #4a2d78;
  --navbar-btn-hover: #3d2270;
  --sidebar-bg: #140828;
  --sidebar-border: #3a2260;
  --sidebar-search-bg: #140828;
  --sidebar-link-active: #32fbe2;
  --sidebar-link-active-bg: rgba(50, 251, 226, .12);
  --expand-tab-bg: #140828;
  --expand-tab-color: #f3e9ff;
  --expand-tab-border: #4a2d78;
  --footer-bg: #120624;
  --table-head-bg: #301a56;
  --control-bg: #261447;
  --control-border: #4a2d78;
  --bs-body-bg: #1a0933;
  --bs-body-color: #f3e9ff;
  --bs-secondary-bg: #301a56;
  --bs-tertiary-bg: #261447;
  --bs-border-color: #4a2d78;
  --bs-font-sans-serif: Lato, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-bdc-theme]:not([data-bdc-theme="default"]) .form-control:focus,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .form-select:focus {
  border-color: var(--bs-link-color, var(--primary));
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .16);
}

html[data-bdc-theme] {
  --dt-row-selected: var(--bs-primary-rgb);
  --dt-row-hover: var(--bs-primary-rgb);
  --dt-html-background: var(--surface);
  --bs-pagination-color: var(--primary);
  --bs-pagination-bg: var(--surface);
  --bs-pagination-border-color: var(--border);
  --bs-pagination-hover-color: var(--primary-hover);
  --bs-pagination-hover-bg: var(--primary-soft);
  --bs-pagination-hover-border-color: var(--border);
  --bs-pagination-focus-color: var(--primary);
  --bs-pagination-focus-bg: var(--primary-soft);
  --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .2);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--primary);
  --bs-pagination-active-border-color: var(--primary);
  --bs-pagination-disabled-color: var(--text-muted);
  --bs-pagination-disabled-bg: var(--surface);
  --bs-pagination-disabled-border-color: var(--border);
}

html[data-bs-theme="light"] {
  --dt-row-stripe: 0, 0, 0;
}

html[data-bs-theme="dark"] {
  --dt-row-stripe: 255, 255, 255;
  --dt-row-hover: 255, 255, 255;
}

html[data-bdc-theme] div.dataTables_wrapper {
  color: var(--text-secondary);
}

html[data-bdc-theme] div.dataTables_wrapper table.dataTable {
  --bs-table-color: var(--text-primary);
  --bs-table-bg: var(--surface);
  --bs-table-border-color: var(--border-light);
  --bs-table-striped-color: var(--text-primary);
  --bs-table-striped-bg: var(--surface-subtle);
  --bs-table-hover-color: var(--text-primary);
  --bs-table-hover-bg: var(--table-hover);
  --bs-table-active-color: var(--text-primary);
  --bs-table-active-bg: var(--primary-soft);
  color: var(--text-primary);
  border-color: var(--border-light);
}

html[data-bdc-theme] div.dataTables_wrapper table.dataTable > thead > tr > th,
html[data-bdc-theme] div.dataTables_wrapper table.dataTable > thead > tr > td,
html[data-bdc-theme] div.dataTables_wrapper table.dataTable > tfoot > tr > th,
html[data-bdc-theme] div.dataTables_wrapper table.dataTable > tfoot > tr > td,
html[data-bdc-theme] div.dataTables_scrollHead table.dataTable > thead > tr > th,
html[data-bdc-theme] div.dataTables_scrollHead table.dataTable > thead > tr > td {
  background-color: var(--table-head-bg) !important;
  color: var(--text-secondary) !important;
  border-color: var(--border) !important;
  box-shadow: none;
}

html[data-bdc-theme] div.dataTables_wrapper table.dataTable > tbody > tr > td,
html[data-bdc-theme] div.dataTables_wrapper table.dataTable > tbody > tr > th {
  color: var(--text-primary);
  border-color: var(--border-light);
  background-color: var(--bs-table-bg);
}

html[data-bdc-theme] div.dataTables_wrapper table.dataTable.table-striped > tbody > tr:nth-of-type(odd):not(.table-primary):not(.table-secondary):not(.table-success):not(.table-info):not(.table-warning):not(.table-danger):not(.table-light) > *,
html[data-bdc-theme] div.dataTables_wrapper table.dataTable.display > tbody > tr.odd:not(.table-primary):not(.table-secondary):not(.table-success):not(.table-info):not(.table-warning):not(.table-danger):not(.table-light) > *,
html[data-bdc-theme] div.dataTables_wrapper table.dataTable.stripe > tbody > tr.odd:not(.table-primary):not(.table-secondary):not(.table-success):not(.table-info):not(.table-warning):not(.table-danger):not(.table-light) > * {
  background-color: var(--surface-subtle);
  box-shadow: none;
}

html[data-bdc-theme] div.dataTables_wrapper table.dataTable.table-hover > tbody > tr:hover:not(.table-primary):not(.table-secondary):not(.table-success):not(.table-info):not(.table-warning):not(.table-danger):not(.table-light) > *,
html[data-bdc-theme] div.dataTables_wrapper table.dataTable.display > tbody > tr:hover:not(.table-primary):not(.table-secondary):not(.table-success):not(.table-info):not(.table-warning):not(.table-danger):not(.table-light) > *,
html[data-bdc-theme] div.dataTables_wrapper table.dataTable.hover > tbody > tr:hover:not(.table-primary):not(.table-secondary):not(.table-success):not(.table-info):not(.table-warning):not(.table-danger):not(.table-light) > * {
  background-color: var(--table-hover);
  color: var(--text-primary);
}

html[data-bdc-theme] div.dataTables_wrapper .dataTables_filter input,
html[data-bdc-theme] div.dataTables_wrapper .dataTables_length select {
  background-color: var(--control-bg);
  color: var(--text-primary);
  border-color: var(--control-border);
}

html[data-bdc-theme] div.dataTables_wrapper .dataTables_info,
html[data-bdc-theme] div.dataTables_wrapper .dataTables_length label,
html[data-bdc-theme] div.dataTables_wrapper .dataTables_filter label {
  color: var(--text-secondary);
}

html[data-bdc-theme] div.dataTables_wrapper .page-link,
html[data-bdc-theme] div.dataTables_wrapper .paginate_button {
  background-color: var(--surface);
  color: var(--primary);
  border-color: var(--border);
}

html[data-bdc-theme] div.dataTables_wrapper .page-item.active .page-link,
html[data-bdc-theme] div.dataTables_wrapper .paginate_button.current,
html[data-bdc-theme] div.dataTables_wrapper .paginate_button.current:hover {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--bs-pagination-active-color, #fff) !important;
}

html[data-bdc-theme] div.dataTables_wrapper .page-item:not(.active):not(.disabled) .page-link:hover,
html[data-bdc-theme] div.dataTables_wrapper .paginate_button:not(.current):hover {
  background-color: var(--primary-soft);
  color: var(--primary-hover);
  border-color: var(--border);
}

html[data-bdc-theme] div.dataTables_wrapper .page-item.disabled .page-link {
  background-color: var(--surface);
  color: var(--text-muted);
  border-color: var(--border);
}

html[data-bdc-theme="brite"],
html[data-bdc-theme="solar"] {
  --bs-pagination-active-color: #172033;
}

html[data-bdc-theme="brite"] .btn-primary,
html[data-bdc-theme="brite"] div.dataTables_wrapper .page-item.active .page-link,
html[data-bdc-theme="brite"] div.dataTables_wrapper .paginate_button.current,
html[data-bdc-theme="solar"] .btn-primary,
html[data-bdc-theme="solar"] div.dataTables_wrapper .page-item.active .page-link,
html[data-bdc-theme="solar"] div.dataTables_wrapper .paginate_button.current {
  color: #172033 !important;
}

/* Syncfusion ızgaraları (Leave ve benzeri sayfalar) seçili temayı kullanır. */
html[data-bdc-theme]:not([data-bdc-theme="default"]) {
  --color-sf-primary: var(--primary);
  --color-sf-primary-text-color: #fff;
  --color-sf-primary-light: var(--primary-soft);
  --color-sf-primary-lighter: var(--primary-soft);
  --color-sf-primary-dark: var(--primary-hover);
  --color-sf-primary-darker: var(--primary-hover);
  --color-sf-primary-bg-color: var(--primary);
  --color-sf-primary-border-color: var(--primary);
  --color-sf-primary-text: var(--color-sf-primary-text-color);
  --color-sf-primary-bg-color-hover: var(--primary-hover);
  --color-sf-primary-border-color-hover: var(--primary-hover);
  --color-sf-primary-bg-color-pressed: var(--primary-hover);
  --color-sf-primary-border-color-pressed: var(--primary-hover);
  --color-sf-content-bg-color: var(--surface-subtle);
  --color-sf-content-bg-color-alt1: var(--surface);
  --color-sf-content-bg-color-alt2: var(--table-head-bg);
  --color-sf-content-bg-color-alt3: var(--border-light);
  --color-sf-content-bg-color-alt4: var(--surface-subtle);
  --color-sf-content-bg-color-alt5: var(--surface-subtle);
  --color-sf-content-bg-color-hover: var(--table-hover);
  --color-sf-content-bg-color-pressed: var(--surface-subtle);
  --color-sf-content-bg-color-selected: var(--primary-soft);
  --color-sf-content-bg-color-dragged: var(--primary-soft);
  --color-sf-content-bg-color-focus: var(--primary-soft);
  --color-sf-flyout-bg-color: var(--surface);
  --color-sf-flyout-bg-color-hover: var(--table-hover);
  --color-sf-flyout-bg-color-pressed: var(--surface-subtle);
  --color-sf-flyout-bg-color-selected: var(--primary-soft);
  --color-sf-flyout-bg-color-focus: var(--surface);
  --color-sf-table-bg-color-hover: var(--table-hover);
  --color-sf-table-bg-color-pressed: var(--surface-subtle);
  --color-sf-table-bg-color-selected: var(--primary-soft);
  --color-sf-content-text-color: var(--text-primary);
  --color-sf-content-text-color-alt1: var(--text-secondary);
  --color-sf-content-text-color-alt2: var(--text-secondary);
  --color-sf-content-text-color-alt3: var(--text-muted);
  --color-sf-placeholder-text-color: var(--text-muted);
  --color-sf-icon-color: var(--text-secondary);
  --color-sf-border-light: var(--border-light);
  --color-sf-border: var(--border);
  --color-sf-border-dark: var(--border);
  --color-sf-border-alt: var(--text-muted);
  --color-sf-flyout-border: var(--border);
  --color-sf-spreadsheet-gridline: var(--border-light);
}

html[data-bdc-theme="brite"]:not([data-bdc-theme="default"]),
html[data-bdc-theme="solar"]:not([data-bdc-theme="default"]) {
  --color-sf-primary-text-color: #172033;
}

html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid {
  background-color: var(--surface);
  border-color: var(--border);
  color: var(--text-primary);
}

html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-gridheader,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-headercell,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-detailheadercell {
  background-color: var(--table-head-bg);
  color: var(--text-secondary);
  border-color: var(--border);
}

html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-headercelldiv,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-headertext {
  color: var(--text-secondary);
}

html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-gridcontent,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-rowcell,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-pager,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-toolbar {
  background-color: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-pager .e-currentitem,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .e-grid .e-pager .e-currentitem:hover {
  background: var(--primary);
  color: var(--color-sf-primary-text-color, #fff);
}

html[data-bdc-theme]:not([data-bdc-theme="default"]) .page-title-icon.bg-gradient-primary,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .card.bg-gradient-primary,
html[data-bdc-theme]:not([data-bdc-theme="default"]) .card.bg-gradient-info {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover)) !important;
}

html[data-bs-theme="dark"] .text-dark {
  color: var(--text-primary) !important;
}

html[data-bs-theme="dark"] .bg-white,
html[data-bs-theme="dark"] .bg-light {
  background-color: var(--surface) !important;
  color: var(--text-primary);
}

html[data-bs-theme="dark"] .btn-outline-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus {
  background: var(--surface-subtle);
  color: var(--text-primary);
  border-color: var(--border);
}

html[data-bs-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-primary);
  --bs-table-border-color: var(--border);
  color: var(--text-primary);
}

/* Durum satırları (FaultReport uyarı satırı ve benzerleri) açık zeminde açık yazı kalmasın. */
html[data-bs-theme="dark"] .table-primary {
  --bs-table-bg: #1e3a5f;
  --bs-table-striped-bg: #24456c;
  --bs-table-hover-bg: #274872;
  --bs-table-active-bg: #274872;
  border-color: #3d6494;
}

html[data-bs-theme="dark"] .table-secondary {
  --bs-table-bg: #3a4148;
  --bs-table-striped-bg: #404850;
  --bs-table-hover-bg: #464e56;
  --bs-table-active-bg: #464e56;
  border-color: #5c656e;
}

html[data-bs-theme="dark"] .table-success {
  --bs-table-bg: #1a4332;
  --bs-table-striped-bg: #1e4c39;
  --bs-table-hover-bg: #21543e;
  --bs-table-active-bg: #21543e;
  border-color: #2f7a58;
}

html[data-bs-theme="dark"] .table-info {
  --bs-table-bg: #143e4a;
  --bs-table-striped-bg: #174857;
  --bs-table-hover-bg: #1a5160;
  --bs-table-active-bg: #1a5160;
  border-color: #2a7a8e;
}

html[data-bs-theme="dark"] .table-warning {
  --bs-table-bg: #5c4816;
  --bs-table-striped-bg: #675116;
  --bs-table-hover-bg: #735b1c;
  --bs-table-active-bg: #735b1c;
  border-color: #8a6d22;
}

html[data-bs-theme="dark"] .table-danger {
  --bs-table-bg: #5c242b;
  --bs-table-striped-bg: #672830;
  --bs-table-hover-bg: #722d36;
  --bs-table-active-bg: #722d36;
  border-color: #8f3d46;
}

html[data-bs-theme="dark"] .table-light {
  --bs-table-bg: var(--surface-subtle);
  --bs-table-striped-bg: var(--surface-subtle);
  --bs-table-hover-bg: var(--table-hover);
  --bs-table-active-bg: var(--table-hover);
  border-color: var(--border);
}

html[data-bs-theme="dark"] .table-primary,
html[data-bs-theme="dark"] .table-secondary,
html[data-bs-theme="dark"] .table-success,
html[data-bs-theme="dark"] .table-info,
html[data-bs-theme="dark"] .table-warning,
html[data-bs-theme="dark"] .table-danger,
html[data-bs-theme="dark"] .table-light {
  --bs-table-color: var(--text-primary);
  --bs-table-striped-color: var(--text-primary);
  --bs-table-hover-color: var(--text-primary);
  --bs-table-active-color: var(--text-primary);
  --bs-table-accent-bg: transparent;
  color: var(--text-primary);
}

html[data-bs-theme="dark"] .table > :not(caption) > * > *.table-primary,
html[data-bs-theme="dark"] .table > :not(caption) > * > *.table-secondary,
html[data-bs-theme="dark"] .table > :not(caption) > * > *.table-success,
html[data-bs-theme="dark"] .table > :not(caption) > * > *.table-info,
html[data-bs-theme="dark"] .table > :not(caption) > * > *.table-warning,
html[data-bs-theme="dark"] .table > :not(caption) > * > *.table-danger,
html[data-bs-theme="dark"] .table > :not(caption) > * > *.table-light,
html[data-bs-theme="dark"] .table > :not(caption) > *.table-primary > *,
html[data-bs-theme="dark"] .table > :not(caption) > *.table-secondary > *,
html[data-bs-theme="dark"] .table > :not(caption) > *.table-success > *,
html[data-bs-theme="dark"] .table > :not(caption) > *.table-info > *,
html[data-bs-theme="dark"] .table > :not(caption) > *.table-warning > *,
html[data-bs-theme="dark"] .table > :not(caption) > *.table-danger > *,
html[data-bs-theme="dark"] .table > :not(caption) > *.table-light > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-primary > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-secondary > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-success > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-info > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-warning > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-danger > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-light > * {
  background-color: var(--bs-table-bg) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .table-hover > tbody > tr.table-primary:hover > *,
html[data-bs-theme="dark"] .table-hover > tbody > tr.table-secondary:hover > *,
html[data-bs-theme="dark"] .table-hover > tbody > tr.table-success:hover > *,
html[data-bs-theme="dark"] .table-hover > tbody > tr.table-info:hover > *,
html[data-bs-theme="dark"] .table-hover > tbody > tr.table-warning:hover > *,
html[data-bs-theme="dark"] .table-hover > tbody > tr.table-danger:hover > *,
html[data-bs-theme="dark"] .table-hover > tbody > tr.table-light:hover > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-primary:hover > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-secondary:hover > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-success:hover > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-info:hover > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-warning:hover > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-danger:hover > *,
html[data-bs-theme="dark"] div.dataTables_wrapper table.dataTable > tbody > tr.table-light:hover > * {
  background-color: var(--bs-table-hover-bg) !important;
  color: var(--text-primary) !important;
}

html[data-bs-theme="dark"] .badge.bg-warning,
html[data-bs-theme="dark"] .badge.bg-info,
html[data-bs-theme="dark"] .badge.bg-light,
html[data-bs-theme="dark"] .bg-warning.text-dark,
html[data-bs-theme="dark"] .bg-info.text-dark,
html[data-bs-theme="dark"] .bg-light.text-dark {
  color: #172033 !important;
}

html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .list-group-item {
  background-color: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

html[data-bs-theme="dark"] .dropdown-item {
  color: var(--text-primary);
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

html[data-bs-theme="dark"] .bdc-sidebar-search .input-group-text,
html[data-bs-theme="dark"] .bdc-sidebar-search .form-control,
html[data-bs-theme="dark"] .bdc-sidebar-search .btn {
  background: var(--control-bg);
  border-color: var(--border);
  color: var(--text-primary);
}

html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length label,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter label {
  color: var(--text-secondary);
}

html[data-bs-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%);
}
