#info-panel {
    position: absolute;
    top: 100px;
    right: -100vw; /* Initially hidden off-screen */
    width: 375px;
    height: calc(100vh - 255px);
    background: #170048cc;
    border: 2px solid #5840ff;
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out; /* Smooth slide-in effect */
    font-family: Helvetica Neue;
    color: white; /* Default text color for the sidebar */
    font-size: 16px; /* Default text size inside the sidebar */
    text-align: left;
    padding-top: 10px;
    padding-left: 30px;
    overflow: hidden;
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */

    /* Hide scrollbar in WebKit browsers (Chrome, Safari, Edge) */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

#close-btn {
  position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    color: white;
    border: none;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    font-family: Helvetica Neue;

}

hr {
  border: 0;
  height: 1px;
  background-color:#5840ff;
  margin: 10px 0;
}

.chart-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

#generationChart {
  width: 100%;
  height: 350px; /* Adjust height if needed */
  background: transparent;
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: transparent;
}

/* Table Styles */
.generator-header-table {
  width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.generator-header-table th {
  background-color: transparent;
  color: white;
  padding: 12px 15px;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 1;
}

.scrollable-table-container {
  max-height: 500px;
  overflow-y: scroll; /* keep scroll functionality */
  margin-top: -10px;
  
  /* Hide scrollbar in WebKit browsers (Chrome, Safari, Edge) */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.scrollable-table-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

#generator-table {
  width: 100%;
  border-collapse: collapse; /* Removes the gaps in colour in each row */
}

/* Line Graph Chart */
#generator-table td {
  padding: 8px 8px; /* Changes the spacing of the chart */
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5); /* Faint line between rows */
}

#generator-table .clickable-generator {
  cursor: pointer;
}

#generator-table .clickable-generator:hover {
  background-color: #4236b6;
}

/* Arrow Styles */
.arrow {
  width: 8px;
  height: 8px;
  border-top: 1.5px solid white;
  border-right: 1.5px solid white;
  display: inline-block;
  transform: rotate(135deg);
  transition: transform 0s ease;
}

.arrow.rotate {
  transform: rotate(-45deg);
}

/* Chart Row */
.chart-row {
  background-color: transparent;
  display: none; /* Initially hidden */
}

.chart-row td {
  padding: 20px;
  text-align: center;
}

#generator-table canvas {
  display: block;
  width: 100% !important;
  height: 200px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

/* Top info bar */
.zonal-info-bar {
  display: flex;
  justify-content: space-between;
  background-color: #170048;
  padding: 10px 0px 10px 0px;
  margin: 15px 15px 0px 0px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
  border: 1.5px solid #5840ff;
  width: 100%;
}

.zonal-info-bar div {
  flex: 1;
  text-align: center;
  color: #fff;
}

.zonal-info-bar strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
}

#info-region {
  padding-left: 8px;
}