@charset "UTF-8";

/* 滑块拼图验证码样式 */
.slider-captcha-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-captcha-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    width: 320px;
    overflow: hidden;
}
.slider-captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}
.slider-captcha-close {
    font-size: 22px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.slider-captcha-close:hover { color: #333; }
.slider-captcha-body {
    padding: 16px;
}
.slider-captcha-canvas-wrap {
    position: relative;
    width: 280px;
    height: 160px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
}
#sliderCaptchaCanvas {
    width: 280px;
    height: 160px;
}
#sliderCaptchaBlock {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.slider-captcha-refresh {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}
.slider-captcha-refresh:hover { background: #fff; color: #333; }
.slider-captcha-slider {
    margin-top: 12px;
}
.slider-captcha-track {
    position: relative;
    height: 40px;
    background: #e8e8e8;
    border-radius: 20px;
    overflow: hidden;
}
.slider-captcha-track-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 40px;
    font-size: 13px;
    color: #999;
    user-select: none;
}
.slider-captcha-filled {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #91d5ff 0%, #1890ff 100%);
    border-radius: 20px 0 0 20px;
    transition: none;
}
.slider-captcha-filled.success {
    background: linear-gradient(135deg, #b7eb8f 0%, #52c41a 100%);
}
.slider-captcha-filled.fail {
    background: linear-gradient(135deg, #ffa39e 0%, #ff4d4f 100%);
    transition: width 0.3s;
}
.slider-captcha-handle {
    position: absolute;
    top: 2px; left: 0;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    text-align: center;
    line-height: 36px;
    font-size: 18px;
    color: #1890ff;
    cursor: pointer;
    user-select: none;
    z-index: 1;
}
.slider-captcha-handle.success {
    color: #52c41a;
}
.slider-captcha-handle.fail {
    color: #ff4d4f;
    transition: left 0.3s;
}
