/* Numbered navigation is separated from the last list item and keeps generous touch targets. */
.employee-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0;
}

.employee-pagination > p {
    margin: 0;
    color: #526b90;
    font-size: .9rem;
}

.employee-pagination-controls,
.employee-pagination-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.employee-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #e1eafa;
    border-radius: 12px;
    background: #fff;
    color: #2755a0;
    text-decoration: none;
    font-weight: 600;
}

.employee-page-number.is-current {
    background: #eaf1ff;
    border-color: #aecaff;
    color: #174899;
}

.employee-page-number:hover,
.employee-page-number:focus-visible {
    border-color: var(--brand, #0866ff);
}

.employee-pagination-label {
    color: #526b90;
    font-size: .85rem;
}

@media (max-width: 760px) {
    .employee-pagination {
        justify-content: center;
        text-align: center;
    }

    .employee-pagination-numbers {
        flex-basis: 100%;
        order: -1;
    }
}
