.range-slider {
    max-width: 264px;
    width: 100%;
    height: 4px;
    border: none;
    padding: 0 16px;

    &.noUi-target {
        background-color: #DDE7F0;
        border-radius: 4px;
    }

    .noUi-base {
        &::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            padding: 20px;
        }
    }

    .noUi-handle {
        width: 18px;
        height: 18px;
        border: 4px solid var(--color-BrandeisBlue);
        border-radius: 50%;
        background: var(--color-BrandeisBlue);
        top: -8px;
        cursor: grab;

        &::before, &::after {
            content: none;
        }
    }

    .noUi-touch-area {
        background: var(--color-BrandeisBlue);
    }

    .noUi-handle-upper {
        right: -16px;
    }

    .noUi-handle-lower {
        right: -4px;
    }

    .noUi-connect {
        background-color: var(--color-BrandeisBlue);
    }
}

.range-slider__input {
    border: 1px solid #dde7f0;
    padding-block: 8px;
    padding-left: 39px;
    padding-right: 16px;
    border-radius: 8px;
    max-width: 128px;
    width: 100%;
}

.range-slider__wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.range-slider__input-wrapper {
    display: flex;
    gap: 8px
}

.range-slider__before-input {
    position: relative;
    color: var(--color-PayneGray);

    &::before {
        content: "от";
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.range-slider__after-input {
    position: relative;
    color: var(--color-PayneGray);

    &::before {
        content: "до";
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
}


