/* Map-specific styles */

.leaflet-popup-content-wrapper {
  border-radius: 6px;
  font-family: 'Source Sans Pro', sans-serif;
}
.leaflet-popup-content {
  margin: 12px 16px;
  line-height: 1.5;
}
.popup-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 0.3em;
}
.popup-meta {
  font-size: 0.8rem;
  color: #8C8279;
  margin-bottom: 0.5em;
}
.popup-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #B8860B;
  text-decoration: none;
}
.popup-link:hover {
  color: #1B3A5C;
}

/* Custom marker styles */
.exchange-marker {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.15s;
}
.exchange-marker:hover {
  transform: scale(1.3);
  z-index: 1000 !important;
}

/* Marker cluster styles */
.marker-cluster {
  background-clip: padding-box;
  border-radius: 20px;
}
.marker-cluster div {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  margin-top: 5px;
  text-align: center;
  border-radius: 15px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 30px;
}
.marker-cluster-small {
  background-color: rgba(27, 58, 92, 0.3);
}
.marker-cluster-small div {
  background-color: rgba(27, 58, 92, 0.7);
  color: #fff;
}
.marker-cluster-medium {
  background-color: rgba(184, 134, 11, 0.3);
}
.marker-cluster-medium div {
  background-color: rgba(184, 134, 11, 0.7);
  color: #fff;
}
.marker-cluster-large {
  background-color: rgba(139, 0, 0, 0.3);
}
.marker-cluster-large div {
  background-color: rgba(139, 0, 0, 0.7);
  color: #fff;
}

/* Filter legend */
.filter-section {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #D6CFC6;
}
.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-section h4 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1B3A5C;
  margin: 0 0 0.5em;
}
