/* Results summary bar */
.results-summary {
    margin: 0.75rem 0 1.75rem;
    font-size: 1.02rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.5;
}
.results-summary .results-count {
    font-size: 1.05rem;
    font-weight: 600;
    color: #343a40;
}
.results-summary .results-sort {
    color: #6c757d;
    font-weight: 400;
}

/* Modern pill pagination */
.pagination-modern {
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.pagination-modern .page-item .page-link {
    border: 1px solid #dee2e6;
    border-radius: 999px;
    min-height: 2.5rem;
    min-width: 2.5rem;
    padding: 0.45rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    background: #fff;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
}
.pagination-modern .page-item .page-link:hover {
    background: #f0f4ff;
    border-color: #b6d4fe;
    color: #0a58ca;
}
.pagination-modern .page-item .page-link:focus-visible {
    outline: 2px solid #0b5ed7;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.25);
}
.pagination-modern .page-item.active .page-link {
    color: #0a58ca;
    background: #e7f1ff;
    border-color: #b6d4fe;
    font-weight: 600;
    box-shadow: none;
}
.pagination-modern .page-item.disabled .page-link {
    color: #c4c8cc;
    background: #f8f9fa;
    border-color: #f1f3f5;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}
.pagination-modern .page-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.pagination-modern .page-pill {
    border-radius: 999px;
}

/* Mobile: stack filter buttons vertically */
@media (max-width: 767.98px) {
    #divBtnFilter {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
}
