.filter-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 0.75px solid #bab9b9;
  background: #fff;
  gap: 10px;
  border-top: none;
}

.filter-field:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-top: 0.5px solid #dedede;
}

.filter-field:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.filter-icon {
  transition: transform 0.2s ease-in-out;
}
.open-filter-button {
  background-color: #fff;
}
.close-filter-button {
  background-color: #f7f9fc;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.filter-content {
  display: block;
  max-height: 200px;
  padding: 10px 15px;
  overflow-y: auto;
  position: relative;
}

.filter-field-item .head {
  padding: 14px 15px;
}

.filter-content.hidden-content {
  display: none !important;
}

.filter-button-container {
  margin-top: 15px;
}

.btn-primary {
  background-color: #1849A9 !important;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.dropdown-button {
  display: flex;
  padding: 8px 12px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 8px;
  border: 0.5px solid var(--Stroke, #b8b8b8);
  cursor: pointer;
}

.dropdown-container {
  position: relative;
  overflow: visible !important;
}

.dropdown-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.dropdown-list label {
  margin-bottom: 0;
}

.dropdown-list ul {
  margin-top: 12px;
}

.dropdown-list {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 9999;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 396px;
  overflow-y: auto;
  top: 43px;
  width: 100%;
  padding: 10px;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
}

.popover-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9998;
  display: block;
}

.dropdown-label {
  color: #676666;
  font-family: "Inter", sans-serif !important;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
}

.dropdown-quantity {
  color: #676666;
  font-family: "Inter", sans-serif !important;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
}

#clearSelectionsButton {
  font-family: "Inter", sans-serif !important;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  width: 100%;
  line-height: normal;
  text-align: center;
  display: block;
}

.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: #000;
  z-index: 999;
  display: none;
}

.no-results-container {
  text-align: center;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.no-results-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.no-results-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.housing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .housing-grid {
    grid-template-columns: 1fr;
  }

  .breadcrumb-item {
    font-size: 12px !important;
  }

  .popover {
    max-width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .housing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tablet-hidden {
    display: none !important;
  }
}

.selected-filters {
  display: flex;
  flex-wrap: wrap;
}

.filter-tag {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 2px 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
  margin: 2px !important;
}

.filter-tag .filter-label {
  font-weight: bold;
  margin-right: 5px;
  font-size: 13px;
}

.filter-tag .filter-value {
  font-size: 12px;
}

.filter-tag .remove-filter {
  background: none;
  border: none;
  color: #333;
  font-size: 8px;
  cursor: pointer;
}

.custom-breadcrumb {
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
}

.breadcrumb-item {
  color: #000;
  text-align: center;
  font-family: "Inter", sans-serif !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.breadcrumb-separator {
  margin: 0 5px;
  color: black;
}

.hidden-filters {
  display: none !important;
}