/* =========================================================
   Inscripciones de temporada: ficha del jugador/a (usa campus.css y los colores de site.css)
   ========================================================= */

.ins-hero .camp-hero__inner { padding-bottom: 52px; }
.ins-note { color: var(--suave); font-size: 16px; margin-top: -8px; }

/* Fotos */
.ins-up__box { display: flex; align-items: center; gap: 16px; background: var(--blanco); border: 1.5px dashed var(--linea); border-radius: 14px; padding: 12px; }
.ins-up.has-file .ins-up__box { border-style: solid; border-color: #9CC9AE; }
.ins-up.is-bad .ins-up__box { border-color: #B42318; background: #FFF8F7; }
.ins-up__preview { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 10px; background: var(--fondo); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ins-up__preview img { width: 100%; height: 100%; object-fit: cover; }
.ins-up__preview svg { width: 38px; height: 38px; fill: none; stroke: var(--suave); stroke-width: 1.6; stroke-linejoin: round; }
.ins-up__done { font-weight: 700; color: #146C3A; font-size: 13px; text-align: center; padding: 6px; }
.ins-up__side { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.ins-up__btn { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border-radius: 999px; background: var(--granate); color: var(--blanco); font-weight: 700; cursor: pointer; }
.ins-up__btn:hover { background: var(--granate-osc); }
.ins-up__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ins-up__btn:focus-within { outline: 3px solid var(--oro); outline-offset: 2px; }
.ins-up.is-loading .ins-up__btn { opacity: .6; pointer-events: none; }
.ins-up.is-loading .ins-up__preview { animation: ins-pulse 1s ease-in-out infinite; }
@keyframes ins-pulse { 50% { opacity: .45; } }

/* Tutor/a 2 */
.ins-t2 summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; }
.ins-t2 summary::-webkit-details-marker { display: none; }
.ins-t2 summary::before { content: '+'; width: 26px; height: 26px; border-radius: 50%; background: var(--granate); color: var(--blanco); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.ins-t2[open] summary::before { content: '−'; }
.ins-t2[open] > .cf-grid { margin-top: 14px; }

/* Forma de pago */
.ins-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ins-pay__opt { position: relative; cursor: pointer; }
.ins-pay__opt input { position: absolute; opacity: 0; }
.ins-pay__opt span { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--linea); background: var(--blanco); height: 100%; }
.ins-pay__opt strong { font-size: 18px; }
.ins-pay__opt small { color: var(--suave); font-size: 14px; }
.ins-pay__opt input:checked + span { border-color: var(--granate); box-shadow: inset 0 0 0 1.5px var(--granate); background: #FBF5F6; }
.ins-pay__opt input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.ins-sepa { background: var(--blanco); }

/* Documentos */
.ins-docs { display: flex; flex-direction: column; gap: 10px; }
.ins-doc { display: flex; gap: 14px; align-items: flex-start; background: var(--blanco); border-radius: 14px; padding: 14px 16px; border: 1.5px solid transparent; }
.ins-doc.is-bad { border-color: #B42318; }
.ins-doc.is-signed { opacity: .8; }
.ins-doc__icon { flex: 0 0 auto; width: 44px; height: 52px; border-radius: 8px; background: var(--rosa); color: var(--granate); font-weight: 800; font-size: 12px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.ins-doc__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ins-doc__main strong { font-size: 17px; }
.ins-doc__read { align-self: flex-start; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.ins-doc__read::after { content: '↗'; }
.ins-doc__read.is-pulse { animation: ins-pulse .3s ease-in-out 3; }
.ins-doc__ok { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.ins-doc__ok input { width: 22px; height: 22px; accent-color: var(--granate); }
.ins-doc__ok input:disabled + span { color: var(--suave); }
.ins-doc.is-open .ins-doc__ok input:not(:checked) + span { color: var(--granate); }

/* Firma */
.ins-sign__pad { position: relative; background: var(--blanco); border: 1.5px solid var(--linea); border-radius: 14px; overflow: hidden; touch-action: none; }
.ins-sign.is-bad .ins-sign__pad { border-color: #B42318; }
.ins-sign__pad canvas { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; cursor: crosshair; touch-action: none; position: relative; z-index: 1; }
.ins-sign__line { position: absolute; left: 6%; right: 6%; bottom: 24%; border-bottom: 1.5px dashed var(--linea); }
.ins-sign__ph { position: absolute; left: 0; right: 0; top: 38%; text-align: center; color: #B9B5BF; font-family: var(--display); font-weight: 800; font-size: 30px; pointer-events: none; }
.ins-sign__clear { align-self: flex-start; border: 0; background: none; color: var(--granate); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 4px 0; font-size: 15px; }
.ins-vol { background: var(--blanco); padding: 14px 16px; border-radius: 12px; border: 1.5px solid transparent; }
.ins-vol.is-bad { border-color: #B42318; }
.ins-vol > span:first-child { font-weight: 500; font-size: 16px; line-height: 1.45; }

/* Página /inscripcion */
.ins-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 36px; }
.ins-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: var(--granate); color: var(--blanco); text-decoration: none; box-shadow: 0 18px 40px rgba(75,14,26,.22); transition: transform .15s; }
.ins-card:hover { color: var(--blanco); transform: translateY(-2px); }
.ins-card__tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--oro); color: var(--azul); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ins-card__name { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: .95; }
.ins-card__text { color: var(--rosa); }
.ins-card__meta { font-size: 14px; color: var(--rosa); }
.ins-card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--oro); margin-top: 6px; }
.ins-card__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ins-closed { padding: 18px 22px; border-radius: 14px; background: var(--blanco); margin-bottom: 28px; font-size: 17px; }

@media (max-width: 640px) {
  .ins-pay { grid-template-columns: minmax(0, 1fr); }
  .ins-up__preview { width: 76px; height: 76px; }
  .ins-card__name { font-size: 32px; }
}
