#register .slider,
#login .slider {
    position: relative;
    width: 100%;
    height: 44px;
    background: #e8e8e8;
    border-radius: 22px;
    margin-top: 4px;
    overflow: hidden;
    user-select: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    touch-action: none;
}

#register .slider-block,
#login .slider-block {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #409eff;
    border-radius: 50%;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #409eff;
    font-size: 20px;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(64, 158, 255, 0.3);
    touch-action: none;
    user-select: none;
}

#register .slider-block:active,
#login .slider-block:active {
    cursor: grabbing;
}

#register .slider-text,
#login .slider-text {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 44px;
    text-align: center;
    font-size: 14px;
    color: #666;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 768px) {
    #register .slider,
    #login .slider,
    #register .slider-block,
    #login .slider-block {
        height: 40px;
    }

    #register .slider-block,
    #login .slider-block {
        width: 40px;
        font-size: 18px;
    }

    #register .slider-text,
    #login .slider-text {
        line-height: 40px;
        font-size: 13px;
    }
}
