/* Shared list pagination keeps navigation identical across every overview. */
.list-pagination {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 8px 16px;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.list-pagination-top {
    justify-content: flex-end;
    border-bottom: 1px solid var(--border);
}

.list-pagination-bottom {
    border-top: 1px solid var(--border);
}

.list-pagination-controls {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(7, 23, 39, .05);
}

.list-pagination-button,
.list-pagination-summary {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-left: 1px solid var(--border);
}

.list-pagination-button:first-child {
    border-left: 0;
}

.list-pagination-button {
    width: 36px;
    color: var(--navy-900);
    font-size: 17px;
    line-height: 1;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

/* In-place controls keep link geometry without generic action-button movement or shadows. */
button.list-pagination-button {
    padding: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    transform: none;
}

:is(a, button).list-pagination-button:hover,
:is(a, button).list-pagination-button:focus-visible {
    background: var(--blue-050);
    color: var(--blue-700);
    outline: none;
}

.list-pagination-summary {
    min-width: 112px;
    padding: 0 13px;
    color: var(--muted);
    font-size: 11.5px;
    white-space: nowrap;
}

.list-pagination-button.is-disabled {
    background: #f7f9fb;
    color: #a8b4be;
    pointer-events: none;
}

@media (max-width: 600px) {
    .list-pagination {
        justify-content: center;
        min-height: 46px;
        padding: 6px 10px;
    }
}
