/* ===========================================
   Map Zones — Carte interactive Mapbox
   =========================================== */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.map-zones {
  padding: 80px 0 60px;
}
.map-zones__header {
  margin-bottom: 40px;
  animation: fadeSlideIn 0.6s ease both;
}
.map-zones__wrapper {
  display: flex;
  gap: 0;
  border-radius: 5px;
  overflow: hidden;
  animation: fadeSlideIn 0.6s ease 0.15s both;
}
.map-zones__sidebar {
  width: 320px;
  min-width: 320px;
  /* background: #fff; */
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 600px;
}
.map-zones__card {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.map-zones__card:hover,
.map-zones__card--active {
  background: #f8f9fa;
  border-color: #ddd;
}
.map-zones__card:hover::before,
.map-zones__card--active::before {
  width: 5px;
}
.map-zones__card-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}
.map-zones__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #999;
}
.map-zones__card-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zone-color);
  flex-shrink: 0;
}
.map-zones__card-email {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}
.map-zones__card-email:hover {
  color: var(--pbmit-heading-color);
}
.map-zones__map {
  flex: 1;
  height: 560px;
  min-height: 560px;
}
.map-zones__legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 20px 0 0;
  animation: fadeSlideIn 0.6s ease 0.3s both;
}
.map-zones__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-zones__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-zones__legend-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}
/* ===========================================
   Mapbox popup overrides
   =========================================== */
.mapboxgl-popup-content {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 16px 18px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1) !important;
  border: none !important;
}
.mapboxgl-popup-tip {
  border-top-color: #fff !important;
}
.map-zones-popup {
  display: flex;
  flex-direction: column;
}
.map-zones-popup__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}
.map-zones-popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #999;
}
.map-zones-popup__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zone-color);
  flex-shrink: 0;
}
.map-zones-popup__email {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #999;
  text-decoration: none;
}
.map-zones-popup__email:hover {
  color: var(--pbmit-heading-color);
}
/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 991px) {
  .map-zones {
    padding: 60px 0 40px;
  }
  .map-zones__sidebar {
    width: 260px;
    min-width: 260px;
  }
  .map-zones__map {
    height: 500px;
    min-height: 500px;
  }
  .map-zones__legend {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .map-zones {
    padding: 50px 0 30px;
  }
  .map-zones__wrapper {
    flex-direction: column;
  }
  .map-zones__sidebar {
    width: 100%;
    min-width: 100%;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px;
    gap: 10px;
    order: 2;
    -webkit-overflow-scrolling: touch;
  }
  .map-zones__card {
    min-width: 220px;
    flex-shrink: 0;
  }
  .map-zones__map {
    height: 400px;
    min-height: 400px;
    order: 1;
  }
  .map-zones__legend {
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .map-zones__map {
    height: 320px;
    min-height: 320px;
  }
  .map-zones__card {
    min-width: 200px;
    padding: 14px 14px 12px;
  }
  .map-zones__legend {
    display: none;
  }
}
/*# sourceMappingURL=_map-zones.css.map */