.acc_logo {
    display: flex;
    justify-content: center;
}

.logo_img {
    width: 150px;
    height: 150px;
}

.state_sec {
    background: #B31942;
    color: white;
}

.city_sec {
    background: #0A3161;
    color: white;
}

.centerpopupdiv {
    cursor: pointer;
}

.select-button::after {
    content: "▼";
    font-size: 0.6rem;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.select-button.active::after {
    transform: rotate(180deg);
}

.select-button {
    cursor: pointer;
    min-width: 220px;
}

.select-options {
    z-index: 999999 !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    display: none;
}

.form-check {
    margin-bottom: 8px;
}

.form-check:last-child {
    margin-bottom: 0;
}

.carousel {
    margin-bottom: 10px;
}

.searchbar {
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px !important;
    justify-content: center;
}


.county_sec {
    background: #0A3161;
    color: white;
}

.acreage_sec {
    background: #28a745;
    color: white;
}

.property_type_sec {
    background: #6f42c1;
    color: white;
}

/* Old carousel control styling - replaced with enhanced visibility styles below */

.avaiunits {
    background-color: rgb(0, 106, 255);
    border-radius: 999px;
    color: rgb(255, 255, 255);
    display: inline-block;
    padding: 2px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    font-family: "Open Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
}

.timenoti {
    background-color: rgba(10, 10, 20, 0.6);
    border-radius: 999px;
    color: rgb(255, 255, 255);
    display: inline-block;
    padding: 2px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    font-family: "Open Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
}

.galmoney {
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    font-family: "Open Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: rgb(42, 42, 51);
}

.galbutton {
    background-color: rgb(255, 255, 255);
    border-color: rgb(167, 166, 171);
    color: rgb(42, 42, 51);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid;
    border-radius: 4px;
    user-select: none;
    padding: 5px 16px;
    margin: 0px;
    appearance: none;
    transition-property: background-color, border-color, color;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    pointer-events: auto;
    outline: none;
    box-shadow: none;
    width: 100%;
    position: relative;
    color: rgb(42, 42, 51);
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    font-family: "Open Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    height: auto;
}

section#hero_download_sec::before {
    z-index: 0 !important;
}

section#hero_download_sec {
    position: relative !important;
    z-index: 2147483640 !important;
}

.filter-container {
    position: relative !important;
    z-index: 2147483645 !important;
}

.filter-item {
    position: relative !important;
    z-index: 2147483646 !important;
}

.filter-item .position-relative {
    z-index: 2147483647 !important;
    position: relative !important;
}

.dropdown-menu,
.dropdown {
    z-index: 2147483647 !important;
}

.container,
.container-fluid {
    position: relative;
}

.filter-container {
    transform: translateZ(0);
}


header#site-header {
    z-index: 100000 !important;
}


.mapsection,
#map,
.mapboxgl-map,
.mapboxgl-canvas-container,
.mapboxgl-canvas,
.detailssection {
    z-index: 1 !important;
}


.navbar {
    z-index: 100000 !important;
}


body,
html {
    position: relative;
}


div[id$="Dropdown"],
#citySuggestions {
    z-index: 2147483647 !important;
}

section#map_sec {
    position: relative;
    z-index: 1 !important;
}

.mapsection {
    position: relative;
    z-index: 1 !important;
}

.select-options {
    display: block;
    z-index: 2147483647 !important;
    position: absolute !important;
    background: white !important;
}


body {
    overflow: auto !important;
    height: auto;
}

.detailssection {

    scroll-behavior: smooth;
}

.mapsection {
    height: 500px;
}

#map {
    height: 100%;
    width: 100%;
}


.mapboxgl-popup {
    max-width: 300px;
}

.mapboxgl-popup-content {
    padding: 15px;
    border-radius: 8px;
}


.custom-marker {
    display: block;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: #0c3160;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.pagination {
    margin: 30px 0;
    justify-content: center;
    gap: 5px;
}


.page-item {
    display: inline-block;
}


.page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 14px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}


.page-link:hover {
    background-color: #e9f2ff;
    color: #0056b3;
    text-decoration: none;
}


.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}


.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.property-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.property-card:hover {
    transform: translateY(-5px);

}


.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}


#loading-more {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 10px 0;
}


.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #0A3161 0%, #B31942 100%);
    color: white;
    border: none;
    border-radius: 0px !important;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}


.modal-backdrop {
    z-index: 2147483646 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.modal {
    z-index: 2147483648 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    z-index: 2147483648 !important;
    position: relative !important;
    width: auto !important;
    margin: 1.75rem !important;
    pointer-events: none;
}

.modal-content {
    position: relative !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius:0px !important;
    outline: 0;
}


.modal.show {
    display: block !important;
}

.modal.fade {
    transition: opacity 0.15s linear;
}

.modal.fade:not(.show) {
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: none;
}


#propertyModal {
    z-index: 2147483648 !important;
}

#propertyModal .modal-dialog {
    z-index: 2147483648 !important;
}

#propertyModal .modal-content {
    z-index: 2147483648 !important;
}

#propertyModal .modal-content p {
    text-align: left !important;
}


.modal-body .row .col-4 .border {
    background: #f8f9fa;
    transition: background-color 0.2s;
}

.modal-body .row .col-4 .border:hover {
    background: #e9ecef;
}


.mobile-app-links a {
    transition: transform 0.2s;
}

.mobile-app-links a:hover {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .searchbar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 15px !important;
    }

    .searchbar > div {
        width: 100% !important;
        max-width: none !important;
    }

    .select-button {
        min-width: unset;
        width: 100%;
        min-height: 44px;
        padding: 10px 16px !important;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .searchbar {
        flex-direction: column;
        gap: 15px !important;
    }

    .searchbar > div {
        width: 100% !important;
    }

    .select-button {
        min-height: 48px;
        padding: 12px 16px !important;
        font-size: 16px;
    }


    .mapsection {
        height: 50vh;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .property-card .col-md-4 {
        padding: 15px !important;
    }


    .searchbar .position-relative {
        width: 100% !important;
        min-width: unset !important;
    }
}


.cluster-popup {
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cluster-popup h6 {
    margin: 0 0 5px 0;
    color: #0c3160;
}

.cluster-popup p {
    margin: 0;
    font-size: 14px;
    color: #666;
}


.gallery_heading {
    background: linear-gradient(135deg, #0A3161 0%, #B31942 100%);
    border-radius: 8px 8px 0 0;
}

.gallery_heading h5 {
    margin: 0;
    font-weight: 600;
}

.gallery_heading h6 {
    margin: 0;
    opacity: 0.9;
    font-weight: normal;
}


/* .detailssection {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.detailssection::-webkit-scrollbar {
    width: 6px;
}

.detailssection::-webkit-scrollbar-track {
    background: transparent;
}

.detailssection::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.detailssection::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255,255,255,0.5);
} */


.btn-load-more {
    background: linear-gradient(135deg, #0A3161 0%, #B31942 100%);
    border: none;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


#property-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}


.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 1.25rem;
}


.carousel-item img {
    border-radius: 8px 8px 0 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 15;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important; /* Remove Bootstrap's default arrows */
    background-size: 0 !important;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* Custom arrow icons for better visibility */
.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-color: white;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon::before {
    border-width: 6px 8px 6px 0;
    border-color: transparent white transparent transparent;
    margin-left: -2px;
}

.carousel-control-next-icon::before {
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent white;
    margin-left: 2px;
}

/* Enhanced visibility on hover */
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
    
    .carousel-control-prev-icon::before,
    .carousel-control-next-icon::before {
        border-width: 5px 6px 5px 0;
    }
    
    .carousel-control-prev-icon::before {
        border-width: 5px 6px 5px 0;
        border-color: transparent white transparent transparent;
    }
    
    .carousel-control-next-icon::before {
        border-width: 5px 0 5px 6px;
        border-color: transparent transparent transparent white;
    }
}

/* Tablet layout: 2 items per row */
@media (min-width: 769px) and (max-width: 1199px) {
    .property-card.col-md-4.col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}


.filter-container {
    margin-bottom: 20px;
    width: 100%;
    z-index: 999999 !important;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    position: relative;
}

.filter-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 15px;
    align-items: center;
}

.filter-item {
    flex: 1;
    min-width: 0;
    max-width: none;
}


.filter-row:first-child .filter-item {
    flex-basis: calc(33.333% - 8px);
    max-width: calc(33.333% - 8px);
}

.filter-row:last-child .filter-item {
    flex-basis: calc(25% - 9px);
    max-width: calc(25% - 9px);
}

.price-filter {
    min-width: 300px;
    max-width: 400px;
}


.clear-filters-compact {
    flex: 0 0 auto;
    flex-basis: calc(25% - 9px);
    max-width: calc(25% - 9px);
}

.clear-filters-compact .btn {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.2s ease;
    width: 100%;
}

.clear-filters-compact .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
}

.clear-filters {
    min-width: 120px;
    max-width: 150px;
    display: flex;
    align-items: flex-end;
}


.state_sec,
.county_sec,
.acreage_sec,
.property_type_sec,
.price_sec {
    background: #B31942;
    color: white;
    border: 2px solid #B31942 !important;
    transition: all 0.2s ease;
    position: relative;
}

.state_sec:hover,
.county_sec:hover,
.acreage_sec:hover,
.property_type_sec:hover,
.price_sec:hover {
    background: #A01739;
    border-color: #A01739 !important;
}


.city-input {
    background: white;
    color: #333;
    border: 2px solid #B31942 !important;
    border-radius: 4px;
    padding: 8px 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.city-input:focus {
    border-color: #B31942 !important;
    box-shadow: 0 0 0 0.2rem rgba(179, 25, 66, 0.25) !important;
    background: white;
}

.city-input::placeholder {
    color: #999;
    font-weight: normal;
}


.select-options,
#stateDropdown,
#countyDropdown,
#acreageDropdown,
#propertyTypeDropdown,
#priceDropdown,
#citySuggestions {
    background: white !important;
    border: 2px solid #B31942 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 2147483647 !important;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    width: 100%;
}


#stateDropdown {
    min-width: 180px !important;
    max-width: 250px !important;
}

#countyDropdown {
    min-width: 200px !important;
    max-width: 300px !important;
}

#acreageDropdown {
    min-width: 180px !important;
    max-width: 220px !important;
}

#propertyTypeDropdown {
    min-width: 200px !important;
    max-width: 280px !important;
}

#priceDropdown {
    min-width: 350px !important;
    max-width: 400px !important;
    padding: 12px !important;
}


#citySuggestions {
    padding: 0 !important;
}

.suggestion-item:hover {
    background-color: #f8f9fa !important;
}


.dropdown-active {
    display: block !important;
    opacity: 1;
    visibility: visible;
}


.price-dropdown {
    background: white !important;
    border: 2px solid #B31942 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 999999 !important;
    min-width: 350px;
    max-width: 400px;
    padding: 12px;
}

.price-filter-container {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.filter-label {
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.price-display {
    margin-bottom: 10px;
}

.price-value {
    color: white;
    font-weight: bold;
    font-size: 13px;
    padding: 2px 8px;
    background: rgba(179, 25, 66, 0.8);
    border-radius: 4px;
}

.dual-range-slider {
    position: relative;
    height: 40px;
    margin: 15px 0;
}

.dual-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #B31942;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    pointer-events: all;
    position: relative;
    z-index: 1;
}

.dual-range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #B31942;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    pointer-events: all;
    position: relative;
    z-index: 1;
}

.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    transform: translateY(-50%);
}

.slider-range {
    position: absolute;
    top: 50%;
    height: 6px;
    background: #B31942;
    border-radius: 3px;
    transform: translateY(-50%);
}

.price-quick-select {
    gap: 4px !important;
}

.price-quick-select .btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-color: #B31942;
    color: #B31942;
}

.price-quick-select .btn:hover {
    background: #B31942;
    border-color: #B31942;
    color: white;
}


.clear-filters .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    width: 100%;
}

.clear-filters .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
}


@media (max-width: 1400px) {
    .filter-row {
        gap: 10px;
    }

    .filter-item {
        min-width: 180px;
        max-width: 250px;
    }

    .price-filter {
        min-width: 280px;
        max-width: 350px;
    }
}


@media (max-width: 1200px) {
    .filter-container {
        padding: 0 15px;
    }

    .filter-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        margin-bottom: 12px;
    }


    .filter-item {
        flex: 1 1 calc(50% - 6px);
        min-width: calc(50% - 6px);
        max-width: calc(50% - 6px);
    }


    .select-button {
        min-height: 44px;
        padding: 10px 16px !important;
        font-size: 15px;
        width: 100%;
    }

    .city-input {
        min-height: 44px;
        padding: 10px 16px !important;
        font-size: 15px;
        width: 100%;
    }

    .clear-filters-compact {
        flex: 1 1 calc(50% - 6px);
        min-width: calc(50% - 6px);
        max-width: calc(50% - 6px);
    }

    .clear-filters-compact .btn {
        min-height: 44px;
        font-size: 15px;
        padding: 10px 20px;
        width: 100%;
    }
}


@media (max-width: 768px) {
    .filter-container {
        padding: 0 15px;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .filter-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        margin-bottom: 0;
    }

    .filter-item {
        width: 100% !important;
        min-width: unset !important;
        max-width: none !important;
        flex: none !important;
        display: block;
    }


    .filter-row .filter-item {
        flex-basis: auto !important;
        min-width: unset !important;
        max-width: none !important;
        width: 100% !important;
    }


    .select-button {
        min-height: 48px;
        padding: 12px 16px !important;
        font-size: 16px;
        min-width: unset;
        width: 100% !important;
        display: block;
    }

    .city-input {
        min-height: 48px;
        padding: 12px 16px !important;
        font-size: 16px;
        width: 100% !important;
        display: block;
    }

    .clear-filters-compact {
        margin-top: 10px;
        width: 100% !important;
        flex: none !important;
        max-width: none !important;
        min-width: unset !important;
    }

    .clear-filters-compact .btn {
        min-height: 48px;
        font-size: 16px;
        padding: 12px 20px;
        width: 100% !important;
        display: block;
    }


    .price-filter-container {
        padding: 15px;
    }

    .price-quick-select {
        justify-content: center;
        gap: 8px !important;
    }

    .price-quick-select .btn {
        font-size: 12px;
        padding: 6px 10px;
        flex: 1;
        min-width: 0;
    }

    .dual-range-slider {
        margin: 20px 0;
    }


    .form-check-label {
        font-size: 16px;
        line-height: 1.4;
        padding: 4px 0;
    }

    .form-check {
        margin-bottom: 12px;
    }

    .suggestion-item {
        padding: 12px 16px !important;
        font-size: 16px;
        min-height: 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}


@media (max-width: 768px) {

    #stateDropdown,
    #countyDropdown,
    #acreageDropdown,
    #propertyTypeDropdown {
        min-width: 200px;
        max-width: 300px;
        left: 0 !important;
        right: auto !important;
    }

    #priceDropdown {
        min-width: 280px;
        max-width: 350px;
        left: 0 !important;
        right: auto !important;
    }


    .select-options {
        max-width: calc(100vw - 40px);
    }
}

@media (max-width: 480px) {
    .filter-container {
        padding: 0 10px;
    }


    #stateDropdown,
    #countyDropdown,
    #acreageDropdown,
    #propertyTypeDropdown {
        min-width: 180px;
        max-width: 250px;
    }

    #priceDropdown {
        min-width: 250px;
        max-width: 300px;
    }

    .price-quick-select {
        flex-direction: column;
        gap: 6px !important;
    }

    .price-quick-select .btn {
        width: 100%;
        font-size: 12px;
        padding: 6px 12px;
    }

    .page-link { 
        font-size: 12px !important;
        padding: 3px 9px !important;
    }

    #priceDropdown {
        min-width: auto !important;
        max-width: 100% !important;
    }

    #stateDropdown {
        min-width: auto !important;
        max-width: 100% !important;
    }

    #acreageDropdown {
        min-width: auto !important;
        max-width: 100% !important;
    }
}

.map-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    border-radius: 8px;
}

.map-loading-content {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(0, 123, 255, 0.2);
    min-width: 200px;
}

.map-loading-content .spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: 0.25em;
}

.map-loading-content p {
    font-size: 14px;
    margin: 0;
    color: #007bff;
}

/* Enhanced progress loading styles */
.map-loading-content .progress {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(0, 123, 255, 0.2);
}

.map-loading-content .progress-bar {
    transition: width 0.5s ease;
    border-radius: 10px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.map-loading-content .fs-4 {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: #0056b3;
}

.map-loading-overlay {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
