/* Map: pane, controls, markers, mobile tabs. */
.map-pane {
  width: 49%;
  position: relative;
  direction: rtl;
  background: var(--map-water);
}

#map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--map-water);
}

.map-popup img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.map-popup>div {
  padding: 12px;
}

.map-popup strong {
  font-size: 12px;
}

.map-popup p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0;
  line-height: 1.8;
}

.map-popup button {
  font-size: 10px;
  background: var(--text);
  color: var(--inverse);
  padding: 5px 9px;
  border-radius: 15px;
}

.map-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  display: flex;
  gap: 6px;
  z-index: 400;
  flex-wrap: wrap;
  pointer-events: none;
}

.map-controls button {
  pointer-events: auto;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 24px;
  font-size: 10px;
  box-shadow: 0 2px 8px #0002;
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-controls button.active {
  background: var(--text);
  color: var(--inverse);
}

.map-controls svg {
  width: 14px;
  height: 14px;
}

.map-bottom {
  position: absolute;
  bottom: 25px;
  right: 14px;
  z-index: 400;
  background: var(--surface);
  padding: 6px 11px;
  font-size: 9px;
  border-radius: 20px;
  box-shadow: 0 2px 8px #0002;
}

.number-marker {
  background: #111;
  color: #fff;
  border: 2px solid white;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  box-shadow: 0 3px 6px #0004;
  width: 29px!important;
  height: 29px!important;
}

.number-marker.eat {
  background: #bd704b;
}

.number-marker.stay {
  background: #617c9c;
}

.map-unavailable {
  position: absolute;
  bottom: 60px;
  left: 15px;
  right: 15px;
  z-index: 400;
  padding: 13px;
  background: var(--surface);
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.9;
  box-shadow: var(--shadow);
}

.mobile-work-tabs {
  display: none;
}
