body{
    overflow:hidden;
    font-family: 'Open Sans', sans-serif;
    padding:0px;
    margin:0px;
}

/*<-----------------Filter  AlertBox Css--------------->*/

.button-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.button-group button {
    padding: 10px 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin: 10px;
}
.button-group button:hover {
    cursor: pointer;
    box-shadow: 0 0 10px 0 #ccc;
}
.dialog-container {
    position: absolute;
    left: 50%;
    top: -30%;
    transform: translateX(-50%) translateY(-50%);
    width: 400px;
    background: #0A0C11;
    padding: 7px;
    border: 2px solid #ddd;
    box-shadow: 1px 1px 5px 1px #ccc;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.3s linear 0s;
}
.dialog-header {
    padding:5px 10px;
    font-size:1vw;
    border-radius: 3px;
    background: #E94B52;
    color: #f6f7f8;
}
.dialog-body {
    padding: 15px 10px;
    line-height: 30px;
    color: #fff;
}
.dialog-footer {
    text-align: center;
    font-size:1vw;
    color: #f6f7f8;
    padding: 3px 0;
}
.dialog-footer a {
    display: inline-block;
    width: 5vw;
    padding: 5px 0;
    border-radius: 3px;
    background: #e94b52;
    color: #fff;
    cursor: pointer;
}
.dialog-footer a:active {
    box-shadow: inset 2px 2px 4px 0 #ccc;
    color:  #fff;
}

/*<-----------------Filter Css--------------->*/
#nav-date {
    min-height: 51.8vh;
}

.search_filter{
    background:  #fff;
    width:98%;
    border: 1px solid #dbd9d9;
    color:#0A0C11;
    padding:5px 10px;
    font-size:0.9vw;
}
body.dark-mode .search_filter {
    color: #e0e0e0;
    background: #424242;
    border: 1px solid #555;
}

.filter_modal-content {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #dee2e6;
    overflow: hidden;
}
#myModal .row.mx-1 {
    background-color: #f8f9fa; /* Light gray for the sidebar */
}
.filter-name {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #495057; /* Dark text for light mode */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
body.dark-mode .filter_modal-content {
    background: #1e1e1e;
    border: 1px solid #444;
}
body.dark-mode #myModal .row.mx-1 {
    background-color: #2a2a2a; /* Dark gray for sidebar */
}
body.dark-mode #myModal .tab-content {
    background-color: #1e1e1e; /* Dark background for content area */
}
body.dark-mode .filter-name {
    color: #adadad; /* Light text for dark mode */
}
body.dark-mode .filter_modal-content {
    background: #1e1e1e;
    border-radius: 18px;
    border: 1px solid #444;
    overflow:hidden;
}
#myModal .row.mx-1 {
    background-color: #f8f9fa; /* Light gray for the sidebar */
}

#myModal .tab-content {
    background-color: #fff;
    border-top-right-radius: 18px;
}
body.dark-mode .modal-content{
    background:#292828;
}
.tableWrap2{
    height:47vh; overflow: auto;
}

.dt-paging-button{ font-size:0.9vw !important; }

.dt-layout-cell{ margin:0px; display:inline-block;}

select .dt-input{ width:50%;}
.dt-input{ font-size:0.9vw !important; padding:2px 8px !important; }
.dt-layout-row{margin:0px;}
.dt-info{  font-size:0.9vw !important;}
.dt-column-order{display:none;}

body.dark-mode .dt-input{
    background:#424242 !important;
    color:white !important;
}
/*<-----------------Top Header Css--------------->*/
.DJ-main-heading{
    font-size:1vw;
}

.input-field {
      max-width: 40vw;
      width: 100%;
      background-color: #f0f0f0;
      margin: 10px 0;
      border-radius: 5px;
      display: grid;
      border:1px solid #ccc;
      grid-template-columns: 15% 85%;
      position: relative;
}

.input-field i {
  text-align: center;
  line-height: 55px;
  color: #acacac;
  transition: 0.5s;
  font-size: 1.1rem;
}

.input-field input {
  background: none;
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 600;
  font-size: 1rem;
  color: #6c757d;
}

.input-field input::placeholder {
  color: #aaa;
  font-weight: 500;
}

.login-main-div {
    height: 60%;
    width: 280px;
    right:7%;
    top: 15%;
    display: flex;
    align-items: start;
    justify-content: right;
    position: fixed;
    z-index: 2;
    color:  #fff;
}

#login_button {
    border: 1px solid #E62F6E;
    width: 17.2vw;
    margin:2% 0px;
    padding:2%;
    background-image: linear-gradient(to bottom right, #E94B52, #E62F6E);
    border-radius:5px;
}

#login_button:hover {
    background: #E62F6E;
    color: #0A0C11;
}

.Jam-heading{
    font-size:27px;
    color:#e40000;
    font-weight:500;
    margin:6% 1px;
}

.jam-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2%;
    left: 1%;
}

.Welcome {
    background: -webkit-linear-gradient(#E94B52, #E62F6E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
   font-weight: 500;
   font-size: 2.3rem;
}

.jam-text {
    color:#fff;
    position: absolute;
    top: 55%;
    left: 3%;
}

.jam-text span {
    font-size: 55px;
    font-weight: 800;
    top: 50%;
    left: 5%;
}

.jam-text p {
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 500;
}

.ik-h1{
     font-size:1vw;
     font-weight:500;
     color:#e9ecef;
}

.ik-h2{
    font-size:0.9vw !Important;
}

.btn{ font-size:1vw;
    color:#e9ecef;
    background
 }

.modal-btn {
    font-family: 'Nunito', sans-serif;
    font-size: 1vw;
    color:  #fff !important;
    background: #e94b52;
}

.get-info{
    font-size:0.8vw !Important;
    border:1px solid #0A0C11;
    box-shadow:2px 2px 2px #0A0C11;
}

.ik-btn{
    font-size:1vw;
    margin-top:10px;
}

.ik-btn2{
    width:150px;
    padding-top:0px;
    margin:0px;
}

.ik-txt-head{
    color:#e9ecef;
    font-size:1vw;
}

.ik-txt{
    font-size:0.8vw;
}
body.dark-mode .ik-txt{
    color:white !important;
}

.ik-txt2{
    font-size:0.9vw;
}

.ik-txt3{
    font-size:1vw;
}

/*<-----------------Toast CSS--------------->*/

.ik-bg-color{
    font-size:1vw;
    background: var(--ik-bg-color);
    color: var(--ik-white);
}

.btn-close{ font-size:10px; }

.toast-header{
    font-size:1vw;
    padding:0px;
    color:#000;
    border:none !important;
}

.ik-toast{
    padding:10px;
    border-radius:5px;
    width:30vw;
}

.ik-toast-body p{
    font-size:1vw;
    padding:1px ;
    margin:0px;
    border:none;
    background:#dbede5 !important;
    font-weight: bold;
}

.ik-msg-alert {
    position: absolute;
    bottom: 16%;
    right: 0%;
    width: 30vw;
    z-index: 1050;
}


/*<-----------------Modal CSS--------------->*/

.modal-header{
    background: #e94b52;
    padding:10px 10px;
    text-align:center;
    border-bottom:1px solid #adadad;
}
/* Changes the color of the separator lines in the filter list */
body.dark-mode .tableWrap2 .slProject {
    border-bottom: 1px solid #424242 !important;
}
.modal-title{
    color:#fff;
    font-size:1vw;
    text-align:center;
}
body.dark-mode .modal-title{
    color:#fff;
}

.modal-body{
    background: #fff;
    color:#000;
}
body.dark-mode .modal-body{
    background:#292828;
    color:#adadad;
}

.modal-action-btn {
    width: 50%;
}
.modal-footer form {
    display: flex;
    justify-content: center;
    width: 100%;
}
.modal-footer{
    background: #fff;
    padding:4px 10px;
    border:none;
    display:flex;
    justify-content: center;
}
#myModal .p-2 {
   padding-top: 0.75rem !important;
   padding-bottom: 0.75rem !important;
   background: #e94b52;
   border-bottom: none !important;
}
body.dark-mode .modal-footer{
    background:#292828;
    background-color: #1e1e1e;
    padding: 0.75rem;
}
#apply_btn {
    background: #E94B52;
    color: white;
    border: none;
    width: 50%;
}
#clear_btn{
    color:white !important;
}

/*.modal-dialog{
    position: relative;
    margin-top:0%;
    animation: mymove 1s linear;
    margin: 4rem 1.5rem 1.5rem auto;
}*/
/* Positions the Filter modal on the TOP RIGHT */
#myModal .modal-dialog {
    position:relative;
    margin-top:15vh;
    max-width:550px;
    width:90%;
}
#addModal .modal-dialog {
    margin-top: 4rem;
}
/* Positions the Download modal on the TOP LEFT */
#EditModal .modal-dialog {

    max-width: 900px;
    width: 100%;
}
.daterangepicker {
    left: 470.539px !important; /* Forces the left position to your specified value */
}

@keyframes mymove {
   from {top: -40%;}
   to {top: 0%;}
}

.graph_border{
    background: #fff;
    border:1px solid #ccc;
    border-radius:2px;
    padding:5px;
}
body.dark-mode .graph_border {
    background: #292828;
    border:1px solid #ccc;
    border-radius:6px;
    padding:5px;
}
#table-scroll{
    background: #fff;
    height:40vh;
    border:1px solid #ccc;
    border-radius:5px;
    padding:0px 5px;
}
body.dark-mode #table-scroll{
    background: #292828;
}
.table-condensed tbody tr td{
    font-size:0.8vw !important;
    padding:0px;
    margin:0px;
}
body.dark-mode tbody tr td{
     border-bottom: 1px solid #424242 !important;
}

.daterangepicker td.in-range{
    background-color:#357ebd;
};

.daterangepicker td.in-range {
    background-color:#357ebd;
};


.white-text-row { color:  #fff;}
.filter_color {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.option {
    margin-bottom: 10px;
}

#selected-content {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

.selected-item {
    display: inline-block;
    justify-content:center;
    padding:3px 10px;
    font-size:0.8vw;
    border: 1px solid #ddd;
    border-radius:50px;
    margin-right: 5px;
}

.selected-item span {
    margin-right: 5px;
}

.remove-icon {
    cursor: pointer;
}

#device_number{
    max-height:22px;
}

#table-container tr td{
 border:none;
 font-size:0.8vw;
}

.tableWrap2 .col-lg-12{
    margin : 0px;
    padding : 0px;
}

.selectedProject{
    margin-left: 12px;
    color:#0A0C11;
    width: fit-content; /* Adjust the width as per the combined width of the icon and text */
    display: flex;
    justify-content: space-between; /* Adjust alignment if needed */
    align-items: center;
}

.selectProjectValue{
    font-size: 10px;
    margin-top : 24px;
}

.project_remove{
   font-size: 10px;
   display: inline-block; /* Ensure the remove icon and text are displayed in a single row */
   margin-left: 5px;
}

.dashboard-box{
    background:#fff;
    color:#14191e;
    display:flex;
    align-items:center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height :12vh;
    border-radius:5px;
    padding:5px 0px;
}
body.dark-mode .dashboard-box{
    background:#292828;
    color:#fff;
    display:flex;
    align-items:center;
    border:1px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height :12vh;
    border-radius:5px;
    padding:5px 0px;
}
.dashboard-box:hover {
  transform: scale(1.05);
  box-shadow:2px 2px 3px 2px #6c757d;
}



/*<-----------------Common Css--------------->*/

.material-symbols-outlined:hover{ color:#fff;}

.DJ-font{ font-size:0.8vw; }

::-webkit-scrollbar { display: none; }

.top-row-color{
    background:#E94B52;
    position:absolute;
    width:96%;
    height:6vh;
    color:#fff;
    font-family: 'Open Sans', sans-serif;
}

.datajam-light{ color:#fff;}

.datajam-light:hover{ color:#fff;}

.datajam-danger{ color:#E94B52;}

.datajam-success{ color:#78C534;}

.datajam-bg-success{ background-color:#78C534;}

.datajam-bg-info{ background-color:#15E0BC;}

input{
    color:#0A0C11;
    border-radius:4px;
    border:1px solid #0A0C11;
    background: #fff;
    margin-left:.5em;
}

.Action-Icon{
    border:none;
    background:none;
    color:#0A0C11;
    padding:0px;
}
body.dark-mode .Action-Icon{
    color:#fff;
}

.text-cente{ margin-top:20%;}

.size{width:25%;}

.common{width:10%;}

.token-hover:hover { overflow: visible; }

.token-hover{
     max-width: 100px;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
    }

.nav-a{
     align:middle;
     padding:0px;
     display:block;
     font-size:54px;
}

.top-nav{
    /*    color:#E94B52; */
    font-size:1vw;
    margin-top:6px;
    padding:7px 0px;
    font-family: 'Open Sans', sans-serif;
}
body.dark-mode .top-nav2{
    letter-spacing:-0.005em;
    font-family: 'Open Sans', sans-serif;
    font-weight:bold;
    font-size:1.3vw;
    color: #fff;
}
.side-nav-div1{
    background: #fff;
    color:#0A0C11;
    height:96vh;
    position:relative;
    width:6%;
    display:flex;
    padding:5px 0px;
    margin-top:-5px;
    font-family: 'Open Sans', sans-serif;
}

.container-fluid{ position:absolute; top:4% !important;}

 .menu-txt-hld{
    height:8vh;
    width:6vw;
    display:flex;
    padding-top:0px;
    border-bottom:1px solid #ccc;
    justify-content:center;
}
body.dark-mode .menu-txt-hld{
    border-bottom: 1px solid #000;
}
.menu-txt-hld:hover{
    background :#ccc;
    transform:scale(1.05);
}
body.dark-mode .menu-txt-hld:hover{
    background :#000;
    transform:scale(1.05);
}

 .sub-myList{
    list-style:none;
    color: #fff;
    font-size:1vw;
    font-weight:bold;
    width:150px;
    position:absolute;
    position:relative;
    text-align:center;
    left:-98px;
}

.menu-icon{
    font-size:1.3vw;
    text-align:center;
}

.nav-link{
    font-size:0.8vw;
    text-align:center;
    padding:5px 0px;
}

.sidebar-text{
    font-style: normal;
    font-size:0.8vw;
    top:1px;
    font-family: 'Open Sans', sans-serif;
}

.right-container{
    background:#ccc;
    width:94%;
    padding-top:2%;
    margin-bottom:2%;
}
body.dark-mode .right-container{
    background:#000;
    width:94%;
    padding-top:2%;
    margin-bottom:2%;
}
.nav-ul{
    align-items:center;
    flex-direction:column;
    margin-bottom:0px;
    position:fixed;
}

.form-label{
      font-size:0.9vw;
      margin:0px;
      color:#0A0C11;
   }
   body.dark-mode .form-label{
    color:#adadad
   }

.form-control{
      color:#0A0C11;
      font-size:0.8vw;
      background: #fff;
      margin-left:0px;
      input::placeholder { color: #292c31 !important; }
}
body.dark-mode .form-control{
    background: #424242 !important;
    color: white !important;
}

.form-select {
    appearance: none;
    margin-right: 19px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNMyA2bDYgNiA2LTZ6IiBmaWxsPSIjMDAwIi8+Cjwvc3ZnPg==');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 13px 13px;
    color: #0A0C11;
    font-size: 0.8vw;
}
#chartTypeSelector {
  height: 23px;          /* or even 24px */
  font-size: 10px !important;       /* smaller text */
  padding: 2px 8px;      /* less padding */
  line-height: 1.2;
}
body.dark-mode .form-select{
    background: #424242;
    color: white;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNMyA2bDYgNiA2LTZ6IiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 13px 13px;
}

table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td { padding:0px !important;}

.DJam-th{
    color:#fff;
    vertical-align: middle;
    background: #e94b52;
    border-bottom: 1px solid #bbc4cb;
}

.DJam-tr2{
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8vw;
    border-bottom: 1px solid #bbc4cb;
    vertical-align: top;
}

.DJam-tr2 td{
    padding:0px;
}
body.dark-mode .DJam-tr2{
    color:#fff;
    border-bottom: #424242;
}

.top-button button i{
    font-size:1.5vw;
    color: #000;
}
body.dark-mode .top-button button i{
    font-size:1.5vw;
    color: #fff;
}

.top-button{
    display:flex;
    justify-content:space-between;
    z-index:99;
    box-shadow:none;
    position:absolute;
    width:93%;
    height:5vh;
    left:7.4%;
    top:-1%;
}

/*<-----------------table css responsive--------------->*/

::-webkit-scrollbar { width:2px;}

::-webkit-scrollbar-thumb {
  display:block;
   background: #fff;
    border-radius: 10px;
}

.tableWrap .col-lg-12{
    padding:0px;
    background: #fff;
}
body.dark-mode .tableWrap .col-lg-12{
    background:#292828;
}

.tableWrap {
  height:82vh;
  overflow-x: hidden;
  padding:0px;
  background: #fff;
  margin:0px 0px;
  border-radius:1px 2px 5px 5px;
  border:none;
}

body.dark-mode .tableWrap{
    background:#424242;
}

.table-header{
    margin-bottom:0px;
}

td{
    font-family: 'Open Sans', sans-serif;
    font-size:0.8vw;
    vertical-align: middle;
}

label{
font-size:0.9vw;
}

.table-condensed thead tr{
    background: transparent !important;
    color:#000;
}

thead tr {
    color:#fff;
    vertical-align: top;
    background: #e94b52 !important;
    border-bottom: 1px solid #bbc4cb;
}

thead tr th {
  position: center;
  font-size:0.9vw;
  top: 0;
  font-weight: 500 !important;
}

.audit_table_data > tr > td{font-size:clamp(0.8vw, 0.8vw, 1rem);}

table.dataTable > thead > tr > th{
    padding:4px 1px !important;
}

body.dark-mode thead tr th {
  position: sticky;
  /*border: 1px solid #fff;*/
  top: 0;
}
.container-fluid{margin-top:1vh;}

thead tr { height:25px; vertical-align:top; background:#fff;}
body.dark-mode thead tr{
    height:25px; vertical-align:middle; background:#424242;
}
#audit_head{
    color:#000;
}
body.dark-mode #audit_head{
    color: #e94b52;
}
#audit_data{
    color: #000;
}
body.dark-mode #audit_data{
    color: #fff;
}
/*<-----------------Mobile-display-None--------------->*/

#message { display: none; }

@media (max-width: 1020px){

#demo { display: none;}

.right-container{ width:94%; }

.side-nav-div2{ width:6%; }

.common-body{ display:none; }

#message { display: block; }
}

@media (min-width: 1400px) {
    .sidebar-text{ font-size:0.8vw !important;}
    .top-nav span{ font-size:0.8vw !important; }
    .top-nav{ font-size:0.6vw !important; }
    .DJ-font{ font-size:0.8vw !important; }

    .dataTables_info{ font-size:0.9vw !important; }

    .paginate_button{ font-size:0.9vw !important; }

    .dt-paging-button{ font-size:0.9vw !important; }

    .dt-input{ font-size:0.9vw !important;}

    .dt-info{  font-size:0.9vw !important;}

    .modal-xl { max-width: 80vw !important; }
    .modal-lg { max-width: 60vw !important; }
}

body.dark-mode {
    background-color: #292828;
    color: #e0e0e0;
}

.navbar-responsive.dark-mode {
    background-color: #1f1f1f !important;
}

.dark-mode .nav-link {
    color: #e0e0e0 !important;
}

.dark-mode .dropdown-menu {
    background-color: #2c2c2c !important;
    color: #e0e0e0;
}
/* Icon color in light theme */
#theme-icon {
    color: #fff;
    transition: color 0.3s ease;
}

/* When dark mode is active */
body.dark-mode #theme-icon {
    color: #fff;
}
/* Sidebar dark background */
body.dark-mode .side-nav-div1 {
    background-color: #292828 !important;
}

/* Sidebar text and icons */
body.dark-mode .nav_link,
body.dark-mode .sidebar-text,
body.dark-mode .menu-icon {
    color: #e0e0e0 !important;
}

/* Active tab in dark mode
body.dark-mode .menu-txt-hld.active {
    background-color: #333 !important;
} */

/* Hover effect for better UX
body.dark-mode .menu-txt-hld:hover {
    background-color: #2a2a2a !important;
} */

.navbar-nav {
    background-color: #ffffff;
}
        /* Dark theme override */
body.dark-mode .navbar-nav {
    background-color: #292828 !important; /* or #1e1e1e for dark gray */
}


/* NAV TABS STYLING */
.nav-tabs {
  border-bottom: none;
  justify-content: center;
  gap: 1rem;
}

ul.nav-tabs {
  justify-content: center !important;
  width: 100%;
}

.nav-tabs .nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 0.1rem !important;
  padding: 3px 10px !important;
  border: none;
  color: #bbb;
  margin-top:15px !important;
  font-size: 0.85rem !important;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 5px;
}
.nav-tabs .nav-item .nav-link span {
  font-size: 0.8rem; /* You can try 1.1rem or 14px if needed */
  margin-top:4px;
  display: inline-block;
}
.nav-tabs .nav-item .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Active Tab */
.nav-tabs .nav-item .nav-link.active {
  color: #FF4c4c !important;
  background-color: rgba(255, 76, 76, 0.08) !important;
  font-weight: bold !important;
  border: 1px solid #ff4c4c !important;
}

/* Remove underline */
.nav-tabs .nav-item .nav-link.active::after {
  display: none !important;
}
#datajam-portal {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
}


#proj_name::placeholder{
    color: #adadad;
}
body.dark-mode #proj_name::placeholder{
    color: #d6d4d4;
}

body.dark-mode #location_ref::placeholder{
    color: #d6d4d4;
}
body.dark-mode #frame_id::placeholder{
    color: #d6d4d4;
}
body.dark-mode #device_name::placeholder{
    color: #d6d4d4;
}


body.dark-mode #ProjectList .slProject button{
    color: white !important;
}
body.dark-mode #device_list .slProject button{
    color: white !important;
}
body.dark-mode #frameId_list .slProject button{
    color: white !important;
}
body.dark-mode #location_list .slProject button{
    color: white !important;
}
body.dark-mode #customerList .slProject button{
    color: white !important;
}


#chartTypeSelector.form-select.form-select-sm {
    font-size: 0.85rem;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    background-color: #f8f9fa; /* light theme */
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
}

body.dark-mode #chartTypeSelector.form-select.form-select-sm {
    background-color: #424242;
    color: #e0e0e0;
    border: 1px solid #555;
}


body.dark-mode select,
body.dark-mode select option {
    background-color: #2b2b2b;
    color: #ffffff;
}


/* DateRangePicker - dark mode overrides */
body.dark-mode .daterangepicker {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #555;
}

body.dark-mode .daterangepicker td,
body.dark-mode .daterangepicker th {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

body.dark-mode .daterangepicker .calendar-table {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

body.dark-mode .daterangepicker .ranges li {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

body.dark-mode .daterangepicker td.active,
body.dark-mode .daterangepicker td.active:hover {
    background-color: #e94b52;
    color: #fff;
}

body.dark-mode .daterangepicker td.in-range {
    background-color: rgba(233, 75, 82, 0.3); /* lighter red */
    color: #fff;
}

body.dark-mode .daterangepicker .applyBtn {
    background-color: #e94b52;
    border-color: #e94b52;
    color: white;
}

#projectNameItems {
    background:#fff;
}

body.dark-mode #projectNameItems {
    background:#424242;
}

body.dark-mode input[type="date"],
body.dark-mode input[type="time"] {
    background-color: #424242;
    color: #e0e0e0;
    border: 1px solid #555;
}

/* Hint for browser to prefer dark mode picker popup */
body.dark-mode input[type="date"],
body.dark-mode input[type="time"] {
    background:#424242 !important;
}

body.dark-mode input[type="email"] {
    background-color: #424242;
    color: white !important;
}

#addEmailField input[type="button"] {
    border:none;
}

body.dark-mode #addEmailField input[type="button"] {
    color:white;
    background:none;
    border:none;
}

body.dark-mode #edit_projectNameItems  {
    background:#424242 !important;
    color:white;
}
.dt-length label{ display:none;}


body.dark-mode .ik-toast-body {
    color: black !important;
}