/* Fullscreen map */
html, body {
  height: 100%;
  margin: 0;
}
#map {
  height: 100vh;
  width: 100%;
}

/* Legend */
.legend {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  background: white;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  line-height: 1.3;
  user-select: none;
  
}
.legend h4 {
  font-weight: 600;
  margin: 0 0 6px;
}
.legend-item {
  display: flex;
  align-items: center;
  margin: 6px 0;
  margin-bottom: 4px;
  gap: 8px;
  cursor: pointer;
}
.legend-item input { cursor: pointer; }
.legend-item img {   margin-right: 6px;
 }

/* Bathrooms slider control */
.bathroom-control {
  background: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  font: 13px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  width: 220px;
}

/* Utility */
.hidden { display: none; }

/* Popup styling */
.nx-popup .popup-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.popup-title {
  font-weight: 600;
  font-size: 14px;
}

.popup-meta, .popup-body {
  font-size: 12px;
  opacity: 0.8;
}
.nx-popup .popup-meta {
  color: #555;
  font-size: 12px;
  margin-bottom: 6px;
}
.nx-popup .popup-body {
  font-size: 12px;
  line-height: 1.35;
  max-width: 240px;
  display: -webkit-box;
  -webkit-line-clamp: 6;         /* show up to ~6 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Optional: cluster count font tweak */
.marker-cluster div {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
}

/*OVERRIDE imported style sheet default for clarity*/
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #333 !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.map-title {
  font-family: 'Poppins', sans-serif;
  background: white;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}