/* Custom styling for FeLSA CISL Portal */

/* Custom Scrollbar for Region List and Main Body */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}
html {
  scroll-behavior: smooth;
}

/* Map min-height rule */
#leaflet-map-element {
  min-height: 320px;
}

/* Custom classes for dynamically generated markers & popups on the map */
.custom-marker-inner {
  width: 32px;
  height: 32px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


.custom-marker-label {
  font-size: 11px;
  line-height: 1;
}

.popup-container {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  padding: 4px;
  color: #1e293b; /* text-slate-800 */
  min-width: 180px;
}

.popup-type-lbl {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: #2563eb; /* text-blue-600 */
  margin: 0 0 2px 0;
  letter-spacing: 0.05em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.popup-title {
  font-weight: 700;
  font-size: 12px; /* text-xs */
  color: #0f172a; /* text-slate-900 */
  line-height: 1.375;
  margin: 0 0 4px 0;
}

.popup-details-container {
  font-size: 12px; /* text-xs */
  color: #475569; /* text-slate-600 */
}

.popup-p-margin {
  margin: 0 0 4px 0;
}

.popup-p-nomargin {
  margin: 0;
}
