.chartWrap {
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 24px;
}

.barsContainer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.barGroup {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
}

.barTrack {
  width: 100%;
  max-width: 40px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 4px 4px 0 0;
}

.barFill {
  width: 80%;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease-out;
  position: relative;
  cursor: pointer;
}

.barFill:hover {
  filter: brightness(1.2);
}

.label {
  position: absolute;
  bottom: -24px;
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.barFill:hover .tooltip {
  opacity: 1;
}
