/* === Interactive Map Styles === */

/* General layout */
.map-banner {
  background-color: #566E30;
  padding: 1em;
  text-align: center;
}

.map-svg-full {
  display: block;
  margin: auto;
  width: 100%;
  position: relative;
}

.map-button-list {
  display: block;
}

.map-button {
  font-family: inherit;
  font-weight: 600;
  background: #67823A;
  color: white;
  border: none;
  padding: 1em;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  margin: 0.5em;
  border-radius: 5px;
}

.map-button:hover {
  background-color: #003C71;
  cursor: pointer;
}

/* === Province fills (no hover or click) === */
#Land path {
  pointer-events: pointer; /* disables click and hover */
  transition: none;
}

/* Province colors remain static */
.New-Brunswick,
.Newfoundland-and-Labrador,
.Nova-Scotia,
.Ontario,
.Prince-Edward-Island,
.Northwest-Territories,
.Quebec,
.Yukon, .Alberta {
  fill: #f0f1f5;
}

.British-Columbia,
.Manitoba,
.Saskatchewan {
  /* fill: #f4f6fa; */
  fill: #f0f1f5;
}
.British-Columbia:hover, .Manitoba:hover, .Saskatchewan:hover {
  fill:#e7e9ed;
  transition: fill 0.3s ease;
}
.province-hover {
  fill: #e7e9ed !important; /* or your highlight color */
  transition: fill 0.3s ease;
}

/* === Pin styling === */
.map-svg-full .map-pin {
  transition: transform 0.2s ease, filter 0.2s ease;
  pointer-events: all;
  transform-box: fill-box;
  transform-origin: center;
}

.map-svg-full .map-pin:hover {
  transform: scale(1.05);
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(0,0,0,.1));
}

/* === Tooltip styling === */
.svg-tooltip {
  position: fixed;
  z-index: 9999;
  background: #003C71;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-family: inherit, sans-serif;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  display: none;
}


/* === Responsive === */
@media only screen and (max-width: 600px) {
  .map-button {
    width: 90vw;
  }

  .map-svg-full {
    margin: 5% auto;
    width: 100vw;
  }
}
