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

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

.filter-icon {
    transition: transform 0.2s ease-in-out;
}

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

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


.filter-field-item .head {
    padding: 10px 12px;
    border-bottom: 0.5px solid #dedede;
}

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

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

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

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

.dropdown-button {
    display: flex;
    padding: 12px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 12px;
    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: #000;
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-right: 5px
}

.dropdown-quantity {
    color: #000;
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#clearSelectionsButton {
    font-family: Montserrat;
    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;
    gap: 10px;
}

.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: 16px;
    cursor: pointer;
    margin-left: 8px;
}

.custom-breadcrumb {
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
}
.breadcrumb-item {
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.breadcrumb-separator {
    margin: 0 5px;
    color: black;
}
.hidden-filters {
    display: none !important;
}
