/* Sidebar Styles */
#sidebar {
    position: relative;
    /* Change to relative */
    width: 60px;
    /* Initial width for the icon bar */
    background: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: width 0.3s ease;
    /* Smooth transition for expanding/collapsing */
}

#sidebar.open {
    width: 310px;
    /* Total width when sidebar is open */
}

#sidebar-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    width: 60px;
    height: 100%;
    background: #ffffff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Ensure it remains in place */
}



.sidebar-icon {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.sidebar-icon.active {
    color: #007bff;
}

#sidebar-content {
    position: absolute;
    left: 60px;
    /* Content starts after the icons */
    top: 0;
    bottom: 0;
    width: 250px;
    /* Remaining width when sidebar is open */
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    /* Hide content initially */
    transition: opacity 0.3s ease;
    /* Smooth transition for opacity */
    background-color: #f4f4f4
}


/* Sidebar open by default on larger screens */
@media (min-width: 769px) {
    #sidebar.open {
        width: 375px;
    }
}

/* Sidebar collapses on small screens */
@media (max-width: 768px) {
    #sidebar {
        width: 100px;
        /* Just the icons visible */
        position: absolute;
        display: -webkit-box;
        box-shadow: none;
        margin-left: 25px;
        margin-top: 10px;
        background-color: transparent;

    }

    #sidebar.open {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100vw;
        margin: 0px;
        z-index: 9999;
    }

    #sidebar-content {
        width: 100vw;

    }

    #sidebar.open #sidebar-content {
        left: 0;
    }

    #sidebar-icons {
        padding: 0px;
        width: 75px;
        height: 40px;
        display: ruby;
        margin-left: 0px;
        box-shadow: none;

    }

    .sidebar-icon {
        margin: 10px;
        padding: 0;
    }

    .entry-title {
        display: none;
    }
}

#sidebar.open #sidebar-content {
    opacity: 1;
    /* Show content when sidebar is open */
}

.sidebar-section {
    display: none;
}

#wpfMaxPrice {
    width: auto !important;
}

#wpfMinPrice {
    width: auto !important;
}

.sidebar-section.active {
    display: block;
}

.page-content-wrapper {
    display: flex;
    width: 100%;
    transition: margin-left 0.3s ease;
    /* Smooth transition for content shift */
}

#primary {
    flex-grow: 1;
    padding: 20px;
    transition: margin-left 0.3s ease;
    /* Smooth transition for content shift */
}

#sidebar.open~.page-content-wrapper #primary {
    margin-left: 250px;
    /* Shift content right when sidebar is open */
}


/* Slider Styles */



/* Import Google Font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}



.price-input {
    width: 100%;
    display: flex;
    margin: 30px 0 35px;
}

.price-input .field {
    display: flex;
    width: 100%;
    height: 45px;
    align-items: center;
}

.field input {
    width: 100%;
    height: 100%;
    outline: none;
    font-size: 19px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #999;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.price-input .separator {
    width: 130px;
    display: flex;
    font-size: 19px;
    align-items: center;
    justify-content: center;
}

.slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
}

.slider .progress {
    height: 100%;
    left: 25%;
    right: 25%;
    position: absolute;
    border-radius: 5px;
    background: rgb(34, 76, 120);
    z-index: 0;

}

.range-input input.handle-min {
    z-index: 2;
}

.range-input input.handle-max {
    z-index: 1;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -1px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: rgb(34, 76, 120);
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: rgb(34, 76, 120);
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}