/* Estilos específicos de gráficos */

.chart-container {
  position: relative;
  width: 100%;
  padding: var(--space-4) 0;
}

.chart-wrapper {
  position: relative;
  height: 200px;
}

.chart-wrapper-sm {
  height: 150px;
}

.chart-wrapper-lg {
  height: 260px;
}

/* Legenda de gráfico */
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Filtros de gráfico */
.chart-filter-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.chart-tab {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.chart-tab.active {
  background: var(--color-jean-bg);
  color: var(--color-jean);
  border-color: var(--color-jean);
}
