/**
 * RADAR CHART STYLES
 * Companion CSS for radar-dev.js
 * Include via: <link rel="stylesheet" href="./radar.css">
 */

/* --- Radar SVG container --- */
#radar-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
#radar-container svg {
  width: 100%;
  height: auto;
}

/* --- Legend --- */
#legendContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}
.legendItem {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.legendPastel {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.legendTitle {
  font-size: 0.8rem;
  margin: 0;
  color: #666;
}

/* --- Item list: number badges --- */
.radar-item .w-inline-block {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none !important;
}
.radar-item [radar-item-number] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F1F2F5;
  border: 1px solid #ddd;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  text-decoration: none !important;
}

/* --- SVG tooltip --- */
.tooltip {
  visibility: hidden;
  background: #333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  pointer-events: none;
  z-index: 1000;
  white-space: nowrap;
}

/* --- SVG pin interactions --- */
#graph_radar .pin {
  cursor: pointer;
  transition: opacity 0.2s;
}
#graph_radar .pin:hover {
  opacity: 1 !important;
}
