@media (max-width: 768px) {
    .home-container {
        flex-direction: column;
    }
    .search-filter, .user-cards {
        max-width: 100%;
    }
}
@media (min-width: 900px) {
    .fixed-min-width {
        min-width: 350px;
    }
}

/* Gender pills */
.gender-pill {
    padding: 10px 18px;
    border-radius: 20px;
    border: 2px solid #0d6efd;
    cursor: pointer;
    font-weight: 600;
    color: #0d6efd;
    transition: 0.2s;
    user-select: none;
}
.gender-pill.active {
    background: #0d6efd;
    color: white;
    box-shadow: 0 3px 8px rgba(13,110,253,0.4);
}

/* Custom switch */
.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Range slider style */
input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
}
input[type=range]::-webkit-slider-runnable-track {
    height: 6px;
    background: #ddd;
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    background: #0d6efd;
    border-radius: 50%;
    margin-top: -7px;
    cursor: pointer;
}
.big-toggle .form-check-input {
    width: 3.0rem;
    height: 1.6rem;
    cursor: pointer;
}

.big-toggle .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.big-toggle .form-check-input:focus {
    box-shadow: none;
}