#myChart1{
    margin-left: 2rem;
}
#myChart2{
    margin-left: 2rem;
}
#myChart3{
    margin-left: 0.5rem;
}

  
/* Header container for title and toggles in a single line */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 180px;
}
.toggle-label {
  padding-top: 0.5rem;
  font-weight: bold;
}
/* Chart Title */
.chart-title {
  padding-top: 0.5rem;
  font-weight: bold;
  margin: 0; /* Remove default margin so it aligns nicely */
}

/* Toggle Switches Container */
.toggle-switches {
  display: flex;
  gap: 5px;
}

/* Individual Toggle Wrapper */
.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}


/* Toggle Switch Styles */
.switch {
  margin-top: 0.5rem;
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-right: 70px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider Background */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
  border-radius: 34px;
}

/* Slider Knob */
.slider .knob {
  position: absolute;
  height: 16px;
  width: 16px;
  left: 22px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
  
.chart-tooltip {
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.toggle-wrapper {
  cursor: pointer;
}
