body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.chart { 
  padding: 2px; 
}

h5 { 
  margin: 0px 0; 
  text-align: center; 
}

h4 { 
  margin: 0px 0; 
  text-align: center; 
}

h3 { 
  margin: 4px; 
  text-align: center; 
}

p { 
  margin: 0px 0; 
  text-align: center; 
}

canvas { 
  display: block; 
  margin: 0px auto; 
  max-width: 95%; 
}

#myChart, #grChart, #rcChart, #dailyChart, #hourlyChart, #bValueTimeChart, #mcTimeChart { 
  width: 95%; 
  height: 220px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  padding-top: 60px;
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover { 
  color: black; 
}

button { 
  padding: 6px 12px; 
  font-size: 1em; 
}

.side-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.side-panel.active {
  right: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.close-panel {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #D70040;
}

.panel-content a {
  display: block;
  padding: 10px;
  margin: 5px 0;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.panel-content a:hover {
  background-color: #e0e0e0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
}

.leaflet-top, .leaflet-bottom {
  z-index: 999 !important;
}

.leaflet-control-attribution {
  background-color: rgba(255,255,255,0.9) !important;
  padding: 2px 5px !important;
  font-size: 11px !important;
}

#loadingOverlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}
<style >
/* ================= FIXED SHAPE ================= */
#predictionControls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 22px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 999px; /* ?? PILL SHAPE */
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    max-width: 600px;
}

/* Remove label default inline style */
#predictionControls label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Dropdown */
#predictionControls select {
    font-size: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    margin-left : 20px;
}

/* Button */
#predictionControls button {
    font-size: 12px;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

    #predictionControls button:hover {
        transform: transLateY(-1px);
        box-shadow: 0 6px 16px rgba(0,123,255,0.4);
    }

</style >
