/* Point picker (js/map/picker.js) used by the hangout form and the profile; screens set their own
   .picker-frame height. */
.picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.picker [hidden] {
  display: none !important;
}

.picker-frame {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg2);
  isolation: isolate;
}

/* Its own stacking context, so Leaflet's high pane z-indexes stay under the crosshair. */
.picker-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.picker-cross {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.picker-cross::before,
.picker-cross::after {
  content: '';
  position: absolute;
  border-radius: 1px;
  background: #1f2937;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.picker-cross::before {
  left: 12px;
  top: 0;
  width: 2px;
  height: 26px;
}

.picker-cross::after {
  left: 0;
  top: 12px;
  width: 26px;
  height: 2px;
}

.picker-ready .picker-cross {
  opacity: 0.8;
}

.picker-hint {
  margin: 0;
  color: var(--hint);
  font-size: 13px;
}

.picker-use {
  align-self: flex-start;
}

.picker-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--hint);
}
