/* Fysieke hubs (fysieke-hubs.html). Basis van het paneel staat in paneel.css, gedeelde stijl in stijl.css. */

/* Groene hub-speld, gelijk aan de hoofdkaart (index.css) */
.hub-pin { position: relative; width: 30px; height: 38px; }
.hub-pin::after { content: ""; position: absolute; left: 11px; top: 35px; width: 8px; height: 3px; border-radius: 50%; background: rgba(0,0,0,.3); filter: blur(1px); }
.hub-drop { position: absolute; left: 0; top: 0; width: 30px; height: 30px; box-sizing: border-box; background: #07b26b;
  border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 5px rgba(0,0,0,.35); }
.hub-glyph { position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #fff;
  font: 500 11px/1 Roboto, system-ui, sans-serif; letter-spacing: .01em; }
.hub-mini { flex: none; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #07b26b;
  color: #fff; font: 500 8px/22px Roboto, system-ui, sans-serif; text-align: center; }
.hub-mini span { display: block; transform: rotate(45deg); }
/* Namen naast de punten, alleen als ze aan staan en er ver genoeg is ingezoomd */
.leaflet-tooltip.fh-label { display: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 4px; margin: 0;
  font: 500 13px/16px Roboto, "Helvetica Neue", Arial, sans-serif; color: #1b1f23;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.leaflet-tooltip.fh-label::before { display: none; }
.fh-names .leaflet-tooltip.fh-label { display: block; }
:root[data-theme="dark"] .leaflet-tooltip.fh-label { color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .leaflet-tooltip.fh-label { color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; } }

/* Uitsnede: Alle hubs of Huidige kaart */
.seg-row { display: flex; border: 1px solid var(--outline); border-radius: 20px; overflow: hidden; }
.seg-btn { flex: 1; height: 32px; font-size: 13px; color: var(--on-surface); }
.seg-btn + .seg-btn { border-left: 1px solid var(--outline); }
.seg-btn[aria-pressed="true"] { background: var(--secondary-container); color: var(--on-secondary-container); font-weight: 500; }
.png { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--outline-var); padding-top: 12px; }
.png-t { color: var(--on-surface-var); font-size: 13px; }
#export-msg { color: var(--on-surface-var); font-size: 12px; line-height: 16px; }

/* Lijst met hubs */
.fh-list { list-style: none; margin: 0; padding: 10px 0 0; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--outline-var); }
.fh-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 7px 10px; border-radius: 12px; }
.fh-item:hover { background: color-mix(in srgb, var(--on-surface) 6%, transparent); }
.fh-item[aria-current="true"] { background: var(--secondary-container); }
.fh-nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-item small { color: var(--on-surface-var); font-size: 12px; font-variant-numeric: tabular-nums; }
