@import url(https://fonts.googleapis.com/css2?family=Coral+Pixels&display=swap);

.coral-pixels-regular {
  font-family: "Coral Pixels", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
}


body {
  font-family: 'Inter', sans-serif;
  margin: 0;
}

#map {
  height: calc(100vh - 60px); /* leave room for a header/footer */
}

/* refers to the html div with id "control-panel" and gives style info */
/* Panel base styling */
.panel {
  position: fixed;
  bottom: 3vh;   /* below header/toggle */
  left: 2vw;
  width: 80vw;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 12px;
  transition: transform 0.3s ease;
  z-index: 1000;
  line-height: 2;
}

/* Hidden state (slide out of view) */
.panel.hidden {
  transform: translateX(-110%);
}

/* Visible state (slide into place) */
.panel.visible {
  transform: translateX(0);
}

/* Toggle button */
.toggle-btn {
  position: fixed;
  bottom: 3vh;
  right: 2vw;
  width: 48px;
  height: 48px;
  max-width: 10vw;
  z-index: 1100;
  font-size: 22px;
  background: rgba(255,255,255,0.9);
  border: 2px solid lightgray;
  border-radius: 2px;
  padding: 1px 1px; 
  cursor: pointer;
}

/* Mobile tweak: full-width panel */
@media (max-width: 600px) {
  .panel {
    width: 70vw;
    left: 5vw;
    bottom: 5vw;
  }
  .toggle-btn {
    min-width: 48px;
    min-height: 48px;
  }
}

/* Remove tooltip arrow entirely */
.leaflet-tooltip.distance-label::before,
.leaflet-tooltip.distance-label::after {
  display: none !important;
}

.leaflet-tooltip.distance-label {
  background: transparent; /* no background box */
  border: none;             /* no border */
  padding: 0;               /* remove padding */
  box-shadow: none;         /* no shadow box */

  color: black;             /* main text color */
  font-size: 14px;
  font-weight: 600;

  /* white outline around black text */
    text-shadow:
    -1px -1px 0 white,
     0   -1px 0 white,
     1px -1px 0 white,
     1px  0   0 white,
     1px  1px 0 white,
     0    1px 0 white,
    -1px  1px 0 white,
    -1px  0   0 white;
}

.leaflet-tooltip.shop-label {
  background: transparent; /* no background box */
  border: none;             /* no border */
  padding: 0;               /* remove padding */
  box-shadow: none; 
  text-align: center;        /* no shadow box */

  color: black;             /* main text color */
  font-size: 14px;
  font-weight: 600;

  /* white outline around black text */
    text-shadow:
    -1px -1px 0 white,
     0   -1px 0 white,
     1px -1px 0 white,
     1px  0   0 white,
     1px  1px 0 white,
     0    1px 0 white,
    -1px  1px 0 white,
    -1px  0   0 white;
}

/* assets/cluster.css */
.marker-cluster {
    align-items: center;
    justify-content: center;
    font-weight: 600px;
    color: white;
    text-shadow:
    -1px -1px 0 #000,
     0   -1px 0 #000,
     1px -1px 0 #000,
     1px  0   0 #000,
     1px  1px 0 #000,
     0    1px 0 #000,
    -1px  1px 0 #000,
    -1px  0   0 #000;
    width: 100%;
    height: 100%;
}

/* floating box container - fixed so it hovers over the viewport (map) */
#bench-link-box {
  position: fixed;        /* keep it above the map and viewport */
  top: 12px;              /* distance from top */
  left: 50%;              /* start halfway */
  transform: translateX(-50%); /* center horizontally */
  z-index: 2000;          /* higher than map controls */
  pointer-events: none;   /* clicks pass through — inner element will accept clicks */
}

/* inner clickable block must accept pointer events */
#bench-link-inner {
  pointer-events: auto;
  background: rgba(255,255,255,0.9);
  color: #000;  /* white text */
  padding: 12px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  display: inline-block;
}

/* link styling inside (if you keep <a> inside) */
#bench-link-inner:link,
#bench-link-inner:visited {
  color: #000;
  text-decoration: none;
}

/* responsive tweak */
@media (max-width: 600px) {
  #bench-link-inner {
    font-size: 14px;
    padding: 2vw;
  }
}
