/* 自研滑块验证码 */
.captcha-box {
    margin: 8px 0 10px 0;
}
.captcha-loading {
    width: 100%;
    max-width: 320px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #999;
    font-size: 13px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    box-sizing: border-box;
}
.captcha-wrap {
    position: relative;
    width: 100%;
    max-width: 320px;
    user-select: none;
    -webkit-user-select: none;
}
.captcha-bg {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-sizing: border-box;
    background: #f0f0f0;
}
.captcha-bg-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}
.captcha-piece {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: none;
    cursor: pointer;
    pointer-events: none;
}
.captcha-refresh {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 3;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}
.captcha-refresh:hover {
    background: rgba(0, 0, 0, 0.6);
}
.captcha-track {
    position: relative;
    height: 36px;
    margin-top: 8px;
    background: #f2f3f5;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-sizing: border-box;
    touch-action: none;
}
.captcha-track-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #d7edc0;
    border-radius: 4px;
    z-index: 1;
}
.captcha-track-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    line-height: 32px;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    touch-action: none;
    -webkit-touch-callout: none;
}
.captcha-track-btn.captcha-btn-active {
    border-color: #409eff;
    color: #409eff;
}
.captcha-tip {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 34px;
    color: #999;
    font-size: 13px;
    z-index: 0;
    pointer-events: none;
}
.captcha-track.captcha-ok {
    border-color: #67c23a;
    background: #f0f9eb;
}
.captcha-track.captcha-ok .captcha-tip {
    color: #67c23a;
}
