/* Painel de coordenadas — mais baixo na tela */
.coord-panel {
  display: none;
  position: absolute;
  top: 120px;          /* afasta do topo */
  right: 68px;
  width: 272px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  z-index: 1100;
  overflow: hidden;
}
.coord-panel.open { display: block; }

/* hint discreta */
.coord-hint {
  font-size: 11px;
  color: var(--text-hint);
  margin: 0 0 10px;
  line-height: 1.5;
}

/* botão coleta — mesmo padrão dos outros botões do painel */
.coord-pick-btn {
  width: 100%;
  padding: 8px 14px;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.coord-pick-btn:hover {
  background: var(--md-grey-100);
  color: var(--text-primary);
}
.coord-pick-btn.active {
  background: var(--md-blue-50);
  color: var(--primary);
  border-color: var(--md-blue-200);
}

/* Popup coleta — estilo measure-label */
.pick-popup-wrapper .leaflet-popup-content-wrapper {
  border-radius: var(--r-pill);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  border: none;
  background: var(--md-blue-700);
}
.pick-popup-wrapper .leaflet-popup-content { margin: 0; min-width: 0; }
.pick-popup-wrapper .leaflet-popup-tip-container { display: none; }
.pick-popup-wrapper .leaflet-popup-close-button  { display: none; }

.pick-popup-head {
  padding: 3px 4px 3px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pick-popup-head-coords {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.pick-popup-head-actions {
  display: flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
}

.pick-btn-copy-icon,
.pick-btn-close {
  width: 22px;
  height: 22px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  transition: background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
  padding: 0;
}
.pick-btn-copy-icon:hover { background: rgba(255,255,255,.18); color: #fff; }
.pick-btn-close:hover     { background: rgba(255,255,255,.18); color: #fff; }