:root {
  --azul: #01293b;
  --rojo: #b6122a;
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  background: #fff;
  color: var(--azul);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.chart-container {
  text-align: center;
  width: 100%;
  max-width: 420px;
}

/* Bola roja y texto superior */
.kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rojo);
  box-shadow: 0 0 0 6px rgba(182, 18, 42, 0.05);
}
.kicker-text {
  font-size: 16px;
  color: var(--azul);
  font-weight: 600;
}

/* Gráfico circular */
.donut {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  position: relative;
  margin: 0 auto;
  padding: 0;
}
svg {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

/* Texto central */
.center-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.center-label .percent {
  font-size: 50px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.1;
}
.center-label .meta {
  font-size: 15px;
  color: #6b7a84;
  margin-top: 6px;
}

/* Versión móvil optimizada */
@media (max-width: 600px) {
  body {
    align-items: flex-start;
    padding-top: 40px;
  }
  .chart-container {
    max-width: none;
    width: 100%;
  }
  .donut {
    width: 94vw;   /* casi todo el ancho de pantalla */
    height: 94vw;
  }
  .center-label .percent { font-size: 42px; }
  .center-label .meta { font-size: 14px; }
  .kicker-text { font-size: 14px; }
}

