/* ═══════════════════════════════════════════
   TEMPORADAS — selector global + modal de alta
   ═══════════════════════════════════════════ */
.temp-selector {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
}

/* En el sidebar: apilado y a todo lo ancho */
.side-temporada { padding: 12px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.side-temporada .temp-selector { display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; }
.side-temporada .temp-select { width: 100%; }
.side-temporada .temp-hist { align-self: flex-start; }
.temp-label {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700;
}
.temp-select {
  -webkit-appearance: none; appearance: none;
  padding: 7px 30px 7px 12px; font-size: 13px; font-weight: 700; font-family: var(--font-body);
  border: 1px solid var(--brand); border-radius: var(--pill);
  background: var(--brand-soft); color: var(--brand-deep); cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%231d4ed8' stroke-width='2'><path d='M4 6l3.5 3.5L11 6'/></svg>");
  background-repeat: no-repeat; background-position: right 9px center;
  outline: none; transition: box-shadow .15s;
}
.temp-select:focus { box-shadow: var(--ring); }
.temp-hist {
  font-size: 10.5px; font-weight: 700; color: #92400e; background: var(--warning-soft);
  padding: 3px 9px; border-radius: var(--pill);
}

/* Acciones de admin sobre la temporada seleccionada */
.temp-actions { display: flex; gap: 6px; }
.temp-act-btn {
  flex: 1; padding: 5px 10px; font-size: 11.5px; font-weight: 700; font-family: var(--font-body);
  border: 1px solid var(--line-strong); border-radius: var(--pill);
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
  transition: all .15s;
}
.temp-act-btn:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.temp-act-btn.danger:hover { border-color: var(--danger); color: var(--danger-deep); background: var(--danger-soft); }

/* Modal de alta */
.temp-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 200; width: min(460px, calc(94vw / var(--z)));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: 22px 24px;
}
.temp-modal-sub { margin: 0 0 16px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; }
.temp-modal .em-field { margin-bottom: 14px; }
.temp-fechas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 560px) {
  .temp-fechas { grid-template-columns: 1fr; }
}
