.mongban {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.tc-body {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.3s ease;
}

.tc-div {
    text-align: center;
    position: relative;
}

.tc-ts {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

.tc-img {
    margin: 20px auto;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: -moz-fit-content;
    width: fit-content;
}

.tc-img img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    display: block;
}

.tc-kl {
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.tc-kl span {
    color: #ff4d4f;
    font-weight: 600;
}

.tc-input {
    margin: 20px 0;
}

.tc-input input {
    width: 85%;
    padding: 12px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tc-input input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.tc-input button {
    background: #1890ff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tc-input button:hover {
    background: #40a9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.tc-input button:active {
    transform: translateY(0);
}

.tc-ts2 {
    font-size: 14px;
    color: #888;
    margin-top: 20px;
}

.verification-close-btn:hover {
    background: #f5f5f5 !important;
    color: #666 !important;
}

#tc-show {
    display: none;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 移动端适配 */
@media (max-width: 480px) {
    .tc-body {
        width: 95%;
        max-width: none;
        margin: 0 10px;
        padding: 20px;
    }

    .tc-ts {
        font-size: 18px;
    }

    .tc-img img {
        max-width: 180px;
    }

    .tc-input input {
        width: 100%;
        box-sizing: border-box;
    }
}

.slide-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-verification-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
    position: relative;
}

.slide-verification-header {
    position: absolute;
    top: 16px;
    right: 16px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f5f5f5;
    color: #666;
}

.slide-verification-content {
    text-align: center;
}

.verification-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.verification-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.verification-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.5;
}

.slide-track {
    position: relative;
    width: 100%;
    height: 50px;
    background: #f0f0f0;
    border-radius: 25px;
    margin-bottom: 20px;
    overflow: hidden;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

.slide-track-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #e8f4ff 0%, #f0f0f0 100%);
    transition: background 0.3s ease;
}

.slide-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    pointer-events: none;
    transition: color 0.3s ease;
}

.slide-button {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    border-radius: 23px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
    transition: box-shadow 0.2s ease;
    z-index: 10;
}

.slide-button:hover {
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.slide-button.dragging {
    cursor: grabbing;
    box-shadow: 0 6px 16px rgba(24, 144, 255, 0.5);
}

.slide-button.completed {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
    cursor: default;
}

.slide-button.completed + .slide-track-bg {
    background: linear-gradient(90deg, #f6ffed 0%, #d9f7be 100%);
}

.slide-button.completed + .slide-track-bg .slide-text {
    color: #52c41a;
}

.verification-tips {
    margin-top: 16px;
}

.verification-tips p {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
@media (max-width: 480px) {
    .slide-verification-modal {
        margin: 20px;
        width: calc(100% - 40px);
        padding: 24px 20px;
    }

    .verification-title {
        font-size: 20px;
    }

    .verification-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .slide-track {
        height: 45px;
    }

    .slide-button {
        width: 41px;
        height: 41px;
        border-radius: 20.5px;
    }
}

/* 防止文本选择 */
.slide-verification-modal * {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .slide-button {
        width: 50px;
        height: 50px;
    }

    .slide-track {
        height: 54px;
    }
}

