$rangeHeight: 24px;

.atom-range {
    padding: 0 $rangeHeight/2;

    &__body {
        position: relative;
        display: flex;
        height: $rangeHeight;
        width: 100%;
        align-items: center;
    }

    &__icon-dot {
        position: absolute;
        transform: translateX(-50%);
        height: 10px;
        width: 10px;
        border-radius: 10px;
        background: $primary;
        border: 2px solid $white;
        box-shadow: 0px 1px 1px $primary;
        transition: $duration;
        &--unreached {
            background: $lighter;
            box-shadow: 0px 1px 1px $lighter;
        }
    }

    &__handler {
        position: absolute;
        display: block;
        z-index: 2;
        cursor: move;
        transform: translateX(-50%);

        >i.handler__icon {
            display: block;
            height: $rangeHeight;
            line-height: $rangeHeight;
            width: $rangeHeight;
            text-align: center;
            border-radius: 100%;
            background: rgba($white, 1);
            border: 4px solid rgba($primary, 1);
            color: $white;
        }
    }

    .transition {
        transition: all $duration;
    }
}