.reyes-dashboard { padding: 56px 0; }

.reyes-dashboard__topbar{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.reyes-dashboard__subtitle{
  max-width: 980px;
  opacity: 0.9;
}

.reyes-dashboard__selectors{
  display: grid;
  grid-template-columns: minmax(220px, 320px);
  gap: 12px;
}

.reyes-control{
  background: #fff;
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.reyes-control label{
  display:block;
  font-size:0.8rem;
  opacity:0.8;
  margin-bottom: 6px;
}

.reyes-control select{
  width:100%;
  padding: 10px;
  border-radius: 10px;
}

/* Indicador principal */
.reyes-hero-metric{
  margin-top: 14px;
  background: #27348b;
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  color: #fff;
}

.reyes-hero-metric__number{
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.reyes-hero-metric__label{
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  opacity: 0.95;
}

/* Tarjetas */
.reyes-dashboard__cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.reyes-card{
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  text-align: center;
}

.reyes-card__number{
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.1;
}

.reyes-card__label{
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.75;
}

.reyes-card__number--girls{ color: #e91e63; }
.reyes-card__number--boys{ color: #1e88e5; }

/* Meta alcanzada */
.reyes-goal{
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-top: 14px;
}

.reyes-goal__row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.reyes-goal__title{ font-weight: 800; }
.reyes-goal__value{ opacity: 0.92; font-weight: 800; }
.reyes-goal__metaText{ opacity: 0.7; font-weight: 700; margin-left: 6px; }

.reyes-goal__track{
  height: 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  overflow: hidden;
}

.reyes-goal__fill{
  height:100%;
  border-radius:999px;
  background:#27348b;
  width: 0%;
}

.reyes-goal__status{
  margin-top:10px;
  font-size:0.9rem;
  opacity:0.9;
}

.reyes-goal__status.is-ok{ opacity: 1; }
.reyes-goal__status.is-warn{ opacity: 0.9; }

/* Video */
.reyes-video{
  margin-top: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.reyes-video .video-container{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.reyes-video iframe{
  width: 100%;
  height: 100%;
}

@media (max-width: 900px){
  .reyes-dashboard__cards{ grid-template-columns: 1fr; }
}
