.legend-dot,
.logged-user img {
  width: 20px;
  height: 20px;
}

/* ── Google Maps InfoWindow card ── */
.gm-style-iw-c {
  border-radius: 14px !important;
  padding: 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16) !important;
  min-width: 260px !important;
  max-width: 320px !important;
  overflow: hidden !important;
}

.gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
}

.gm-ui-hover-effect {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 40px !important;
  height: 40px !important;
  background: transparent !important;
  opacity: 1 !important;
  margin: 0 !important;
}

.gm-ui-hover-effect img,
.gm-ui-hover-effect span {
  filter: brightness(0) invert(1) !important;
  opacity: 0.8 !important;
}

.gm-ui-hover-effect:hover img,
.gm-ui-hover-effect:hover span {
  opacity: 1 !important;
}

/* ── Popup card inner layout ── */
.mpi-wrap {
  font-family: inherit;
  font-size: 0.83rem;
}

.mpi-header {
  background: #42577f;
  color: #fff;
  padding: 10px 44px 10px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  min-height: 44px;
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.mpi-rows {
  padding: 10px 16px 8px;
}

.mpi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #f2f2f2;
  gap: 14px;
}

.mpi-row:last-child {
  border-bottom: none;
}

.mpi-label {
  color: #999;
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.mpi-value {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.82rem;
  text-align: right;
}

.mpi-empty {
  padding: 12px 0;
  color: #adb5bd;
  font-size: 0.78rem;
  text-align: center;
}

/* ── Popup footer ── */
.mpi-footer {
  display: flex;
  flex-direction: row;
  gap: 6px;
  padding: 10px 12px 12px;
  background: #f8f9fb;
  border-top: 1px solid #eaecef;
}

.mpi-footer-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
  text-align: center;
}

.mpi-btn-models {
  background: #42577f;
  color: #fff !important;
}

.mpi-btn-models:hover {
  background: #364769;
  text-decoration: none;
}

.mpi-btn-inquire {
  background: #fff;
  color: #42577f !important;
  border: 1.5px solid #d0d8e8;
}

.mpi-btn-inquire:hover {
  border-color: #42577f;
  text-decoration: none;
}

/* ── Sidebar section labels ── */
.sidebar-section-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #adb5bd;
  margin-bottom: 6px;
}

/* ── Status chips ── */
.status-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px 10px 16px;
  border-radius: 20px;
  border: 1.5px solid #e0e3e8;
  background: #fff;
  line-height: normal;
  font-size: 0.78rem;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.status-chip:hover {
  border-color: #42577f;
  background: #eef1f7;
  color: #42577f;
  text-decoration: none;
}

.status-chip.active {
  border-color: #42577f;
  background: #42577f;
  color: #fff;
  text-decoration: none;
}

.status-chip.active:hover {
  background: #364769;
  border-color: #364769;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

/* ── Amenity list ── */
.amenity-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.amenity-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
  background: transparent;
}

.amenity-list-item:hover {
  background: #fdf2f1;
  text-decoration: none;
}

.amenity-list-item:hover .amenity-item-label {
  color: #de5945;
}

.amenity-list-item.active {
  background: #fdf2f1;
  border-color: #de5945;
}

.amenity-list-item.active .amenity-item-label {
  color: #de5945;
  font-weight: 600;
}

.amenity-list-item.active .amenity-icon-wrap {
  background: #de5945;
  border-radius: 6px;
}

.amenity-list-item.active .amenity-icon-wrap img {
  filter: brightness(0) invert(1);
}

.amenity-icon-wrap {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
  background: #f5f5f5;
  transition: background 0.15s ease;
}

.amenity-icon-wrap img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.amenity-item-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #495057;
  line-height: 1.2;
  transition: color 0.15s ease;
}

/* ── Amenity toggle switch ── */
.amenity-cb {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.amenity-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 6px 2px;
  user-select: none;
  gap: 10px;
  margin: 0;
}

.amenity-toggle-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.84rem;
  color: #495057;
  transition: color 0.2s ease;
}

.amenity-toggle-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #6c757d;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.amenity-switch-track {
  display: block;
  width: 44px;
  height: 24px;
  background: #ced4da;
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.amenity-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

/* Checked state */
.amenity-cb:checked + .amenity-toggle-row .amenity-toggle-left {
  color: #42577f;
}

.amenity-cb:checked + .amenity-toggle-row .amenity-toggle-icon {
  background: #42577f;
  color: #fff;
}

.amenity-cb:checked + .amenity-toggle-row .amenity-switch-track {
  background: #42577f;
}

.amenity-cb:checked + .amenity-toggle-row .amenity-switch-thumb {
  transform: translateX(20px);
}

/* community page */
.community-lotmap-section {
  position: relative;
  background: linear-gradient(to bottom, #f8f9fb 0%, #eef1f5 100%);
  overflow: hidden;
  z-index: 99999999999 !important;
}

.community-lotmap-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 50%;
}

.community-lotmap-section::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -140px;
  width: 360px;
  height: 360px;
  background: rgba(0, 0, 0, 0.025);
  border-radius: 50%;
}

.lotmap-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  margin-bottom: 18px;
  border-radius: 100px;
  background: #ffffff;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.lotmap-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #111;
  margin-bottom: 20px;
}

.lotmap-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #6b7280;
}

.lotmap-card {
  z-index: 2;
  background: #fff;
  border-radius: 28px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

@media (max-width: 991px) {
  .community-lotmap-section {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  .lotmap-card {
    padding: 18px;
    border-radius: 22px;
  }

  .lotmap-subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}
