.legend {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px;
}

.legend-item {
  flex: 0 0 20%;
  box-sizing: border-box;
  padding: 10px; /* Optional spacing between items */
}

.mainContainer {
  background-color: #fafafe;
  border-radius: 15px;
  padding: 10px;
  margin-bottom: 35px;
}
.mainContainer p:first-child {margin-bottom: 0;}

.blocker {bottom: auto}

input[type="range"] {width: 70%; float: right;}

.rangeLbl {color: #333; font-size: 11px;margin: auto;font-weight: normal;}

.headerLbl, .searchLbl {margin-top: 20px; /*! font-size: 18px; */}

.slidemenu {padding: 0 10px; margin: -65px 0 0 0;cursor: pointer; }

.reset-btn {
  background: #fff;
  padding: 3px 10px;
  border: 2px solid #999;
  border-radius: 5px;
  }

.slidemenu img {max-height: 25px; display: inline; margin-inline: 0; margin-block: 0}

.sidenavheadLbl {display: inline-block;}

.menuitemInput {font-family: Helvetica;
  font-size: 17px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.5px;
  margin-top: 20px;
  border-radius: 7px;
  border: 3px solid #4f81bd;
  background: #fff;
}
.menuitemLbl {display: inline-block; width: 120px;}
.modal {width: 100%;}

.sidenav {right: 0;-ms-overflow-style: -ms-autohiding-scrollbar; z-index: 11;}
.slideritem {margin-bottom: 10px; margin-top: 40px;}

#AsOf {display: block; margin-top: 20px;}

.table-header {height: 90px;}

.searchDiv {
  margin-right: 0px;
  margin-top: -30px;
}
.dt-search {display: none;}

.searchInput {height: 30px; background: #fff;}

.table > thead:first-child > tr:first-child > th {font-size: 12px;}

table.dataTable {font-size: 14px;}
table.dataTable > thead > tr > th {padding: 5px;}

.report-icon {display: inline; margin-inline: 0 !important; margin-block: 0 !important}

.star {height: 44px; width: 30px; display: inline-block;}
.star.platinum {background: url(platinum-small.png) no-repeat;}
.star.gold {background: url(gold-small.png) no-repeat;}
.star.silver {background: url(silver-small.png) no-repeat;}
.star.bronze {background: url(bronze-small.png) no-repeat;}

.tooltip-inner {
    max-width: 300px !important;
    width: 300px !important; /* Force a static width so text doesn't wiggle cells */
    min-height: 175px !important; /* Use min-height instead of strict height */
    padding: 20px 10px 10px 120px !important;
    color: #000 !important;
    text-align: left !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-size: 1.2em !important;
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* Gives context separation from table text */
    position: fixed;
  z-index: 3;
  font-size: .9em !important;
}

.platinum ~ .tooltip .tooltip-inner {background: url(platinum.png) no-repeat #fff; height: 175px; background-position: 5% 50%;}
    .gold ~ .tooltip .tooltip-inner {background: url(gold.png) no-repeat #fff; height: 175px; background-position: 5% 30%;}
    .silver ~ .tooltip .tooltip-inner {background: url(silver.png) no-repeat #fff; height: 175px; background-position: 5% 30%;}
    .bronze ~ .tooltip .tooltip-inner {background: url(bronze.png) no-repeat #fff; height: 175px; background-position: 5% 30%;}
	
.tooltip {display: none}

#table-container-table_info.dt-info {background: #fff;}

/* Make the container a safe scrollable box without splitting the table DOM */
#table-container {
    max-height: 350px; /* This serves as your "scrollY" alternative */
    overflow-y: auto;  /* Native vertical scrollbar if data overflows */
    overflow-x: none;  /* Native horizontal scrollbar if columns overflow */
}

/* Ensure headers stick to the top when scrolling down */
#table-container table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #154e81;
}

/* Clear visual cue when a keyboard user Tabs into the scroll box */
#table-container:focus {
    outline: 3px solid #005A9C; /* Meets WCAG 2.1 focus contrast rules */
    outline-offset: 2px;
}
@media (max-width: 700px) { 
.slidemenu, .searchDiv {
    float: none;
    margin: 0 0 20px 0;
}
.slidemenu {margin-bottom: 0}
}