/* 拖动滑块验证 */
.scaptcha {
    margin: 14px 0 8px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.scaptcha-hint {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.scaptcha--dark .scaptcha-hint {
    color: #8892b0;
}

.scaptcha--light .scaptcha-hint {
    color: #666;
}

.scaptcha-track {
    position: relative;
    height: 44px;
    border-radius: 22px;
    overflow: hidden;
}

.scaptcha--dark .scaptcha-track {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.scaptcha--light .scaptcha-track {
    background: #eef0f4;
    border: 1px solid #dde1e8;
}

.scaptcha-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 22px 0 0 22px;
    pointer-events: none;
}

.scaptcha--dark .scaptcha-fill {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.25), rgba(123, 44, 191, 0.25));
}

.scaptcha--light .scaptcha-fill {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.35), rgba(118, 75, 162, 0.35));
}

.scaptcha-handle {
    position: absolute;
    left: 0;
    top: 2px;
    width: 52px;
    height: 40px;
    margin-left: 2px;
    border-radius: 20px;
    border: none;
    cursor: grab;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    padding: 0;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.scaptcha--dark .scaptcha-handle {
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.scaptcha--light .scaptcha-handle {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
}

.scaptcha-handle:active {
    cursor: grabbing;
}

.scaptcha-handle--ok {
    opacity: 0.85;
    cursor: default;
}

.scaptcha-msg {
    margin-top: 8px;
    font-size: 12px;
    min-height: 16px;
}

.scaptcha--dark .scaptcha-msg {
    color: #8892b0;
}

.scaptcha--light .scaptcha-msg {
    color: #888;
}

.scaptcha-msg--ok {
    color: #00c853 !important;
}

.scaptcha-msg--err {
    color: #ff6b6b !important;
}

/* 滑块验证弹窗样式 */
.slider-captcha-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    padding: 20px !important;
    animation: fadeIn 0.2s ease !important;
    margin: 0 !important;
    transform: none !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slider-captcha-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 400px !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.slider-captcha-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-captcha-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slider-captcha-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #8892b0;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-captcha-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.slider-captcha-body {
    padding: 20px;
}
