/* ================================================
 * Pagination Component
 * Shared styles for page-level pagination controls
 * Used by: library, download manager
 * ================================================ */

.ldr-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.ldr-page-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.15s, border-color 0.15s;
}

.ldr-page-link:hover:not(.disabled):not(.active) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.ldr-page-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.ldr-page-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.ldr-page-ellipsis {
    padding: 0 4px;
    color: var(--text-muted);
}
