/* ─── TOGGLE BUTTONS ─── */
.bee_state_map__view_btn {
  padding: 7px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bee_state_map__view_btn:hover {
  border-color: #16a34a;
  color: #16a34a;
}

.bee_state_map__view_active {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.bee_state_map__view_active:hover {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}

/* ─── MAP CONTAINER ─── */
.bee_state_map__container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  margin-top: 16px;
}

#bee_state_district_map {
  width: 100%;
  height: 520px;
}

/* ─── TOOLTIP WRAPPER ─── */
.bee_state_map__leaflet_tooltip {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bee_state_map__leaflet_tooltip::before {
  display: none !important;
}

/* ─── TOOLTIP CARD ─── */
.bee_state_map__tooltip {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  min-width: 180px;
  font-family: 'Inter', sans-serif;
}

.bee_state_map__tooltip_header {
  background: #1E2761;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  letter-spacing: 0.02em;
}

.bee_state_map__tooltip_body {
  padding: 14px 16px;
}

.bee_state_map__tooltip_row {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.bee_state_map__tooltip_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bee_state_map__tooltip_number {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.bee_state_map__tooltip_label {
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* ─── LEGEND ─── */
.bee_state_map__legend {
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  line-height: 1.8;
}

.bee_state_map__legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  opacity: 0.85;
}
