.contrast{mix-blend-mode: difference;}
.chart_text{font-size: 10;}
/* Extra small devices (phones, 600px and down) */
.chart-container {
  position: relative; /* important to position tooltip relative to this */
}
.svg-tooltip {
  position: absolute;
  display: none;
  background: #fff;
  border: 1px solid #ccc;
  padding: 6px 8px;
  font-size: 13px;
  font-family: sans-serif;
  color: #333;
  white-space: nowrap;
  pointer-events: none;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: opacity 0.1s ease-in-out;
}

/* Optional: highlight effect */
svg.clickable [data-values]:hover {
  stroke: #333;
  stroke-width: 1.5px;
  cursor: pointer;
  opacity: 0.85;
}

svg.clickable [data-values].clicked {
  animation: flash 0.3s ease-out;
}

@keyframes flash {
  0%   { fill-opacity: 1; }
  50%  { fill-opacity: 0.4; }
  100% { fill-opacity: 1; }
}