/* ════════════════════════════════════════════════════════════════
   MI TURNO · components/dashboard-chart.css
   ════════════════════════════════════════════════════════════════ */

.bar-chart-wrap {
  height: 160px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px 4px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.bar-chart-wrap::-webkit-scrollbar {
  display: none;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 1;
  min-width: 22px;
  max-width: 48px;
  height: 100%;
}

.bar-fill-v {
  width: 100%;
  border-radius: 8px 8px 0 0;
  min-height: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #5b86e5 0%, #7da8ff 50%, rgba(143, 179, 255, 0.4) 100%);
  border: 1px solid color-mix(in srgb, #7da8ff 35%, transparent);
  border-bottom: none;
  transition: height 0.7s var(--ease);
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 8px rgba(91, 134, 229, 0.2);
}

.bar-fill-v::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

.bar-fill-v.bf-fest {
  background: linear-gradient(180deg, #f5a623 0%, #f0b860 60%, rgba(245, 166, 35, 0.3) 100%);
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 8px rgba(245, 166, 35, 0.18);
}

.bar-fill-v.bf-noc {
  background: linear-gradient(180deg, #4f6bbf 0%, #5b86e5 60%, rgba(91, 134, 229, 0.4) 100%);
  border-color: rgba(91, 134, 229, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 8px rgba(79, 107, 191, 0.25);
}

.bar-label {
  font-size: 9.5px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.chart-wrap {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}
