/*
 * Map Review Widget — theme variables.
 * Override any of these (either here, or with an inline style="--mrw-pin-color:
 * #hex" on the .mrw-widget container) to reskin the widget per project.
 */
.mrw-widget {
  --mrw-pin-color: #e8544a;
  --mrw-cluster-bg: rgba(39, 163, 175, 0.55);
  --mrw-cluster-bg-inner: rgba(39, 163, 175, 0.85);
  --mrw-cluster-text-color: #ffffff;
  --mrw-popup-location-color: #27a3af;
  --mrw-popup-name-color: #1a1a1a;
  --mrw-popup-text-color: #444444;
  --mrw-popup-star-color: #f5a623;
  --mrw-font-family: inherit;

  position: relative;
  width: 100%;
  height: var(--mrw-height, 500px);
  font-family: var(--mrw-font-family);
}

.mrw-widget .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: var(--mrw-font-family);
  background: #f4f4f4;
}

/* --- Pin marker (inline SVG divIcon, colored via --mrw-pin-color) --- */
.mrw-pin {
  display: block;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}
.mrw-pin svg path {
  fill: var(--mrw-pin-color);
}

/* --- Cluster bubble (replaces the plugin-default green/yellow/orange rings) --- */
.mrw-cluster-icon {
  background: transparent;
}
.mrw-cluster-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--mrw-cluster-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 3px solid var(--mrw-cluster-bg-inner);
}
.mrw-cluster-inner span {
  color: var(--mrw-cluster-text-color);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

/* --- Popup content --- */
.mrw-popup {
  font-family: var(--mrw-font-family);
  max-width: 260px;
}
.mrw-popup-location {
  color: var(--mrw-popup-location-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 4px;
}
.mrw-popup-name {
  color: var(--mrw-popup-name-color);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.mrw-popup-stars {
  color: var(--mrw-popup-star-color);
  font-size: 14px;
  letter-spacing: 1px;
  margin: 0 0 6px;
}
.mrw-popup-text {
  color: var(--mrw-popup-text-color);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.mrw-widget .leaflet-popup-content-wrapper {
  border-radius: 8px;
}
