.pagination {
    z-index: 1;
    position: absolute;
    bottom: 20px;
    right: calc(50% - (var(--viewer-width) / 2));
    transform: translate(-50%);
    background: var(--iqser-background);
    color: var(--iqser-grey-7);
    border: 1px solid var(--iqser-grey-7);
    border-radius: 8px;
    padding: 6px 2px;
    display: flex;
    justify-content: center;
    align-items: center;

    > div {
        height: 16px;
        cursor: default;
    }

    .separator {
        padding-left: 2px;
        padding-right: 2px;
    }

    .page-button {
        cursor: pointer;
        align-items: center;
        display: inline-flex;

        &:hover {
            color: var(--iqser-text);
        }
    }

    .chevron-icon {
        height: 16px;
        transform: rotate(-90deg);
        padding-left: 4px;
        padding-right: 4px;
    }
}
