.lazi-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Le ul.pagination généré par le template bootstrap */
.lazi-pagination .pagination {
    gap: .45rem;              /* espace entre les boutons */
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* Les liens/boutons */
.lazi-pagination .page-link {
    border-radius: .65rem;     /* arrondi */
    padding: .45rem .8rem;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    color: #1f2937;            /* gris foncé */
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: transform .08s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
}

/* Hover */
.lazi-pagination .page-link:hover {
    background: #f8fafc;
    border-color: rgba(0,0,0,.18);
    box-shadow: 0 4px 12px rgba(0,0,0,.10);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Bouton actif */
.lazi-pagination .page-item.active .page-link {
    background: #111827;       /* noir/anthracite */
    border-color: #111827;
    color: #fff;
    box-shadow: 0 6px 16px rgba(17,24,39,.25);
}

/* Boutons désactivés (ex: première/dernière page) */
.lazi-pagination .page-item.disabled .page-link {
    opacity: .45;
    pointer-events: none;
    box-shadow: none;
}

/* Focus clavier accessible */
.lazi-pagination .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 .25rem rgba(17,24,39,.18);
}

/* Corrige parfois l’effet “collé” Bootstrap (border-radius / borders) */
.lazi-pagination .page-item .page-link {
    margin-left: 0 !important;
}
