/* Contenitore pagination */
.pd-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

/* Bottoni numerici e Mostra tutti/meno */
.pd-pg-more {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    color: #333;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    min-width: 36px;
}

.pd-pg-more:hover {
    background-color: #f7f7f7;
    border-color: #999;
}

/* Attivo */
.pd-pg-more.active {
    background-color: #222;
    color: #fff;
    border-color: #222;
    cursor: default;
    box-shadow: none;
}

/* Puntini tra le pagine */
.pd-pg-dots {
    font-size: 0.9rem;
    color: #aaa;
    padding: 0.4rem 0.6rem;
    align-self: center;
    user-select: none;
}

/* Rimuovi filtri */
.pd-pg-filter-reset {
    all: unset;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 6px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    color: #444;
    cursor: pointer;
    margin-left: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pd-pg-filter-reset:hover {
    background-color: #e2e2e2;
    border-color: #999;
}
