.root {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.page {
    background: none;
    border: none;
    color: var(--color-text-primary-disabled);
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s, color 0.3s;
}

.page:not(:disabled):hover {
    color: var(--color-text-primary);
    opacity: 0.8;
}

.activePage {
    color: var(--color-text-primary);
}

.arrow {
    background: none;
    border: none;
    color: var(--color-text-primary);
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow:hover {
    opacity: 0.8;
}

.arrowPrev {
    margin-right: 4px;
}

.arrowNext {
    margin-left: 4px;
}

.icon {
    width: 24px;
    height: 24px;
}

.page:disabled,
.arrow:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
