/* === Global Styling === */
body {
  font-family: Arial, sans-serif;
  margin: 30px;
  text-align: center;
}

/* === Filters Styling === */
#filters {
  margin-bottom: 30px;
}

#filters label,
#filters select,
#filters button {
  margin: 0 10px;
  font-size: 14px;
}

/* === Tab Navigation Buttons === */
#tabs {
  margin-bottom: 20px;
}

.tabButton {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background-color: #ccc;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

.tabButton:hover {
  background-color: #999;
}

.tabButton.active {
  background-color: #444;
  color: white;
}

/* === Chart Container === */
.tabContent {
  margin-top: 30px;
}

/* Center SVGs */
svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Axis Styling */
.axis path,
.axis line {
  stroke: #ccc;
}

.axis text {
  font-size: 12px;
}

/* Tooltip Styling */
.tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
}

/* Transitions */
.bar,
.dot,
.linePoint {
  transition: all 0.3s ease;
}

.bar:hover,
.dot:hover,
.linePoint:hover {
  opacity: 0.7;
}

/* Bar Labels */
.barLabel {
  font-size: 12px;
  fill: black;
  pointer-events: none;
}

/* Chart Description */
.tabContent p {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}