.carousel-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-indicator.active {
    background-color: white !important;
}

#contact-modal {
    transition: opacity 0.3s ease-in-out;
}

#filter-container {
    position: relative;
}

#filter-panel {
    width: auto;
    position: static;
    left: auto;
    height: auto;
    box-shadow: none;
    overflow-y: visible;
    padding-top: 0;
}


@media (max-width: 1023px) {
    #filter-panel {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background-color: white;
        z-index: 50;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        box-shadow: 3px 0 5px rgba(0, 0, 0, 0.2);
        padding-top: 20px;
        display: none;
    }

    #filter-panel.active {
        left: 0;
        display: block;
    }

    #filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 40;
        display: none;
    }

    #filter-overlay.active {
        display: block;
    }
}

.slider-track {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #d5d5d5;
    position: relative;
}

.slider-range {
    position: absolute;
    border-radius: 5px;
    background: #29e299;
    height: 5px;
}

.range-slider {
    pointer-events: none;
    -webkit-appearance: none;
    position: absolute;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    outline: none;
    background: transparent;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.range-slider::-webkit-slider-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #29e299;
    cursor: pointer;
    -webkit-appearance: none;
}

.range-slider::-moz-range-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #29e299;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.range-slider::-moz-range-thumb:active {
    transform: scale(1.2);
}

.slider.leasing::-webkit-slider-thumb {
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #059669;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2)
}

.slider.leasing::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #059669;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2)
}

.slider.leasing::-webkit-slider-track {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb
}

.slider.leasing::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb
}
