/* Custom Search Filter styles */

.csf-search-box {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

#csf-search {
    width: 100%;
    outline: none;
    border: 1px solid #bebebe;
    padding: 5px 5px 5px 30px;
    border-radius: 10px;
    font-size: 14px;
    /* background-image set via wp_add_inline_style with correct URL */
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: 7px center;
}

/* Dropdown */
.csf-dropdown {
    position: relative;
    min-width: 160px;
}

#csf-category {
    width: 100%;
    outline: none;
    color: #505050;
    border-radius: 10px;
    border: 1px solid #bebebe;
    font-size: 14px;
}

.csf-dropdown-selected {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #bebebe;
    background: #fff;
    white-space: nowrap;
    user-select: none;
}

.csf-dropdown-selected.open {
    border-color: var(--nv-secondary-accent, #0073aa);
}

.csf-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 999;
    margin-top: 2px;
}

.csf-dropdown-list.show {
    display: block;
}

.csf-dropdown-list li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    list-style: none;
}

.csf-dropdown-list li:hover {
    background: #f0f0f0;
}

/* Pagination */
.csf-pagination {
    margin-top: 20px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.csf-pagination .page-numbers {
    background: #ececec;
    padding: 5px 10px;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
}

.csf-pagination .current {
    background: var(--nv-secondary-accent, #0073aa);
    color: #fff;
}
