/* --------------------------------------------------------------------------- */

.search-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-sort-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.icon-button {
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.icon-button:hover {
    background: #e0e0e0;
}

.sort-select {
    margin-left: 0.5rem;
    padding: 0.4rem;
    font-size: 0.95rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gender-filter {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: white;
}
/* --------------------------- AGE SLIDER ------------------------------ */
#ageSlider {
    width: 400px;            /* Full width of its container */
    max-width: 600px;       /* But not wider than 600px */
    margin: 15px auto;      /* Center horizontally with vertical spacing */
    padding: 10px 0;        /* Vertical padding for breathing room */
}

#ageSlider .noUi-handle {
    background: #007bff;
    border: 2px solid #0056b3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: grab;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: -7px; /* align vertically */
    transition: background-color 0.3s ease;
}

#ageSlider .noUi-handle:active {
    background: #0056b3;
    cursor: grabbing;
}

#ageSlider .noUi-connect {
    background: #007bff;
    box-shadow: 0 1px 4px rgba(0,123,255,0.7);
    border-radius: 4px;
}

#ageSlider.noUi-target {
    background: #ddd;
    border-radius: 4px;
    height: 6px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}





