/* ============================================================
   PHOTO MAP SIDEBAR — Compact Tiered Cluster Theme
   ============================================================ */

#photo-map-sidebar {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   Thumbnail Pins
   ============================================================ */
.pms-thumb-pin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pms-thumb-pin:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(178, 51, 138, 0.4);
}

/* ============================================================
   Popup Styling
   ============================================================ */
.pms-popup {
  max-width: 240px;
}
.pms-popup-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}
.pms-popup-title {
  font-weight: 600;
  color: #b2338a;
  margin-top: 6px;
}
.pms-popup-info {
  font-size: 12.5px;
  color: #666;
  margin-top: 4px;
}

/* ============================================================
   Cluster Styling — Compact, Tiered by Count
   ============================================================ */

/* Base cluster bubble (applies to all) */
.marker-cluster div {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  border: 2px solid #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* ============================================================
   Cluster Color & Size Tiers
   ============================================================ */

/* 1–9 photos — light pastel pink */
.marker-cluster-small div {
  width: 28px;
  height: 28px;
  background: linear-gradient(to bottom, #ffd8eb, #ff7fc0);
  font-size: 11px;
}

/* 10–99 photos — medium pink */
.marker-cluster-medium div {
  width: 34px;
  height: 34px;
  background: linear-gradient(to bottom, #ff9dd0, #e84b9d);
  font-size: 12px;
}

/* 100–999 photos — bold fuchsia */
.marker-cluster-large div {
  width: 40px;
  height: 40px;
  background: linear-gradient(to bottom, #ff5bad, #b2338a);
  font-size: 13px;
}

/* 1000+ photos — deep magenta */
.marker-cluster-xl div {
  width: 46px;
  height: 46px;
  background: linear-gradient(to bottom, #d91d8e, #8f1c6a);
  font-size: 12px;
}

/* Hover pop effect — soft glow */
.marker-cluster:hover div {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(178, 51, 138, 0.55);
  filter: brightness(1.08);
}