/* ============================================================
   smgr · css/pages/viz_tiros_libres.css — DISEÑO DE LA TARJETA capturable
   de "Evolución de los tiros libres" (visualizacion_tiros_libres.php).
   Portado 1:1 del smgr/visualizacion_tiros_libres.php clásico, con TODO
   scopeado bajo #captureArea (no colisiona con el chrome "Foco").
   Gráfica SVG sobre fondo oscuro (#2d3748). Ancho natural 1100px (lo respeta
   el escalador móvil de viz.css). Sin reset global ni body{background}.
   ============================================================ */

#captureArea {
  font-family: 'Inter', sans-serif;
  background: #2d3748;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 1100px;
}
#captureArea * { box-sizing: border-box; }

/* ---------- Cabecera ---------- */
#captureArea .chart-header {
  padding: 20px 30px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
#captureArea .logo {
  width: 70px; height: 53px; background: #fff; border-radius: 15%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.3); overflow: hidden;
  flex-shrink: 0;
}
#captureArea .logo img { width: 100%; height: 100%; object-fit: contain; }
#captureArea .chart-header h2 { color: #fff; font-size: 20px; font-weight: 700; }
#captureArea .chart-header p { color: #a0aec0; font-size: 12px; margin-top: 4px; }

/* ---------- Leyenda ---------- */
#captureArea .legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 12px 20px 5px;
}
#captureArea .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a0aec0;
  font-size: 12px;
  font-weight: 600;
}
#captureArea .legend-bar { width: 18px; height: 12px; border-radius: 2px; }
#captureArea .legend-line { width: 22px; height: 3px; border-radius: 2px; }

/* ---------- Pie ---------- */
#captureArea .chart-footer {
  padding: 10px 20px;
  text-align: center;
  font-size: 12px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
#captureArea .chart-footer span { color: #fff; opacity: 0.8; }
