/* OBEINSON FREQUENCY X — station map zoom controls.
 *
 * The buttons are built by the site-config block in index.html, next to the
 * density legend. Their behaviour lives there because the zoom state is in
 * that module's scope; only their appearance is here.
 *
 * !important throughout for the usual reason in this app: the vendor styles
 * its buttons with it, and without matching that these render as full-width
 * rows rather than a compact cluster.
 */

.obnGeoZoom {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}

.obnGeoZoomBtn {
  min-width: 26px !important;
  min-height: 26px !important;
  padding: 0 7px !important;
  border: 1px solid rgba(0, 225, 255, .40) !important;
  border-radius: 7px !important;
  background: rgba(0, 225, 255, .07) !important;
  color: #00e1ff !important;
  -webkit-text-fill-color: #00e1ff !important;
  font: 600 13px/1 ui-monospace, Menlo, Consolas, monospace !important;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.obnGeoZoomBtn:hover {
  background: rgba(0, 225, 255, .18) !important;
  border-color: rgba(0, 225, 255, .9) !important;
}

.obnGeoZoomBtn:focus-visible {
  outline: 2px solid #00e1ff;
  outline-offset: 2px;
}

/* The legend row holds the three density dots on the left and this cluster on
   the right; it is already a flex row, so only the gap needs setting. */
.qsGeoLegend {
  width: 100%;
  gap: 6px;
}

/* While zoomed the map can be dragged, so say so with the cursor. */
#qsGeoCanvas {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .obnGeoZoomBtn { transition: none; }
}
