.pagination-container{
    padding: var(--space-lg) 0;
    ul{
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        li{
            list-style: none;
            .page-link{
                width: 27px;
                height: 20px;
                text-decoration: none;
                color: var(--gray-2);
                font-size: var(--size-4);
                padding: 5px 8px;
                font-size: var(--size-5);
                /* border: 1px solid var(--gray-5); */
                border-radius: 4px;
                transition: background-color 0.3s, color 0.3s;
                display: flex;
                align-items: center;
                justify-content: center;
                &:hover{
                    background-color: var(--gray-1);
                    color: var(--gray-3);
                    .arrow{
                        filter: invert(1);
                    }
                }
                .arrow{
                    width: 7px;
                    height: 15px;
                }
            }
            &.active{
                .page-link{
                    background-color: var(--gray-1);
                    color: white;
                    font-weight: 700;
                    .arrow{
                        filter: invert(1);
                    }
                }
            }
            // Flechas de navegación
            &.page-arrow{
                .page-link{
                    width: 40px;
                    height: 40px;
                    border: 1px solid var(--gray-5);
                    border-radius: 50%;
                    .arrow{
                        width: 10px;
                        height: 18px;
                    }
                }
                &.disabled .page-link{
                    opacity: 0.4;
                    cursor: not-allowed;
                }
            }
        }
    }
}

// Responsive móvil
@media (max-width: 767px) {
    .pagination-container{
        padding: 15px 0;
        max-width: 100%;
        overflow: hidden;

        ul{
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            margin: 0;
            flex-wrap: nowrap;

            li{
                // Ocultar números de página y ellipsis en móvil
                &.page-number,
                &.page-ellipsis{
                    display: none !important;
                }
                // Solo mostrar flechas
                &.page-arrow{
                    display: flex !important;
                    .page-link{
                        width: 44px;
                        height: 44px;
                        border: 1px solid var(--gray-5);
                        background-color: white;
                        .arrow{
                            width: 10px;
                            height: 16px;
                        }
                    }
                }
            }
        }
    }
}