.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    margin-bottom: 48px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    padding: 0 12px;

    border: 1px solid var(--color-border);
    border-radius: 10px;

    background: var(--color-surface);
    color: var(--color-text);

    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.pagination a:hover {
    background: var(--color-surface-soft);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.pagination .active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-button-text);
}

.pagination .disabled {
    opacity: 0.35;
    cursor: default;
}

.pagination .dots {
    min-width: auto;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--color-text-muted);
}