.ld-border {
  pointer-events: none;
}

#hover-tooltip {
  position: absolute;
  display: none;
  background-color: white;
  border: 1px solid #F5F5F5;
  box-shadow: 0 3px 3px rgba(0,0,0,0.3);
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  max-width: 240px;
  padding: 10px;
  z-index: 9999;
  pointer-events: none;
}

body.frozen-active #tooltip { display: none !important; }
body.frozen-active [data-id] { pointer-events: none !important; }
body.frozen-active .selected-area {
  fill: #58595B !important;
  stroke: #58595B !important;
}
body.frozen-active .selected-label {
  fill: white !important;
  font-weight: 700 !important;
}

#frozen-tooltip {
  background-color: white;
  border: 1px solid #F5F5F5;
  box-shadow: 0 3px 3px rgba(0,0,0,0.3);
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  max-width: 240px;
  padding: 10px;
  position: absolute;
  display: none;
  z-index: 9999;
}

#close-frozen-tooltip {
  position: absolute;
  top: 6px;
  right: 8px;
  padding-bottom: 10px;
  cursor: pointer;
}

.map-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 4px;
  gap: 12px;
}

/* Dropdown to choose a map*/
.map-dropdown {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  border: 1px solid #CCC;
  border-radius: 3px;
  padding: 8px 12px;
  background-color: white;
}

.map-dropdown::after { content: " ▾"; }

#map-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #CCC;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  min-width: 240px;
  z-index: 100;
}

#map-dropdown-menu.open { display: block; }

.map-dropdown-item { padding: 8px 12px; }
.map-dropdown-item:hover { background-color: #FAEED3; }
.map-dropdown-item.active { font-weight: 700; color: #E5A923; }


.legend-box { 
  flex: 1 1 300px;
  flex-wrap: wrap;
  justify-content: center; 
  align-items: center;
  text-align: center;
  margin: 0 auto; 
  font-family: 'Plus Jakarta Sans', sans-serif; 
  min-height: 56px !important;
}

.legend-title { 
  display: flex; 
  justify-content: center; 
  width: 100%;
  font-weight: 700; 
  margin-bottom: 10px; 
  font-size: 20px; 
  flex-wrap: wrap;
}

.legend-key-box { 
  display: flex; 
  column-gap: 30px;
  justify-content: center; 
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

.legend-key-label { display: flex; gap: 6px; flex-wrap: wrap; align-items: center;}
.legend-label { display: flex; align-items: center; gap: 4px; font-size: 16px; }
.legend-key { width: 25px; height: 12px; display: inline-block; border-radius: 1px; }

.caption-box { 
  display: flex; 
  justify-content: center; 
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

.caption-text {
  display: flex;
  justify-content: flex-start;
  width: 800px;
  margin-top: 0px;
  font-size: 14px;
  font-style: italic;
}