/* 验证页面样式 */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.verification-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 400px;
    width: 90%;
    box-sizing: border-box;
}

.verification-header {
    text-align: center;
    margin-bottom: 30px;
}

.verification-header h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.verification-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.verification-body {
    margin-top: 30px;
}

/* 拼图容器 */
.puzzle-container {
    position: relative;
    margin-bottom: 20px;
}

.puzzle-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
}

#puzzleCanvas {
    display: block;
    width: 100%;
    height: auto;
}

.puzzle-slider-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
}

.puzzle-slider-track {
    width: 100%;
    height: 40px;
    background: #fff;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.puzzle-slider {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
    user-select: none;
}

.puzzle-slider:active {
    cursor: grabbing;
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
}

.slider-icon {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.puzzle-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.puzzle-preview.show {
    opacity: 1;
}

/* 验证状态 */
.verification-status {
    text-align: center;
    margin: 20px 0;
    min-height: 24px;
}

.status-text {
    font-size: 14px;
    color: #666;
    transition: color 0.3s;
}

.status-text.success {
    color: #2ecc71;
    font-weight: 600;
}

.status-text.error {
    color: #e74c3c;
}

/* 操作按钮 */
.verification-actions {
    text-align: center;
    margin-top: 20px;
}

.btn-refresh {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-refresh:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.btn-refresh:active {
    background: #dee2e6;
}

/* 成功动画 */
@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.verification-container.success {
    animation: successPulse 0.5s ease-in-out;
}

