/* Pagination wrapper */
.modern-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Pagination container */
.modern-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    list-style: none;
    margin: 0;
}

    /* Pagination items */
    .modern-pagination .page-item {
        display: flex;
    }

    /* Links */
    .modern-pagination .page-link {
        border: none;
        background: #f8f9fa;
        color: #495057;
        font-size: 0.85rem;
        padding: 6px 10px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 34px;
    }

        /* Hover */
        .modern-pagination .page-link:hover {
            background: #e9ecef;
            transform: translateY(-1px);
        }

    /* Active page */
    .modern-pagination .page-item.active .page-link {
        background: #6c5ce7;
        color: white;
        font-weight: 600;
    }

    /* Disabled */
    .modern-pagination .page-item.disabled .page-link {
        opacity: 0.4;
        cursor: default;
        pointer-events: none;
    }

    /* Arrow icons */
    .modern-pagination .page-link i {
        font-size: 0.8rem;
    }

/* Mobile adjustments */
@media (max-width:576px) {
    .modern-pagination {
        gap: 4px;
        padding: 5px;
    }

        .modern-pagination .page-link {
            font-size: 0.8rem;
            padding: 5px 8px;
            min-width: 30px;
        }
}
