body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: 250px;
  background-color: #3a3f44; /* Greyish blue color */
  color: white;
  border-right: 1px solid #ddd;
  height: 100%;
  overflow-y: auto;
  position: fixed;
  left: 0; /* Start with the sidebar visible */
  transition: width 0.3s;
  z-index: 1000;
  padding-top: 10px; /* Adjusted padding to fit all filters */
}

.sidebar.closed {
  width: 40px; /* Collapse to the size of the toggle button */
  overflow: hidden; /* Hide the filter content */
}

.sidebar .toggle-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  background-color: #3a3f44;
  color: white;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  text-align: center;
  border-radius: 0 5px 5px 0;
  z-index: 1001;
}

.sidebar .filters {
  display: block;
  padding: 10px; /* Add padding to ensure the content is not cut off */
}

.sidebar.closed .filters {
  display: none; /* Hide filters when sidebar is closed */
}

.main-content {
  margin-left: 250px;
  padding: 20px;
  width: calc(100% - 250px);
  height: calc(100% - 120px);
  overflow-y: auto;
  transition: margin-left 0.3s, width 0.3s;
  margin-top: 60px; /* Add space for the header */
  padding-bottom: 60px;
}

.main-content.expanded {
  margin-left: 40px; /* Adjusted to match the collapsed sidebar width */
  width: calc(100% - 40px);
  height: calc(100% - 120px);
  margin-top: 60px; /* Add space for the header */
  padding-bottom: 60px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left; /* Ensure text alignment is consistent */
}

th {
  background-color: #f2f2f2;
  cursor: pointer;
}

label {
  display: block;
  margin: 10px 0;
}

input[type="number"], input[type="text"] {
  width: calc(100% - 12px);
  padding: 5px;
  margin-bottom: 10px;
  border: none;
  border-radius: 3px;
}

.range-container {
  position: relative;
  width: 100%;
  height: 30px;
  margin: 0px 0;
}

.range-slider {
  width: 100%;
  position: relative;
  height: 5px;
  background: blue;
  border-radius: 5px;
}

.range-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: transparent;
  position: absolute;
  pointer-events: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #0ed4d4;
  border: 2px solid white;
  cursor: pointer;
  border-radius: 50%;
  pointer-events: all;
  position: relative;
  z-index: 2;
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #0ed4d4;
  border: 2px solid white;
  cursor: pointer;
  border-radius: 50%;
  pointer-events: all;
  position: relative;
  z-index: 2;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 10px; /* Increase hitbox size */
  cursor: pointer;
}

.range-slider input[type="range"]::-moz-range-track {
  height: 10px; /* Increase hitbox size */
  cursor: pointer;
}

.range-slider .range-track {
  position: absolute;
  height: 0px;
  background: blue;
  border-radius: 0px;
  z-index: 1;
}

/* sort-indicator.css */
th.sort-asc::after {
  content: " ▲";
  font-size: 0.75em;
}

th.sort-desc::after {
  content: " ▼";
  font-size: 0.75em;
}

.multi-select {
  position: relative;
  display: inline-block;
  width: 100%;
}
.multi-select .select-box {
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
}
.multi-select .options-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}
.multi-select .options-container .option {
  padding: 5px;
  cursor: pointer;
  background: #fff;
  color: #000;
  border-bottom: 1px solid #000; /* Thin black line between options */
}
.multi-select .options-container .option:last-child {
  border-bottom: none; /* Remove the bottom border for the last option */
}
.multi-select .options-container .option.selected {
  background: #007bff;
  color: #fff;
}
.multi-select .options-container .option:hover {
  background: #007bff;
  color: #fff;
}

header {
  width: 100%;
  background: #333;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
}
header nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
}
header nav ul li {
  margin-right: 20px;
}
header nav ul li a {
  text-decoration: none;
  color: #fff;
}
header nav ul li a:hover {
  text-decoration: underline;
}
.content {
  margin-top: 60px; /* Add space for the header */
  display: flex;
}
.main-content {
  flex: 1;
  padding: 10px;
}

.navbar {
  width: calc(100% - 250px);
  background: #333;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-start;
  transition: margin-left 0.3s, width 0.3s;
  padding-left: 20px; /* Add padding to align content with sidebar */
  margin-left: 250px; /* Initial margin to match sidebar */
}

.navbar.expanded {
  width: calc(100% - 40px); /* Adjusted to match the collapsed sidebar width */
  margin-left: 40px; /* Adjusted to match the collapsed sidebar width */
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar ul li {
  margin: 0 10px;
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  display: block;
}

.navbar ul li a:hover {
  text-decoration: underline;
}

.navbar ul li .dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  z-index: 1;
}

.navbar ul li .dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  color: #fff;
}

.navbar ul li .dropdown-content a:hover {
  background-color: #4b4b4b;
}

.navbar ul li:hover .dropdown-content {
  display: block;
}

.navbar ul li .dropdown-icon {
  margin-left: 5px;
}

.sidebar.closed ~ .main-content,
.sidebar.closed ~ .navbar {
  margin-left: 40px;
  width: calc(100% - 40px);
}

.info-icon {
  display: inline-block;
  cursor: pointer;
  position: relative;
}



.info-icon:hover::after {
  opacity: 1;
  visibility: visible;
}

footer.footer {
  width: 100%;
  height: 40px;
  background: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
}

footer p a:visited { text-decoration: none; color:rgb(76, 129, 209); }
footer p a:hover { text-decoration: none; color:rgb(76, 129, 209);; }
footer p a:focus { text-decoration: none; color:yellow; }
footer p a:hover, a:active { text-decoration: none; color:yellow }