/* تحسين ستايل أزرار التصفح */
.pagination {
    margin: 0;
    gap: 0.5rem;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-link {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #198754;
    background-color: #fff;
    border: 2px solid #198754;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.pagination .page-link:hover {
    background-color: #198754;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

.pagination .page-item.active .page-link {
    background-color: #198754;
    color: #fff;
    border-color: #198754;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.4);
    transform: scale(1.1);
}

.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-link i {
    font-size: 1.1rem;
}

/* تحسين مظهر معلومات التصفح */
.text-muted small {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6c757d !important;
}

/* تأثيرات إضافية للأزرار */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-weight: 700;
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover,
.pagination .page-item:nth-child(2) .page-link:hover,
.pagination .page-item:nth-last-child(2) .page-link:hover {
    background-color: #146c43;
    border-color: #146c43;
}

/* تحسين المظهر على الشاشات الصغيرة */
@media (max-width: 768px) {
    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 38px;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination .page-item {
        margin: 0 1px;
    }
}
