.slider-verify {
    position: relative;
}

/*图片加载样式*/
.img-loading {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    animation: loading 1.5s infinite;
    /* background-image: url(../../assets/images/loading.svg); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100px;
    background-color: #737c8e;
    border-radius: 5px;
}

@keyframes loading {
    0% {
        opacity: .7;
    }
    100% {
        opacity: 9;
    }
}

/*认证成功后的文字提示*/
.success-hint {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    color: #2CD000;
    font-size: large;
}

/*刷新按钮*/
.refresh-icon {
    display: none;
    position: absolute;
    right: 0;
    top: -132px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: url("../img/light.png");
    background-size: 30px 30px;
}

/*验证图片*/
.slide-canvas {
    border-radius: 5px;
}

/*阻塞块*/
.slide-block {
    position: absolute;
    left: 0;
    top: 0;
}

/*校验失败时的阻塞块样式*/
.slide-block.verify-fail {
    transition: left 0.5s linear;
}

/*滑动条*/
.slider {
    position: relative;
    text-align: center;
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin-top: 0px;
    background: #f7f9fa;
    color: #45494c;
    border: 1px solid #e4e7eb;
    border-radius: 5px;
}

/*滑动盒子*/
.slider-box {
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    border: 0 solid #1991FA;
    background: #D1E9FE;
    border-radius: 5px;
}

/*滑动按钮*/
.slider-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background .2s linear;
    border-radius: 5px;
}

/*鼠标悬浮时的按钮样式*/
.slider-button:hover {
    background: #1991FA
}

/*鼠标悬浮时的按钮图标样式*/
.slider-button:hover .slider-button-icon {
    background-position: 0 -13px
}

/*滑动按钮图标*/
.slider-button-icon {
    position: absolute;
    top: 15px;
    left: 13px;
    width: 15px;
    height: 13px;
    /* background: url("../../assets/images/light.png") 0 -26px; */
    background-size: 35px 470px
}

/*校验时的按钮样式*/
.verify-active .slider-button {
    height: 38px;
    top: -1px;
    border: 1px solid #1991FA;
}

/*校验时的滑动箱样式*/
.verify-active .slider-box {
    height: 38px;
    border-width: 1px;
}

/*校验成功时的滑动箱样式*/
.verify-success .slider-box {
    height: 38px;
    border: 1px solid #52CCBA;
    background-color: #D2F4EF;
}

/*校验成功时的按钮样式*/
.verify-success .slider-button {
    height: 38px;
    top: -1px;
    border: 1px solid #52CCBA;
    background-color: #52CCBA !important;
}

/*校验成功时的按钮图标样式*/
.verify-success .slider-button-icon {
    background-position: 0 0 !important;
}

/*校验失败时的滑动箱样式*/
.verify-fail .slider-box {
    height: 38px;
    border: 1px solid #f57a7a;
    background-color: #fce1e1;
    transition: width 0.5s linear;
}

/*校验失败时的按钮样式*/
.verify-fail .slider-button {
    height: 38px;
    top: -1px;
    border: 1px solid #f57a7a;
    background-color: #f57a7a !important;
    transition: left 0.5s linear;
}

/*校验失败时的按钮图标样式*/
.verify-fail .slider-button-icon {
    top: 14px;
    background-position: 0 -82px !important;
}

/*校验状态下的提示文字隐藏*/
.verify-active .slider-hint,
.verify-success .slider-hint,
.verify-fail .slider-hint {
    display: none;
}
