.more-dropdown .dropdown-menu {
  max-height: 500px;
  overflow-y: auto;
  padding: 15px;
}

#property-list.loading {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

#property-list.loading::after {
  content: "Loading...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-btn {
  height: 55px;
}
.btn-project {
  background-color: #f57e4b;
  color: white;
  border-radius: 3px;
  height: 55px;
  padding: 0.5rem 1.5rem;
}
.more-dropdown .widget {
  margin-bottom: 0;
}
.agent-image-small {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 20px;
}

.more-dropdown .accordion-button {
  font-size: 0.9rem;
  font-weight: 600;
}

.more-dropdown .accordion-button:not(.collapsed) {
  background: transparent;
  box-shadow: none;
}

.more-dropdown .form-group {
}

.more-dropdown label {
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.more-dropdown .form-control,
.more-dropdown .form-select {
  font-size: 0.8rem;
  padding: 0.3rem 1.75rem;
}

body {
  overflow-x: hidden;
}

.search-container-wrapper {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 998 !important;
  background: white;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.search-container {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.location-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.map-container {
  position: fixed;
  top: 140px;
  left: 0;
  width: 58.3333%;
  height: calc(100vh - 140px);
  z-index: 1;
  margin-top: 2rem;
  margin-left: -11px;
}

#main-maps {
  height: 95%;
  width: 100%;
}
.property-list-container {
  margin-left: 56.3333%;
  width: 44.6667%;
  padding-top: 150px;
  height: 100vh;
  overflow-y: auto;
}

.property-content {
  padding: 20px;
  margin-top: 2rem;
}
#project-autocomplete-results {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.leaflet-popup {
  display: block !important;
  opacity: 1 !important;
}
#project-autocomplete-results .autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

#project-autocomplete-results .autocomplete-item:hover,
#project-autocomplete-results .autocomplete-item.active {
  background-color: #f5f5f5;
}

#project-autocomplete-results .autocomplete-main {
  font-weight: bold;
}

#project-autocomplete-results .autocomplete-secondary {
  font-size: 0.8em;
  color: #666;
}

.fill {
  position: relative;
  z-index: 1;
}

.filtered-count {
  position: relative;
  z-index: 1;
  background: #28a745;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  margin-left: 10px;
}

.draw-controls {
  z-index: 998;
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.draw-controls .btn {
  margin: 2px;
  padding: 8px 12px;
  font-size: 12px;
  border: 1px solid #ddd;

  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.property-card {
  margin-bottom: 20px;
}
.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.autocomplete-item:hover {
  background-color: #f8f9fa;
}

@media (max-width: 991.98px) {
  .property-content {
    padding: 20px;
    margin-top: -10.5rem;
  }
  .map-container {
        position: relative;
        top: -30px;
        width: 100%;
        height: 13rem;
        margin-left: 1px;
  }
  .property-card {
    margin-bottom: 20px;
  }
.draw-controls{
    display: none;
}
  .property-list-container {
    margin-left: 0;
    width: 100%;
  }
#main-maps{
    border-radius: 12px;
}
  .search-container-wrapper {
    position: relative;
    top: auto;
    box-shadow: none;
    padding: 15px 0;
    margin-top: 45px;
  }

 
}
@media (max-width: 575.98px) {
  .search-container {
    flex-direction: column;
  }

  .location-search-wrapper {
    min-width: 100%;
  }
}
.card-img img {
  object-fit: cover;
  height: 240px;
  width: 100%;
}

.card .label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: #e74c3c; 
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.9rem;
}

