/* ---------- Base ---------- */

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  display: flex;
  background: #fff;
  color: #111;
}

#page-title {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 30px;
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #111;

  text-decoration: underline;
  text-underline-offset: 10px;

  z-index: 10;
  pointer-events: none;
}


/* ---------- Layout ---------- */

#list {
  width: 30%;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
  border-right: 1px solid #e5e5e5;
}

#map {
  width: 70%;
  height: 100vh;
  z-index: 0;
}



/* ---------- Filters ---------- */

#filters {
  margin-bottom: 16px;
}

button {
  padding: 6px 10px;
  margin-right: 6px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 13px;
}

button:hover {
  background: #eee;
}



/* ---------- List Typography ---------- */

.list-item {
  padding: 12px 0;
  //border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.list-item:last-child {
  border-bottom: none;
}

.spot-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

.spot-vibe {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}

.list-item:hover .spot-name {
  text-decoration: underline;
}



/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: auto;
}

.modal.hidden {
  display: none !important;
}

.modal-content {
  background: #fff;
  padding: 24px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 10000;
}

#modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal img {
  width: 100%;
  margin-top: 12px;
  display: block;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;

}




.custom-marker {
  width: 10px;
  height: 10px;
  background: #0303fc;
  border-radius: 50%;
  opacity: 0.8;
  cursor: pointer;

  /* 🔑 allow map dragging */
  pointer-events: auto;
}


