
/* ======================================
   SID 2026 - PARTICIPATION MAP
====================================== */

.sid-map-wrapper {
  width: 100%;
  margin: 25px auto;
  font-family: inherit;
}

.sid-map-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  width: 100%;
}

.sid-map-controls input,
.sid-map-controls select {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d5dce5;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 15px;
}

.sid-map-controls input {
  flex: 1;
}

.sid-map-controls select {
  width: 240px;
}

.sid-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 12px 0 18px;
  font-size: 14px;
}

.sid-map-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sid-map-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.sid-map {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 600px;
  min-height: 350px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #e9edf0;
  overflow: hidden;
}

.sid-map .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: inherit;
}

.sid-map-loading {
  padding: 15px;
  text-align: center;
  color: #555;
  background: #f5f7f9;
  border-radius: 5px;
  margin-bottom: 10px;
}

.sid-map-count {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
  text-align: right;
}

/* Popup */

.sid-popup {
  min-width: 190px;
  max-width: 280px;
  padding: 3px;
  color: #333;
}

.sid-popup-category {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.sid-popup h3 {
  margin: 0 0 8px;
  padding: 0;
  font-size: 17px;
  line-height: 1.4;
  color: #222;
}

.sid-popup-location {
  margin-bottom: 10px;
  font-size: 12px;
  color: #777;
}

.sid-popup-message {
  padding: 12px;
  margin-top: 10px;
  background: #f4f6f8;
  border-left: 3px solid #2878c8;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Marker clusters */

.sid-map .marker-cluster-small,
.sid-map .marker-cluster-medium,
.sid-map .marker-cluster-large {
  background-color: rgba(40, 120, 200, .25);
}

.sid-map .marker-cluster-small div,
.sid-map .marker-cluster-medium div,
.sid-map .marker-cluster-large div {
  background-color: rgba(40, 120, 200, .85);
  color: #fff;
  font-weight: 700;
}

/* Responsive */

@media (max-width: 650px) {

  .sid-map-controls {
    flex-direction: column;
  }

  .sid-map-controls input,
  .sid-map-controls select {
    width: 100%;
    min-height: 45px;
  }

  .sid-map {
    height: 430px;
    min-height: 300px;
  }

  .sid-map-legend {
    gap: 10px;
    font-size: 12px;
  }

}
