/* Paginador extendido de PaginatedList (HasExtendedPager). Reproduce el aspecto del paginador de las
   tablas DevExtreme (dx-pager + `.sph-datagrid` de Datagrid.css): texto de estado, chevrons de
   DXIcons, página activa resaltada y hueco "...". Como en Datagrid.css, solo la página activa
   y el texto de estado van a 12px; el resto de páginas usa los 14px base de DevExtreme. Los selectores van prefijados con `.sph-pager`
   para ganar en especificidad a las reglas `.page-link` de app.css. */

.sph-pager {
    font-family: Nunito;
}

.sph-pager .sph-pager-text {
    margin-right: 9px;
    color: var(--sph-color);
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

.sph-pager .sph-pager-pages {
    align-items: center;
}

.sph-pager .sph-pager-pages .page-item .page-link {
    display: block;
    margin: 0 1px 0 5px;
    padding: 7px 9px 8px;
    border: 1px solid transparent;
    border-radius: 3px;
    background-color: transparent;
    color: var(--sph-color);
    font-size: 14px;
    line-height: normal;
    font-weight: 400;
    box-shadow: none;
    cursor: pointer;
}

/* spherag.css fuerza `.active > .page-link` a fondo azul oscuro con !important, de ahí el
   !important en el fondo de la página activa. */
.sph-pager .sph-pager-pages .page-item.active .page-link {
    background-color: var(--sph-color-secondary-200) !important;
    color: var(--sph-color);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    cursor: default;
}

.sph-pager .sph-pager-pages .sph-pager-gap .page-link {
    cursor: default;
}

.sph-pager .sph-pager-pages .page-item .pagePrev,
.sph-pager .sph-pager-pages .page-item .pageNext {
    position: relative;
    width: 35px;
    height: 35px;
    margin: 0;
    padding: 0;
    font-family: DXIcons;
    font-size: 14px;
    line-height: 1;
}

.sph-pager .sph-pager-pages .page-item .pagePrev::before,
.sph-pager .sph-pager-pages .page-item .pageNext::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sph-pager .sph-pager-pages .page-item .pagePrev::before {
    content: "\f012";
}

.sph-pager .sph-pager-pages .page-item .pageNext::before {
    content: "\f010";
}

.sph-pager .sph-pager-pages .page-item.disabled .pagePrev,
.sph-pager .sph-pager-pages .page-item.disabled .pageNext {
    opacity: 0.3;
    cursor: default;
}
