:root{
  --navbar-h: 56px;
}

html, body {
  height: 100%;
  margin: 0;
}

#main {
  position: relative;
  height: 100%;
  padding-top: var(--navbar-h);
}

#map {
  position: absolute;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  bottom: 0;
}

/* Optional: make the offcanvas a bit wider */
.offcanvas {
  width: 320px;
}

/* ===========================
   POI ICON MARKERS (FA)
   IMPORTANT FIX:
   - NO translate(-50%,-50%)
   - label is absolute so it DOES NOT change marker bounds
=========================== */
.poi-marker {
  position: relative;
  width: 34px;           /* marker bounds = badge bounds */
  height: 34px;
  pointer-events: auto;
}

.poi-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--poi-bg, #0a84ff);
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
}

.poi-badge i {
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

/* label must be absolute so it doesn't shift the anchor */
.poi-label {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,0.85);
  pointer-events: none;
}

/* Slightly smaller labels on phones */
@media (max-width: 575.98px) {
  .poi-label { font-size: 11px; }
}
