/* ============================================================
   smgr · css/pages/cumples.css — CUMPLEAÑOS DE JUGADORES ACB
   Intro + formulario (input date) + tabla de coincidencias
   (reutiliza .gamelog sticky). Tokens en css/tokens.css;
   componentes base en css/rincon.css.
   ============================================================ */

/* ---------- Intro ---------- */
.cp-title { margin: 0; }
.cp-lead { max-width: 62ch; margin-top: calc(-1 * var(--sp-2)); }

/* ---------- Formulario (tarjeta clara) ---------- */
.cp-form {
  margin-top: var(--sp-4);
  padding: var(--sp-5);
  max-width: 520px;
}
.cp-form__label {
  display: block;
  font-family: var(--score);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}
.cp-form__row {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  align-items: center;
}
.cp-form__input {
  flex: 1 1 200px;
  font: inherit; font-size: 15px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--ink);
}
.cp-form__input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.cp-form .btn { flex: 0 0 auto; }

@media (max-width: 480px) {
  .cp-form .btn { flex: 1 1 100%; }
}

/* ---------- Contador junto al título de resultados ---------- */
.cp-count {
  font-family: var(--score); font-weight: 700; font-size: 16px;
  color: var(--accent-deep); margin-left: 4px;
}

/* ---------- Tabla de coincidencias ----------
   Fecha (stick-1) más ancha que el 52px por defecto del .gamelog para que
   quepa "dd/mm/aaaa"; el nombre (stick-2) se desplaza en consecuencia. */
.cp-table.gamelog th.stick-1,
.cp-table.gamelog td.stick-1 { min-width: 96px; width: 96px; }
.cp-table.gamelog th.stick-2,
.cp-table.gamelog td.stick-2 { left: 96px; }
.cp-table.gamelog th.stick-2,
.cp-table.gamelog td.stick-2 { min-width: 170px; text-align: left; }

.cp-date {
  color: var(--muted); font-size: 12.5px;
  font-family: var(--score); font-weight: 600;
}
.cp-name { font-weight: 600; color: var(--ink); }
.cp-name:hover { color: var(--accent-deep); text-decoration: underline; }

/* ---------- Estados vacíos ---------- */
.cp-empty {
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
}
.cp-empty p { margin: 0; font-size: 15px; max-width: 46ch; }
.cp-empty__icon {
  width: 40px; height: 40px;
  stroke: var(--line); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
