/* 简化测试样式 - 确保页面可见 */
body {
    font-family: 'Arial', sans-serif;
    background: #f8f6f0;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 50px;
    background: rgba(248, 246, 240, 0.95);
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    display: block !important;
}

.page-title {
    font-size: 42px;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    display: block !important;
}

.scan-prompt {
    text-align: center;
    padding: 60px 40px;
    background: rgba(248, 246, 240, 0.9);
    border-radius: 15px;
    margin-bottom: 40px;
    display: block !important;
}

.submit-btn {
    background: #1a1a1a;
    color: #f8f6f0;
    border: none;
    padding: 16px 45px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    margin: 20px auto;
    display: inline-block;
}

.info-card {
    background: rgba(248, 246, 240, 0.8);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: block !important;
}

.footer-section {
    margin-top: 60px;
    padding: 30px;
    background: rgba(26, 26, 26, 0.05);
    border-radius: 12px;
    text-align: center;
    display: block !important;
}

.fade-in {
    opacity: 1 !important;
    display: block !important;
}

/* 美化的重置按钮样式 - 水墨画风格 */
.reset-btn {
    background: linear-gradient(135deg, 
        rgba(138, 138, 138, 0.1) 0%, 
        rgba(74, 74, 74, 0.05) 100%);
    color: var(--ink-gray);
    border: 2px solid rgba(138, 138, 138, 0.3);
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'ZCOOL XiaoWei', serif;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    font-weight: 500;
}

/* 重置按钮的悬停效果 */
.reset-btn:hover {
    background: linear-gradient(135deg, 
        rgba(138, 138, 138, 0.2) 0%, 
        rgba(74, 74, 74, 0.15) 100%);
    border-color: rgba(212, 184, 150, 0.5);
    color: var(--ink-black);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* 重置按钮的激活效果 */
.reset-btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* 重置按钮的水墨晕染效果 */
.reset-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        rgba(212, 184, 150, 0.15) 0%, 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
    z-index: 1;
}

.reset-btn:hover::before {
    width: 250px;
    height: 250px;
}

/* 重置按钮的文字样式 */
.reset-btn span {
    position: relative;
    z-index: 2;
}

/* 重置按钮的光效 */
.reset-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.reset-btn:hover::after {
    left: 100%;
}

/* 重置按钮的聚焦样式（键盘导航） */
.reset-btn:focus {
    outline: none;
    border-color: var(--ancient-yellow);
    box-shadow: 
        0 8px 25px rgba(212, 184, 150, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* 重置按钮的禁用状态 */
.reset-btn:disabled {
    background: linear-gradient(135deg, 
        rgba(138, 138, 138, 0.05) 0%, 
        rgba(74, 74, 74, 0.02) 100%);
    color: rgba(74, 74, 74, 0.4);
    border-color: rgba(138, 138, 138, 0.15);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 重置按钮的特殊效果 - 水墨扩散动画 */
.reset-btn.water-ripple {
    animation: waterRipple 0.8s ease;
}

@keyframes waterRipple {
    0% {
        transform: scale(1);
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
    25% {
        transform: scale(0.98);
        box-shadow: 
            0 1px 8px rgba(212, 184, 150, 0.2),
            inset 0 0 15px rgba(212, 184, 150, 0.15);
    }
    50% {
        transform: scale(0.95);
        box-shadow: 
            0 2px 10px rgba(212, 184, 150, 0.3),
            inset 0 0 20px rgba(212, 184, 150, 0.1);
    }
    75% {
        transform: scale(0.98);
        box-shadow: 
            0 1px 8px rgba(212, 184, 150, 0.2),
            inset 0 0 15px rgba(212, 184, 150, 0.15);
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

/* 按钮区域的样式增强 */
form > div:last-of-type {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap;
    position: relative;
}

/* 成功消息样式 */
.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.15) 0%, 
        rgba(74, 144, 226, 0.08) 100%);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 12px;
    padding: 15px 25px;
    color: var(--ink-gray);
    font-size: 16px;
    font-family: 'ZCOOL XiaoWei', serif;
    z-index: 1000;
    box-shadow: 
        0 4px 20px rgba(74, 144, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* 表单组样式增强 */
.form-group {
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.form-group:hover {
    transform: translateX(5px);
}

/* 确保所有元素都可见 */
* {
    visibility: visible !important;
}