/* Shared pagination for vehicle, service, history, and audit tables. */
.dashboard-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    padding: .85rem 1.5rem;
    border-top: 1px solid #eef2f7;
}

.dashboard-pagination-summary {
    margin: 0;
    color: #475569;
    font-size: .76rem;
    font-weight: 600;
    white-space: nowrap;
}

.dashboard-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
}

.dashboard-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: .35rem .55rem;
    border: 1px solid #dbe4ee;
    border-radius: .55rem;
    background: #fff;
    color: #334155;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.dashboard-page-link:hover {
    border-color: #be123c;
    color: #be123c;
}

.dashboard-page-link-wide { min-width: 6.25rem; }

.dashboard-page-link.is-current {
    border-color: #e11d48;
    background: #e11d48;
    color: #fff;
}

.dashboard-page-link.is-disabled {
    border-color: #eef2f7;
    color: #cbd5e1;
    cursor: default;
    pointer-events: none;
}

.dashboard-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 2.2rem;
    color: #94a3b8;
    font-size: .9rem;
}

@media (max-width: 767.98px) {
    .dashboard-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-pagination-controls {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: .15rem;
    }
}
