.modal_maps {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  font-family: "Inter", "Noto Sans HK", "Roboto", sans-serif;
}

[hidden] {
  display: none !important;
}

.modal_maps[aria-hidden=false] {
  display: block;
}

.modal_maps__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.modal_maps__panel {
  position: relative;
  width: min(640px, 96%);
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.modal_maps__close {
  position: absolute;
  top: 12px;
  right: 8px;
  background: #fff;
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 1px solid #fff;
}
.modal_maps__close img {
  width: 10px;
  height: 10px;
}

.maps_canvas {
  position: relative;
  width: 600px;
  height: 390px;
  aspect-ratio: 400/260;
  border-radius: 12px;
  overflow: hidden;
}

.maps_base {
  width: 600px;
  height: 390px;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.maps_lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map_line {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 6 6;
  opacity: 0.9;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

.map_line.is-stamped {
  stroke: #bd1b21;
  stroke-dasharray: 0;
}

/* Pin buttons */
.map_pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  max-width: 185px;
  text-align: center;
  text-wrap: nowrap;
}

.pin_label {
  background: #fff;
  color: #2bbbed;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  gap: 8px;
  align-items: center;
}
.pin_label .location_tbd {
  width: 15px;
  height: auto;
  display: block;
}
.pin_label .location_done {
  height: auto;
  width: 15px;
  display: none;
}

.map_pin.is-stamped .location_done {
  display: block;
}
.map_pin.is-stamped .location_tbd {
  display: none;
}

.map_pin.is-stamped .pin_label {
  background: #2bbbed;
  color: #fff;
}

.map_pin:focus-visible .pin_label {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.map_pin:active {
  transform: translate(-50%, -48%);
}

.maps_legend {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #fff;
  justify-content: center;
  font-weight: 600;
}

.legend_item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend_dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px #fff inset;
}

.legend_dot--stamped {
  background: #bd1b21;
  box-shadow: 0 0 0 2px #bd1b21 inset;
}

.legend_dot--pending {
  background: #fff;
}

@media (max-width: 520px) {
  .maps_canvas {
    aspect-ratio: 400/300;
  }
}/*# sourceMappingURL=modalMaps.css.map */