/* 项目统一分页控件：AppPager */
.app-pager.pages,
.app-pager {
    box-sizing: border-box;
    display: flex;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 18px 0 2px;
    padding: 2px 0;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    overflow-x: auto;
    color: #64748b;
    font-size: 14px;
    line-height: 1;
    text-align: right;
    scrollbar-width: thin;
}

.app-pager.pages .app-pager__item,
.app-pager .app-pager__item {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 34px;
    height: 34px;
    margin: 0;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    color: #334155;
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    font-size: 14px;
    font-weight: 500;
    line-height: 32px;
    text-decoration: none;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.app-pager.pages a.app-pager__item:hover,
.app-pager.pages a.app-pager__item:focus,
.app-pager a.app-pager__item:hover,
.app-pager a.app-pager__item:focus {
    color: #166534;
    background: #f0fdf4;
    border-color: #86c99d;
    box-shadow: 0 3px 8px rgba(22, 101, 52, .10);
    outline: none;
    text-decoration: none;
    transform: translateY(-1px);
}

.app-pager.pages .app-pager__item--current,
.app-pager .app-pager__item--current {
    color: #fff;
    background: #237a45;
    border-color: #237a45;
    box-shadow: 0 4px 10px rgba(35, 122, 69, .18);
    cursor: default;
}

.app-pager.pages .app-pager__item--disabled,
.app-pager .app-pager__item--disabled {
    color: #a7b0bd;
    background: #f8fafc;
    border-color: #e7ecf2;
    box-shadow: none;
    cursor: not-allowed;
}

.app-pager__ellipsis {
    display: inline-flex;
    flex: 0 0 auto;
    width: 22px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.app-pager__summary {
    display: none;
    flex: 0 0 auto;
    min-width: 48px;
    color: #64748b;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

@media (max-width: 640px) {
    .app-pager.pages,
    .app-pager {
        margin-top: 14px;
        justify-content: center;
        gap: 5px;
        overflow: visible;
    }

    .app-pager.pages .app-pager__item,
    .app-pager .app-pager__item {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
        line-height: 34px;
    }

    .app-pager__edge,
    .app-pager__ellipsis,
    .app-pager__item--wide {
        display: none !important;
    }

    .app-pager__summary {
        display: inline-flex;
        height: 36px;
        align-items: center;
        justify-content: center;
    }
}
