body {
  display: flex;
overflow: hidden;
flex-direction: column;
background-color: #eaf6ff;
text-align: center;overflow-x: hidden;
flex-direction: column;
height: 100vh;
margin: 0;
}
#logoImg {
height: auto;
width: 150px;
margin: -16px 6px;
}
.navbar .user-info span {
margin-right: 10px;
color: white;
}
.navbar .user-icon {
color: white;
cursor: pointer;
}
.navbar {
  color: white;
/* background-color: black; */
background: linear-gradient(160deg, #017b82, #0771b4);
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
position: fixed;
top: 0;
z-index: 2;
border-bottom: 1px solid #e0e0e0;
}
.sidebar {
/* background-color: black; */
position: fixed;
z-index: 1;
top: 4px;
left: 0;
overflow-x: hidden;
padding-top: 20px;
width: 13%;
height: 100vh;
padding: 50px 0px;
transition: transform 0.3s ease;
background: linear-gradient(160deg, #017b82, #0771b4);
font-size: 12px;
text-align: left;
}
.sidebar .nav-link {
color: #ffffff;
cursor: pointer;
}
.sidebar .nav-link:hover {
background-color: rgba(255, 255, 255, 0.2);
}
.sidebar .nav-link.active,
.sidebar .nav-link.selected {
background-color: rgba(255, 255, 255, 0.2);
cursor: default;
border: none;
}
.main-content {
flex-grow: 1;
padding: 20px;
margin-left: 14%;
margin-top: 60px;
transition: margin-left 0.3s ease;
}
.submenu {
display: block; /* Show all submenus by default */
}
.nav-item > .submenu {
padding-left: 20px;
}
.nav-item .nav-link {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-item .nav-link i {
margin-right: 10px;
}
.chevron-icon {
margin-left: auto;
cursor: pointer;
}
.submenu .nav-link {
display: block;
margin-left: 20px;
}
.toggle-sidebar {
display: none;
color: white;
font-size: 24px;
cursor: pointer;
}
#showTotalOrders{
  border: 1px solid #c0c0c0;
    text-align: center;
    height: auto;
    width: auto;
    border-radius: 8px;
    margin: 11% -14%;
    /* background-color: #3096a58f; */
    padding: 5px;
    background-color: #35554f;
    color: white;
}
.process-btn {
  background-color: #cae8c9;
    border: none;
    color: #61a55e;
}
.filter-bar {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 10px;
margin-bottom: 10px;
width: 8%;
margin: 1% 4%;
}
.filter-bar button {
margin-left: 10px;
}
#loadingMessage {
text-align: center;    
font-size: 1.5em;
color: #333;
}
.table-wrapper {
  max-height: 77vh; 
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
}
#filterAndTotal{
  display: flex;
  margin-left: 40%;
}
/* for dark mode */
.dark-mode {
background-color: #141b2d;
color: #999999;
}
.dark-mode .edit-btn {
  background-color: #141b2d;
    border: none;
    color: white;
}
.dark-mode .process-btn {
  background-color: white;
    border: none;
    color: #007413;
    font-weight: 500;
}
.dark-mode #monthYearPicker{
background-color: #29638c;
color: white;
border: none;
}
.dark-mode .table-wrapper{
  scrollbar-color: #29638c #141b2d;
}
.dark-mode #showTotalOrders{
background-color: #29638c;
color: white;
border: none;
}
.dark-mode #filterButton{
background-color: #29638c;
color: white;
border: none;
}
.dark-mode h2{
color: #999999;
}
.dark-mode .pageNos {
  background-color: #120d0d;
    color: white;
}
.dark-mode .previousNext {
    background-color: #29638c;
}
.dark-mode table.thead tr {
    background-color: #29638c;
}
.dark-mode .table tbody tr:hover {
  background-color: #e10505 !important; 
  cursor: pointer;
}

.dark-mode .table tbody tr.selected {
  background-color: #757070 !important;
  outline: 2px solid #000 !important; 
}
.dark-mode .firstRow {
color: white;
border: 1px solid #484b4b;
}
.dark-mode table.table td {
  border-bottom: none;
  background-color: #2c3e50;
  color: #d9d9d9;
}
.dark-mode #expediteS, #dsCall{
  background-color: #0e0c0c;
  border: none;
}
.dark-mode #mainHeading {
    color: #999999;
}
.dark-mode #searchInput {
    background-color: #1f2940;
    color: white;
}
.dark-mode .table-dark.table-bordered {
    border: 0;
    background-color: #2c3e50;
}
.dark-mode .navbar .user-info span, #darkModeIcon, #notificationIcon, #userMenu{
  color: white;
}
.dark-mode .navbar, 
.dark-mode .sidebar {
  background: #1f2940;
  border-color: #333;
  scrollbar-color: #1f2940 #1f2940;
}

.dark-mode .nav-link,
.dark-mode .nav-link i {
color: #b3b3b3 !important;
}

.dark-mode .nav-link:hover,
.dark-mode .nav-link.selected {
background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .main-content {
background-color: #141b2d;
color: #e0e0e0;
scrollbar-color: #29638c #141b2d;
}
.table-dark td, .table-dark th, .table-dark thead th {
    border-color: #454d55;
    background-color: #29638c;
}
#mainHeading {
    color: #037894;
    white-space: nowrap;
    margin-left: -84%;
    text-decoration: underline;
    margin-top: -3%;
}
table.table td {
    overflow: hidden;
    text-overflow: ellipsis;
    color: #106072;
    text-align: left;
    font-size: 13px;
}
h1 {
  font-size: 2rem;
}
#filterButton {
  background-color: #35554f;
    color: white;
    border: none;
}
.edit-btn {
background-color: #96dce1;
    border: none;
    color: #38696c;
}
.process-btn {
  background-color: #cae8c9;
    border: none;
    color: #61a55e;
}
.topHeads{
  display: flex;
}
/* notification */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  display: none; 
}

.notification-dropdown ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  /* border: 1px solid black; */
}
.notification-dropdown ul li {
  padding: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.notification-dropdown ul li:last-child {
  border-bottom: none;
}
#notificationDropdown {
  overflow-y: auto;
  /* padding: 10px; */
  border: 1px solid #ccc;
  background-color: white;
  color: black;
  width: 234%;
  display: none;
  position: absolute;
  top: 50px;
  right: 0px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border: 2px solid black;
}
.matrix-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
  gap: 20px;
  margin-top: 20px;
}

.matrix-box {
  border: 2px solid black;
  background-color: #1a75d1;
  border-radius: 10px;
  padding: 20px;
  color: #ffd700;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.matrix-box h3 {
  text-align: center;
  margin-bottom: 15px;
}

.matrix-box ul {
  list-style: none;
  padding: 0;
}

.matrix-box ul li {
  padding: 5px 0;
}
#viewAlltasks {
  margin: 3% 37%;
    border: none;
    text-decoration-line: underline;
    color: red;
    font-weight: bold;
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); 
/* z-index: 999; */
}
body.modal-active {
overflow: hidden; 
}
/* sorting */
#infoTableHeader {
  position: sticky;
  transform: translateZ(0); 
  overflow-anchor: none;
  top: 0;
  z-index: 10; 
  background-color: #037894; 
  color: white;
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}
th.sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.sort-icons {
  display: inline-block;
  margin-left: 6px;
}

.sort-icons .asc,
.sort-icons .desc {
  font-size: 12px;
  color: #999;
  margin-left: 2px;
}

.sort-icons .active {
  color: #000; /* Bold black or use accent color */
  font-weight: bold;
}