/* Simple Chart Styles */

.simple-chart {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #dee2e6;
}

.chart-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

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

.chart-label {
  width: 120px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.chart-bar-container {
  flex: 1;
  background: #e9ecef;
  border-radius: 4px;
  height: 30px;
  position: relative;
  overflow: hidden;
}

.chart-bar {
  height: 100%;
  background: linear-gradient(90deg, #3498db, #2980b9);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  transition: width 0.5s ease-in-out;
  min-width: 40px;
}

.chart-value {
  color: white;
  font-weight: bold;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Interactive controls */
.chart-controls {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #dee2e6;
}

.chart-controls button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  margin-right: 8px;
  transition: background-color 0.2s;
}

.chart-controls button:hover {
  background-color: #2980b9;
}

.chart-controls button:active {
  transform: translateY(1px);
}
