/* ==========================================================================
   Service Map
   ========================================================================== */

.service-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.service-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Pins
   ========================================================================== */

.map-pin {
  cursor: pointer;
  outline: none;
}

.map-pin circle:first-child {
  transition: transform 0.35s ease;
  transform-box: fill-box;
  transform-origin: center;
}

/* EXTRA GROTE HOVER EFFECT (+50% EXTRA) */
.map-pin:hover circle:first-child,
.map-pin:focus circle:first-child {
  transform: scale(2.7);
}

/* ==========================================================================
   Tooltip
   ========================================================================== */

.map-tooltip {
  position: absolute;
  background: #ffffff;
  color: #222222;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 20;
  min-width: 180px;
}

.map-tooltip.visible {
  opacity: 1;
}

.map-tooltip-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.map-tooltip-text {
  font-size: 14px;
  line-height: 1.4;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .map-tooltip {
    min-width: 140px;
    font-size: 13px;
    padding: 8px 10px;
  }
}

.service-map-modal[hidden] {
  display: none;
}

.service-map-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.service-map-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.service-map-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 360px);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-map-close {
  position: absolute;
  right: 10px;
  top: 6px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
}

.service-map-modal-title {
  margin: 0 30px 10px 0;
  font-size: 22px;
  line-height: 1.2;
}

.service-map-modal-text {
  font-size: 16px;
  line-height: 1.5;
}

.service-map-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 360px);
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);

  /* 👇 BELANGRIJK */
  color: #111111;
}

.service-map-modal-title {
  color: #111111;
  font-weight: 600;
}

.service-map-modal-text {
  color: #333333;
}

.service-map-close {
  color: #111111;
}

.service-map-modal-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-map-modal-text {
  font-size: 15px;
  line-height: 1.5;
}