
.pagination-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid #f3f4f6;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 12px;
}

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

.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    flex-shrink: 0;
}

.pagination-wrap a:not(.current):hover {
    background: #f5f3ff;
    border-color: #c4b5fd;
    color: #7c3aed;
    text-decoration: none;
}

.pagination-wrap span.current,
.pagination-wrap a.current {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-color: #7c3aed;
    color: #ffffff;
}

.pagination-wrap span.disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: #f9fafb;
}

.pagination-info {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

.ajax-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(249,250,251,0.75);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
}

.ajax-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #ede9fe;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
