/* ========================================================
   安全人机滑块验证弹窗样式 - Anti-Bot Slider Verification
   ======================================================== */

.verify-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.verify-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.verify-modal-box {
    position: relative;
    width: 90%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px 26px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
    text-align: center;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.verify-modal-overlay.active .verify-modal-box {
    transform: scale(1) translateY(0);
}

/* 关闭按钮 */
.verify-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.verify-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

/* 顶部盾牌图标 */
.verify-icon-wrap {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.15) 0%, rgba(33, 208, 220, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(79, 140, 255, 0.12);
}

.verify-shield-svg {
    width: 34px;
    height: 34px;
}

/* 标题与描述 */
.verify-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.verify-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 24px;
}

/* 滑块轨道区 */
.verify-slider-track {
    position: relative;
    width: 100%;
    height: 52px;
    background: #f1f5f9;
    border-radius: 26px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 进度填充条 */
.verify-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4f8cff 0%, #21d0dc 100%);
    border-radius: 26px 0 0 26px;
    transition: width 0.05s linear;
}

/* 轨道提示文字 */
.verify-slider-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    z-index: 2;
    pointer-events: none;
    transition: color 0.25s ease;
}

/* 滑块手柄按钮 */
.verify-slider-thumb {
    position: absolute;
    left: 3px;
    top: 3px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 3;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.3s ease;
    box-sizing: border-box;
}

.verify-slider-thumb:active {
    cursor: grabbing;
    box-shadow: 0 6px 16px rgba(79, 140, 255, 0.35);
    transform: scale(1.05);
}

.verify-arrow-svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #3b82f6;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s;
}

/* 验证成功动画与状态 */
.verify-slider-track.verified .verify-slider-fill {
    width: 100% !important;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%) !important;
    border-radius: 26px !important;
}

.verify-slider-track.verified .verify-slider-thumb {
    background: #10b981 !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5) !important;
    cursor: default !important;
}

.verify-slider-track.verified .verify-arrow-svg {
    stroke: #ffffff !important;
}

.verify-slider-track.verified .verify-slider-text {
    color: #ffffff !important;
    font-weight: 600;
}

/* 底部安全保障提示 */
.verify-footer-tip {
    margin-top: 20px;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.verify-lock-icon {
    width: 13px;
    height: 13px;
    fill: currentColor;
}
