/* Add your CSS here for styling the elements */
        .sidebar {
            position: sticky;
            top: 20px;
            padding: 20px;
            background-color: #f8f9fa;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .sidebar-title {
            font-size: 18px;
            font-weight: bold;
        }

        .filter-group {
            margin-bottom: 20px;
        }

        .search-bar h5 {
            margin-bottom: 8px;
            font-size: 16px;
        }

        .options label {
            display: block;
            margin-bottom: 8px;
        }

        /* Mobile and tablet filter button */
        .filter-button {
            position: fixed;
            bottom: 60px;
             max-width: 174px;
            left: 50%;
            transform: translateX(-50%);
            padding: 10px 20px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 16px;
            cursor: pointer;
            z-index: 9999;
        }

        .filter-button:hover {
            background-color: #0056b3;
        }

        /* Popup for Mobile/Tablet */
        .filter-popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 9998;
            padding-top: 50px;
        }

        .filter-popup .popup-content {
            display: flex;
            justify-content: space-between;
            background: #f7f7f7;
            margin: 20px 20px 2px 20px;
            padding: 10px;
            border-radius: 8px;
            max-height: 80%;
            overflow-y: auto;
        }

        .filter-popup .popup-left {
            width: 40%;
            text-align: left;
        }

        .filter-popup .popup-right {
            width: 57%;
            text-align: left;
        }

        .filter-popup ul {
            list-style: none;
            padding: 0;
        }

        .filter-popup li {
            padding: 10px 0px 10px 5px;
            cursor: pointer;
            font-weight: 600;
            border: solid 1px #e7e7e7;
            color: #000000;
        }

        .filter-popup .close-popup {
            background: #ffee56;
            border: aliceblue;
            font-size: 26px;
            font-weight: 600;
            cursor: pointer;
            position: absolute;
            top: 25px;
            right: 20px;
        }

        @media (max-width: 768px) {
            .popup-left, .popup-right {
                width: 100%;
            }

            .popup-header h4 {
                font-size: 18px;
            }
            .sidebar.d-none {
                display: none;
            }
            .options {
                max-height: 180px;
                overflow-y: auto;
                padding: 5px;
                border: 1px solid #ddd;
                border-radius: 5px;
                background-color: #fff;
            }
        }

        .d-none {
            display: none;
        }

 /* General Popup Styles */
 .filter-popup-mobile {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

.filter-popup-header {
    background: #f8f9fa;
    padding: 10px;
    text-align: right;
}

/* New class for Close Button */
.filter-popup-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.filter-popup-content {
    position: relative;
    background: white;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.filter-popup-left, .filter-popup-right {
    flex: 1; /* Ensures the content takes available space */
}

/* Mobile-Specific Buttons Section */
.filter-popup-buttons {
    display: none;
}

@media (max-width: 768px) {
    .filter-popup-buttons {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        background: #f8f9fa;
        border-top: 1px solid #ddd;
        position: sticky;
        bottom: 0;
        margin: 10px 20px 0px 20px;
        border-radius: 8px;
    }

    .btn-popup-close {
        background-color: #6c757d;
        color: #fff;
        border: none;
        flex: 1;
        margin: 0 5px;
        padding: 5px;
        cursor: pointer;
    }

    .btn-popup-apply {
        background-color: #007bff;
        color: #fff;
        border: none;
        flex: 1;
        margin: 0 5px;
        padding: 5px;
        cursor: pointer;
    }

    .btn-popup-close:hover, .btn-popup-apply:hover {
        opacity: 0.9;
    }
}
