/**
 * Charts.css
 * Estilos para gráficos y comparaciones (barras horizontales GSE, etc.)
 */

/* ==========================================================================
   Gráfico comparación GSE - Barras horizontales (Establecimiento vs GSE nacional)
   ========================================================================== */
.chart-gse-horizontal {
  --gse-max: 100;
}

.chart-gse-horizontal .chart-gse-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 0;
}

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

.chart-gse-horizontal .chart-gse-label {
  text-align: right;
  flex: 0 0 33.333%;
  max-width: 33.333%;
  font-size: 0.85rem;
  color: #1a1a2e;
  line-height: 1.25;
  padding-right: 10px;
}

.chart-gse-horizontal .chart-gse-bar-wrap {
  flex: 1 1 66.666%;
  max-width: 66.666%;
  height: 28px;
  background: transparent;
  border-radius: 4px;
  overflow: visible;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-gse-horizontal .chart-gse-bar {
  height: 100%;
  border-radius: 4px;
  min-width: 2px;
  transition: width 0.4s ease;
  flex: 0 0 auto;
}

.chart-gse-horizontal .chart-gse-bar-est {
  background-color: #E85F3D;
}

.chart-gse-horizontal .chart-gse-bar-gse {
  background-color: #0A4C6A;
}

.chart-gse-horizontal .chart-gse-value {
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a2e;
  white-space: nowrap;
  flex: 0 0 auto;
}
