html,
body,
#map {
  height: 100%;
  margin: 0;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.highlighted {
  border-color: #f09f2f !important;
  background-color: #e37304  !important;
  color: white !important;
}

.highlighted-path {
  stroke: #f09f2f !important;
  fill: #e37304 !important;
  fill-opacity: 0.7 !important;
}

#map {
  position: absolute;
  inset: 0;
}

.repeater-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #0a66c2;
  background: rgba(10, 102, 194, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  font: 700 9px system-ui, sans-serif;
  color: #ffffff;
}

.repeater-dot.stale {
  background: rgba(75, 101, 126, 0.9);
  border: 1px solid #777777;
  color: #c3c3c3;
}

.repeater-dot.dead {
  background: rgba(38, 38, 39, 0.9);
  border: 1px solid #333333;
  color: #929292;
}

.leaflet-popup-content {
  font: 13px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.attribution-tweak .leaflet-control-attribution {
  font-size: 11px;
}

.mesh-control {
  background: #f5f5f5;
  padding: 6px 10px;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  line-height: 1.4;
  width: 10em;
}

.mesh-control-row {
  align-items: center;
}

.mesh-control-row + .mesh-control-row {
  margin-top: 8px;
}

.mesh-control-row label {
  display: flex;
  gap: 8px;
  font-weight: 500;
}

.mesh-control input[type="checkbox"] {
  appearance: none;           /* Remove native checkbox */
  -webkit-appearance: none;   /* Safari */
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}

.mesh-control input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 16px;
  color: #0a66c2;
  pointer-events: none;
}

.mesh-control input[type="checkbox"]:hover {
  background: #e8e8e8;
}

.mesh-control input,
.mesh-control select {
  border-radius: 3px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  flex: 1 1 0%;
  min-width: 0px;
}

.mesh-control-row button {
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
}

.mesh-control-row button:hover {
  background: #e8e8e8;
}
