/* UEH Alumni Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-btn {
    min-width: 45px;
    height: 45px;
    border: none;
    border-right: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
    font-family: 'SVN-Poppins', sans-serif;
    position: relative;
}

.pagination-btn:last-child {
    border-right: none;
}

.pagination-btn:hover {
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
}

.pagination-btn.active {
    background: #005f69;
    color: #fff;
    font-weight: 600;
}

.pagination-btn.disabled {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
}

.pagination-btn.disabled:hover {
    background: #f8f9fa;
    color: #ccc;
}

/* Nút "Về đầu" */
    .pagination-btn.first-page {
        color: #005f69;
        font-weight: 500;
        padding: 0 15px;
        min-width: auto;
    }

        .pagination-btn.first-page:hover {
            background: #f0f8f0;
        }

/* Nút "Tới cuối" */
.pagination-btn.last-page {
    color: #005f69;
    font-weight: 500;
    padding: 0 15px;
    min-width: auto;
}

.pagination-btn.last-page:hover {
    background: #f0f8f0;
}

/* Dots styling */
.pagination-dots {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background: #fff;
    border-right: 1px solid #e0e0e0;
}

.pagination-dots:last-child {
    border-right: none;
}

/* Thông tin phân trang */
.pagination-info {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #666;
    font-family: 'SVN-Poppins', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin: 30px 0;
        padding: 15px 10px;
    }
    
    .pagination-container {
        gap: 0;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pagination-btn {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    .pagination-btn.first-page,
    .pagination-btn.last-page {
        padding: 0 12px;
        font-size: 12px;
    }
    
    .pagination-dots {
        min-width: 40px;
        height: 40px;
    }
    
    .pagination-info {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin: 25px 0;
        padding: 10px 5px;
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .pagination-btn.first-page,
    .pagination-btn.last-page {
        padding: 0 10px;
        font-size: 11px;
    }
    
    .pagination-dots {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .pagination-info {
        font-size: 12px;
        margin-top: 12px;
    }
}

/* Loading state styles for news/events content */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;     
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 999;
}

.events-filtering {
    /* opacity: 0.7; */
    transition: opacity 0.3s ease;
}

.no-events-message {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 3rem;
    margin: 2rem 0;
}

.category-section {
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-bottom: 2rem;
}

.event-category-item {
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-bottom: 1.5rem;
}