.amlaki-map {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bs-border-color, rgba(127,127,127,.25));
  z-index: 1;
}
.amlaki-map--tall { height: 520px; }
.leaflet-container { font-family: inherit; }

.amlaki-optional-map {
  border: 1px dashed rgba(127,127,127,.35);
  border-radius: 12px;
  padding: .85rem;
  background: rgba(127,127,127,.04);
}

.amlaki-radius-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.amlaki-radius-chip {
  border: 1px solid rgba(127,127,127,.35);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .8rem;
  line-height: 1.4;
}
.amlaki-radius-chip.is-active {
  background: var(--bs-primary, #0ea5e9);
  border-color: transparent;
  color: #fff;
}

.amlaki-pin {
  background: none !important;
  border: 0 !important;
}
.amlaki-pin__mark {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #0ea5e9;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(14, 165, 233, .35);
}
.amlaki-pin--sale .amlaki-pin__mark { background: #2563eb; box-shadow: 0 6px 14px rgba(37, 99, 235, .35); }
.amlaki-pin--rent .amlaki-pin__mark { background: #0d9488; box-shadow: 0 6px 14px rgba(13, 148, 136, .35); }
.amlaki-pin--search .amlaki-pin__mark { background: #f59e0b; box-shadow: 0 6px 14px rgba(245, 158, 11, .4); }
.amlaki-pin--muted { opacity: .38; }
.amlaki-pin--active .amlaki-pin__mark {
  width: 26px;
  height: 26px;
}

.amlaki-map-item.is-active a { color: var(--bs-primary, #0ea5e9); }

.amlaki-map-filters .form-label {
  font-size: .78rem;
  margin-bottom: .2rem;
}
.amlaki-map-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
}
.amlaki-map-amenities .form-check {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  margin: 0;
}

html[data-theme="light"] .leaflet-bar a {
  background: #fff;
  color: #0f172a;
  border-bottom-color: #e2e8f0;
}
html[data-theme="light"] .leaflet-bar a:hover {
  background: #f8fafc;
}
html[data-theme="light"] .leaflet-control-attribution {
  background: rgba(255, 255, 255, .88);
  color: #64748b;
}
html[data-theme="light"] .leaflet-popup-content-wrapper,
html[data-theme="light"] .leaflet-popup-tip {
  background: #fff;
  color: #0f172a;
}

html[data-theme="light"] .amlaki-public-map .amlaki-radius-chip {
  background: #fff;
  border-color: #e2e8f0;
  color: #334155;
}
html[data-theme="light"] .amlaki-public-map .amlaki-radius-chip.is-active {
  background: var(--afram-accent, #0284c7);
  border-color: transparent;
  color: #fff;
}
html[data-theme="light"] .amlaki-public-map .amlaki-map-item {
  border-bottom-color: #e2e8f0 !important;
}
html[data-theme="light"] .amlaki-public-map .amlaki-map-item a {
  color: #0f172a;
}
html[data-theme="light"] .amlaki-public-map .amlaki-map-item .text-muted {
  color: #64748b !important;
}
html[data-theme="light"] .amlaki-public-map .form-hint {
  color: #64748b;
}
