.chart-bar-striped {
  background-color: #0d9488; /* teal-600 */
  opacity: 0.2;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.25) 4px,
    rgba(255, 255, 255, 0.25) 6px
  );
}

.chart-bar-filled {
  background-color: #0f766e; /* teal-700 */
}

.chart-bar-peak {
  background-color: #5eead4; /* teal-300 */
  box-shadow: 0 0 20px rgba(94, 234, 212, 0.4);
}

.chart-bar-error-filled {
  background-color: #334155; /* slate-700 */
}

.chart-bar-error-striped {
  background-color: #334155; /* slate-700 */
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.15) 4px,
    rgba(255, 255, 255, 0.15) 6px
  );
}

.chart-horizontal-container {
  position: relative;
  width: 100%;
  padding-bottom: 32px;
}

.chart-grid {
  position: absolute;
  left: 120px;
  right: 0;
  top: 0;
  bottom: 32px;
  display: flex;
  justify-content: space-between;
}

.chart-grid-line {
  width: 1px;
  height: 100%;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(75, 85, 99, 0.4),
    rgba(75, 85, 99, 0.4) 4px,
    transparent 4px,
    transparent 8px
  );
}

.chart-x-axis {
  position: absolute;
  left: 120px;
  right: 0;
  bottom: 0;
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.chart-x-axis-label {
  font-size: 11px;
  color: #6b7280; /* gray-500 */
  text-align: center;
  min-width: 20px;
}

.chart-bars-area {
  position: relative;
  margin-left: 120px;
  padding: 8px 0;
}

.chart-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
}

.chart-bar-row:last-child {
  margin-bottom: 0;
}

.chart-bar-label {
  position: absolute;
  left: -120px;
  width: 110px;
  font-size: 14px;
  color: #ffffff;
  text-align: right;
  padding-right: 10px;
}

.chart-bar-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.chart-bar-container {
  position: relative;
  width: 100%;
}

.chart-bar {
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.3s ease;
}

.chart-bar:hover {
  opacity: 0.9;
}

.chart-bar-striped:hover {
  opacity: 0.2;
}

.chart-bar-peak-indicator {
  position: absolute;
  top: 0;
  width: 3px;
  background-color: #5eead4; /* teal-300 */
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.6);
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Animation initial state - bars hidden until JS animates them */
.chart-bar-animated .chart-bar {
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.chart-bar-animated .chart-bar-peak-indicator {
  opacity: 0;
  transform: translateX(-10px);
}

