select {
  padding: 8px;
  margin-bottom: 20px;
}
.infobar-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(1, 1fr); /* Default: 1 card per row */
}

@media (min-width: 768px) {
  .infobar-grid {
	grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets & up */
  }
}
.infobar-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.infobar-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
  text-align: left;
}

/*
.chart-toggle .tab.active {
  font-weight: 500;
  color: white; 
  text-decoration: none;
  margin: 11px 0 11px 0;
 
}*/

/* checkbox */
/* Style the container */
.chart-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
  font-size: 18px;
}

/* Style the switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 50px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  border-radius: 50px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

/* Change color of the slider when checked */
/* Style the container */
.chart-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
  font-size: 18px;
}

/* Style the switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 50px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  border-radius: 50px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

/* Change color of the slider when checked */
input:checked + .slider {
  background-color: #4CAF50;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Label for the toggle state */
.toggle-label {
  font-size: 28px !important;
  font-weight: light !important;
  color: #333;
  transition: color 0.3s ease !important;
}

input:checked + .slider + .toggle-label {
  color: #4CAF50; /* Changes to green when Pie chart is selected */
}