/* 图片滑块验证样式 - 纯CSS，无框架依赖 */
.slider-captcha-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.slider-captcha-box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 340px;
    max-width: 95vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.slider-captcha-title {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    position: relative;
}
.slider-captcha-close {
    position: absolute;
    right: 0;
    top: -3px;
    font-size: 22px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.slider-captcha-close:hover {
    color: #333;
}
.slider-captcha-msg {
    text-align: center;
    font-size: 13px;
    min-height: 20px;
    line-height: 20px;
    margin-bottom: 6px;
}
.slider-captcha-img-wrap {
    position: relative;
    width: 300px;
    max-width: 100%;
    height: 160px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
}
.slider-captcha-bg {
    width: 100%;
    height: 100%;
    display: block;
}
.slider-captcha-piece {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    opacity: 0.9;
    pointer-events: none;
}
.slider-captcha-bar {
    position: relative;
    width: 300px;
    max-width: 100%;
    height: 42px;
    margin: 12px auto 0;
    background: #f0f0f0;
    border-radius: 21px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    touch-action: none;
}
.slider-captcha-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 42px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 21px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #666;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    touch-action: none;
}
.slider-captcha-btn:active {
    background: #f5f5f5;
}
.slider-captcha-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #7ac23c;
    border-radius: 21px 0 0 21px;
    width: 0;
    z-index: 1;
}
.slider-captcha-tip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 42px;
    text-align: center;
    color: #999;
    font-size: 13px;
    z-index: 1;
    pointer-events: none;
}
.slider-captcha-refresh {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
}
.slider-captcha-refresh:hover {
    color: #335eea;
}
