/* 拖拽拼图验证码样式 */
.slide-captcha-wrap {
    width: 100%;
    margin-top: 18px;
}

.slide-captcha-container {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: visible;
    border: 1.5px solid #e8e8f0;
    background: #fafafe;
}

.slide-captcha-container .bg-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
}

.slide-captcha-container .block-img {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    cursor: move;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
    z-index: 5;
}

.slide-captcha-container .loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85);
    font-size: 14px;
    color: #999;
}

.slide-captcha-container .loading i {
    margin-right: 5px;
}

/* 滑动条 */
.slide-bar-wrap {
    position: relative;
    width: 100%;
    height: 40px;
    margin-top: 10px;
    border-radius: 8px;
    background: #e8e8f0;
    border: 1.5px solid #e8e8f0;
    overflow: hidden;
    user-select: none;
}

.slide-bar-wrap .slide-bar-text {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    color: #999;
    z-index: 1;
}

.slide-bar-wrap .slide-bar-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #96e6a1, #1ab394);
    border-radius: 4px;
    transition: none;
}

.slide-bar-wrap .slide-bar-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: grab;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
    transition: none;
}

.slide-bar-wrap .slide-bar-btn:active {
    cursor: grabbing;
}

.slide-bar-wrap.success .slide-bar-track {
    background: linear-gradient(to right, #96e6a1, #1ab394);
}

.slide-bar-wrap.success .slide-bar-btn {
    background: #1ab394;
    color: #fff;
    border-color: #1ab394;
}

.slide-bar-wrap.fail .slide-bar-track {
    background: linear-gradient(to right, #f5a9a9, #e74c3c);
}

.slide-bar-wrap.fail .slide-bar-btn {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* 刷新按钮 */
.slide-captcha-refresh {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
}

.slide-captcha-refresh:hover {
    background: rgba(0,0,0,0.5);
}

/* 验证成功遮罩 */
.slide-captcha-container .success-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    z-index: 10;
}

.slide-captcha-container .success-mask i {
    font-size: 36px;
    color: #1ab394;
}

.slide-captcha-container .success-mask.show {
    display: flex;
}
