.chart-container {
  display: flex;
  overflow-x: scroll;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
  margin-top: 40px;
  width: 100%;
  padding: 0 10px;
}


.chart-container .bar-card {
  flex: 1;                      /* Auto dynamic width */
  max-width: 120px;             /* Prevent being too wide */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chart-container .bar {
  width: 80%;
  background: linear-gradient(180deg, #4e9bff, #7bc6ff);
  border-radius: 8px 8px 0 0;
  margin-bottom: 10px;
  transition: 0.3s;
}

.chart-container .icon {
  width: 50px;
  height: 50px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.chart-container .label {
  font-size: 20px;
  color: #333;
  height: 150px;               
  display: flex;
  align-items: flex-start;    
  justify-content: center;    
  text-align: center;
  overflow: hidden;           
  text-overflow: ellipsis;     
}

.chart-container .value {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 4px;
}


@media (max-width: 768px) {
  .chart-container .label {font-size: 14px;height: 150px;}
}