/* ========================================
		   FILTER COUNT BADGE STYLES
		   ======================================== */
.filter-count {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
    background-color: white;
    color: #8b5cf6;
}

.filter-button.active .filter-count {
    background-color: white;
    color: #8b5cf6;
}

.filter-count.hidden {
    display: none;
}

/* ========================================
    RANGE SLIDER STYLES
======================================== */
.range-slider {
    position: relative;
    width: 100%;
    height: 40px;
}

.range-slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
}

.range-slider-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background-color: #5a60ec;
    border-radius: 2px;
    pointer-events: none;
}

.range-slider-input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 3;
}

/* Webkit Slider Thumb */
.range-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #5a60ec;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.range-slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Mozilla Slider Thumb */
.range-slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #5a60ec;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.range-slider-input::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Slider Track Reset */
.range-slider-input::-webkit-slider-track {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.range-slider-input::-moz-range-track {
    background: transparent;
}

.nearby-suburbs-prev,
.nearby-suburbs-next,
.adjacent-suburbs-prev,
.adjacent-suburbs-next {
    color: #3a3a3a;
    border-color: #3a3a3a;
}

.nearby-suburbs-prev:disabled,
.nearby-suburbs-next:disabled,
.adjacent-suburbs-prev:disabled,
.adjacent-suburbs-next:disabled {
    color: #b1afad;
    border-color: #b1afad;
}

/* ========================================
		   CHILD AGE SLIDER CUSTOM STYLES
		   ======================================== */
.child-age-range-slider {
    background: linear-gradient(to right, #5a60ec 0%, #5a60ec 50%, #e5e7eb 50%, #e5e7eb 100%);
    transition: background 0.1s ease;
}

.child-age-range-slider::-webkit-slider-thumb {
    background: #5a60ec !important;
    border-color: #5a60ec !important;
}

.child-age-range-slider::-moz-range-thumb {
    background: #5a60ec !important;
    border-color: #5a60ec !important;
}

/* ========================================
		   RANGE VALUES DISPLAY
======================================== */
.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #3a3a3a;
    font-weight: 500;
}

.range-value-min,
.range-value-max {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    min-width: 50px;
    text-align: center;
}

#filter-chip-bar {
    position: sticky;
    top: var(--site-header-h, 72px);
    z-index: 10;
    background: #fff;

    @media (max-width: 1023px) {
        top: var(--site-header-h, 50px);
    }

    @media (max-width: 767px) {
        top: var(--site-header-h, 66px);
    }
}

#filter-chip-bar.guest {
    --site-header-h: 72px;

    @media (max-width: 1023px) {
        --site-header-h: 50px;
    }

    @media (max-width: 767px) {
        --site-header-h: 66px;
    }
}

#filter-chip-bar.logged-in {
    --site-header-h: 81px;
}

.is-stuck~.mapBox {
    top: 158px;
}

.custom-button-prev,
.custom-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
}

.custom-button-prev {
    left: 10px;
}

.custom-button-next {
    right: 10px;
}

.custom-button-prev.swiper-button-disabled,
.custom-button-next.swiper-button-disabled {
    opacity: .4;
    pointer-events: none;
}

@media (min-width: 1024px) {
    #info-map-column {
        z-index: 0;
        inset: unset;
    }
}

.srp-add-to-compare .compare-button-wrapper {
    background: none;
    z-index: 0;
}

/* ========================================
    FEATURED SWIPER STYLES
======================================== */
.featuredSwiper {
    width: 100%;
}

/* ========================================
    SEARCH RESULT RECOMMENDED CENTRES BACKGROUND
======================================== */
.search-result-recommended-centres-bg {
    background-image: url('/img/srp/background-featured-centre-mobile-view.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 1024px) {
    .search-result-recommended-centres-bg {
        background-image: url('/img/srp/background-featured-centre-desktop-view.svg');
    }
}