﻿
[data-theme="dark"] :is( 
    [style*="background:#fff"], 
    [style*="background: white"] 
) {
    background-color: var(--surface) !important;
}

[data-theme="dark"] :is(
    [style*="color: white"]
)
{
    color: var(--text) !important;
}

[data-theme="dark"]
:is([style*="background-color:white"]) {
    background-color: var(--bg) !important;
}
[data-theme="dark"]
:is([style*="background-color:#fffff"])
 {
    background-color: var(--bg) !important;
}

[data-theme="dark"] :is( [style*="background-color: #b4d3ed80"] ) {
    background-color: var(--headline-bg-color) !important;
    color: var(--text-color) !important;
}
[data-theme="dark"] :is( [style*="color:#4C597F"] ) {
    color: var(--text-color) !important;
}

[data-theme="dark"] mark {
    color: #e0e0e0 !important; /* Light text color for dark mode */
    background: #444 !important; /* Dark background for dark mode */
}

[data-theme="dark"] .form-control {
    background-color: #444 ; /* Dark background */
    color: #e0e0e0 !important; /* Light text color */
}
[data-theme="dark"] .form-control:not(.changeServices, #UserList) {
    margin-bottom: 5px !important;
}
[data-theme="dark"] .form-control:not(.error) {
    border: 1px solid #555 !important; /* Darker border color */
}

[data-theme="dark"] body .text-info {
    color: var(--text-color) !important;
}

[data-theme="dark"] .modal-body {
    background-color: var(--bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border) !important;
}

[data-theme="dark"] .modal-header {
    background-color: var(--content-bg-color) !important;
    background-image: none !important;
    border-color: var(--border) !important;
}
[data-theme="dark"] .bg-primary:not(.bg-table-head, .chat-header) {
    background-color: var(--headline-bg-color) !important;
}
[data-theme="dark"] .bg-table-head {
    background-color: var(--bg-color) !important;
}
[data-theme="dark"] .jstree-hovered {
    background-color: var(--dropdown-item-hover-bg-color) !important;
}
[data-theme="dark"] .jstree-wholerow-hovered {
    background-color: var(--dropdown-item-hover-bg-color) !important;
}
[data-theme="dark"] .jstree-wholerow-hovered {
    background-color: var(--dropdown-item-hover-bg-color) !important;
}
[data-theme="dark"] #DirContent .jstree-anchor {
    color: #d4d4d4;
}
[data-theme="dark"] #DirContent .jstree-anchor:hover {
    background-color: #2a2a2a;
}
[data-theme="dark"] #DirContent .jstree-wholerow-clicked {
    background-color: var(--dropdown-item-hover-bg-color) !important;
}

[data-theme="dark"] #DirContent .jstree-wholerow {
    background: transparent;
}
[data-theme="dark"] .form-group {
    color: #e0e0e0 !important; /* Light text color */
}
[data-theme="dark"] .ui-widget-content {
    border-color: var(--border-color) !important;
    background-color: var(--navbar-bg-color) !important;
    background: none;
    color: var(--text-color) !important;
}
[data-theme="dark"] .nav > li > a:focus, [data-theme="dark"] .nav > li > a:hover {
    background-color: var(--headline-bg-color) !important;
}

[data-theme="dark"] hr {
    border-color: var(--border-color) !important;
}
[data-theme="dark"] .btnTiny {
    background: var(--navbar-bg-color) !important;
}
[data-theme="dark"] a.btnTiny:hover {
    background-color: #121212 !important;
}
[data-theme="dark"] .material-switch > label::before {
    background: #655;
    box-shadow: inset 0px 0px 10px #444;
}
[data-theme="dark"] .material-switch > label::after {
    background: #555;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .blackText {
    color: var(--text-color) !important;
}
[data-theme="dark"] #tbodychilditems input, [data-theme="dark"] #tbodychilditems select {
    background-color: #444 !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
}
[data-theme="dark"] input[type="checkbox"] {
    accent-color: #38bdf8 !important;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="datetime"],
[data-theme="dark"] input[type="datetime-local"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] input[type="month"],
[data-theme="dark"] input[type="time"],
[data-theme="dark"] input[type="week"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="color"],
[data-theme="dark"] select,
[data-theme="dark"] .uneditable-input {
    background-color: #444 ; /* Dark background */
    color: #e0e0e0 ; /* Light text color */
}

[data-theme="dark"] input:not(.error)[type="text"],
[data-theme="dark"] input:not(.error)[type="password"],
[data-theme="dark"] input:not(.error)[type="datetime"],
[data-theme="dark"] input:not(.error)[type="datetime-local"],
[data-theme="dark"] input:not(.error)[type="date"],
[data-theme="dark"] input:not(.error)[type="month"],
[data-theme="dark"] input:not(.error)[type="time"],
[data-theme="dark"] input:not(.error)[type="week"],
[data-theme="dark"] input:not(.error)[type="number"],
[data-theme="dark"] input:not(.error)[type="email"],
[data-theme="dark"] input:not(.error)[type="url"],
[data-theme="dark"] input:not(.error)[type="search"],
[data-theme="dark"] input:not(.error)[type="tel"],
[data-theme="dark"] input:not(.error)[type="color"],
[data-theme="dark"] .uneditable-input:not(.error) {
    border: 0.12rem solid #777 !important;
}

/*[data-theme="dark"] select:not(.error, .acSelector)
{
    border: 0.12rem solid #777 !important;
}*/
[data-theme="dark"] select
{
    border: 0.12rem solid #777;
}

[data-theme="dark"] .fc-list-empty {
    background-color: #444 !important;
}

[data-theme="dark"] input.btn,
[data-theme="dark"] a.btn,
[data-theme="dark"] a.btn:link,
[data-theme="dark"] a.btn:visited
{
    background: #444 !important; 
   
}
[data-theme="dark"] input.btnTiny,
[data-theme="dark"] a.btnTiny:link,
[data-theme="dark"] a.btnTiny:visited {
    color: #0085ad !important;
}
[data-theme="dark"] #dawEquipmentNavigation,
[data-theme="dark"] #dawEquipmentNavigation ul,
[data-theme="dark"] #dawEquipmentNavigation ul li,
[data-theme="dark"] #dawEquipmentNavigation ul li a {
    color: var(--text-color) !important;
}
[data-theme="dark"] .rounded-border-blue {
    border-color: var(--border-color) !important;
}
[data-theme="dark"] #Docjstree .jstree-clicked {
    background: #626465 !important;
}
[data-theme="dark"] .scrollBox {
    background: var(--content-bg-color) ;
  
}
[data-theme="dark"] .scrollableTable-container {
    border-color: var(--border-color) ;
}
[data-theme="dark"] .dark-mode-bg {
    background-color: #444 !important;
}
[data-theme="dark"] .chat-body {
    background-color: var(--content-bg-color);
}
[data-theme="dark"] .chat-footer, [data-theme="dark"] .chat-header {
    background-color: #100f0f80;
    border: var(--border-color);
}
[data-theme="dark"] .chat-message {
    background: #676465;
}
[data-theme="dark"] .playListHeader {
    background-color: var(--navbar-bg-color) !important;
}
[data-theme="dark"] .videoList-item {
    background-color: var(--headline-bg-color);
}
[data-theme="dark"] button {
    background: #444 ;
}
[data-theme="dark"] #tbodyAircraft .Red {
    color: #fff !important;
}
[data-theme="dark"] #toolNotePreview {
    background: var(--bg-color) !important;
}

[data-theme="dark"] .BidItems a:link,
[data-theme="dark"] .BidItems a:visited,
[data-theme="dark"] #tbodyItemsListing a:link,
[data-theme="dark"] #tbodyItemsListing a:visited {
    color: #04c5ff;
}

[data-theme="dark"] .dark-a-tabs .ui-widget-content a {
    color: var(--text-color);
}

[data-theme="dark"] #itemListView tr td.bg-primary {
    background-color: #063b68 !important;
}

[data-theme="dark"] #pagination a:link, [data-theme="dark"] #pagination a:visited {
    color: #42d1fc !important;
}
/*[data-theme="dark"] .dark-list-group-item .list-group-item a:link {
    color: #42d1fc !important;
}*/


   
