.pagination-home {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.pagination-custom {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin: 0;
}

.page-item-custom {
    margin: 0;
}

.page-link-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-link-custom:hover {
    background-color: #f8f9fa;
    color: #495057;
    text-decoration: none;
}

.page-item-custom.active .page-link-custom {
    background: #007bff;
    color: white;
}

.page-item-custom.disabled .page-link-custom {
    color: #adb5bd;
    cursor: not-allowed;
    background: #f8f9fa;
    opacity: 0.6;
}

.page-item-custom.disabled .page-link-custom:hover {
    background: #f8f9fa;
    color: #adb5bd;
}

.page-info {
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-right: 8px;
}

.nav-btn {
    padding: 8px 16px !important;
    font-weight: 600;
    font-size: 13px;
}

.nav-btn.prev {
    background: #28a745;
    color: white;
}

.nav-btn.next {
    background: #17a2b8;
    color: white;
}

.nav-btn:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .pagination-custom {
        flex-wrap: wrap;
        gap: 4px;
        padding: 8px;
    }

    .page-link-custom {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 6px 8px;
    }

    .page-info {
        font-size: 12px;
        padding: 6px 8px;
    }

    .nav-btn {
        padding: 6px 12px !important;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .page-info {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
        margin-right: 0;
    }
}
