/* 🔹 Styl dla przycisku filtrów */
#filter-button {
    position: absolute;
    bottom: 190px; /* Nad innym przyciskiem */
    right: 20px;
    width: 65px;
    height: 65px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid #ccc;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#filter-button img {
    width: 40px;
    height: 40px;
}

/* 🔹 Styl dla panelu filtrów */
#filter-panel {
    position: absolute;
    bottom: 250px;
    right: 20px;
    width: 270px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
}

/* 🔹 Grupa filtrów */
.filter-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #f8f8f8;
}

/* 🔹 Ikona obok każdego filtru */
.filter-group img {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

/* 🔹 Styl etykiet filtrów */
.filter-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 🔹 Suwak (switch) */
.filter-switch {
    position: relative;
    width: 45px;
    height: 22px;
    background: #ccc;
    border-radius: 11px;
    transition: background 0.3s;
    cursor: pointer;
}

/* 🔹 Suwak - kula */
.filter-switch::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 1px;
    left: 2px;
    transition: 0.3s;
}

/* 🔹 Aktywny suwak */
input:checked + .filter-switch {
    background: green;
}

input:checked + .filter-switch::before {
    left: 22px;
}

/* 🔹 Ukrycie domyślnych checkboxów */
.filter-checkbox {
    display: none;
}
