* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', Arial, sans-serif; background: linear-gradient(135deg, #eee 0%, #dfd6c1 100%); min-height: 100vh; padding: 20px; }
.container { max-width: 1000px; margin: 0 auto; background: white; padding: 25px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
        
    /* 标题样式 */
    .header { 
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 15px; 
        padding-bottom: 15px; 
        border-bottom: 2px solid #3498db; 
    }
    
    .header-content {
        flex: 1;
        text-align: center;
    }
    
    .qrcode {
        width: 68px;
        height: 68px;
        flex-shrink: 0;
    }
    
    .header h1 { color: #2c3e50; font-size: 22px; margin-bottom: 5px; }
    .header h2 { color: #3498db; font-size: 16px; font-weight: normal; }      
        
/* 个人信息样式 */
.personal-info { 
    margin-bottom: 20px; 
    padding: 15px; 
    border: 1px solid #e0e0e0; 
    border-radius: 8px; 
    background: #f8f9fa; 
}
.personal-info h3 { 
    color: #34495e; 
    margin-bottom: 12px; 
    font-size: 16px; 
    border-bottom: 1px solid #3498db; 
    padding-bottom: 6px; 
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* PC端两列 */
    gap: 15px;
}
.form-group {
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 10px; /* 标签和输入框之间的间距 */
}
.form-group label {
    font-size: 13px;
    color: #555;
    font-weight: bold;
    white-space: nowrap; /* 防止标签换行 */
    flex-shrink: 0; /* 防止标签被压缩 */
}
.form-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    flex: 1; /* 输入框占据剩余空间 */
    min-width: 0; /* 允许输入框收缩 */
}
.form-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}
.form-group input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
}

/* 手机端响应式布局 */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr; /* 手机端改为单列 */
        gap: 12px;
    }
    .form-group {
        flex-direction: column; /* 手机端改为垂直布局 */
        align-items: stretch; /* 拉伸对齐 */
        gap: 5px;
    }
    .form-group label {
        white-space: normal; /* 允许标签换行 */
    }
    .personal-info {
        padding: 12px;
    }
    .personal-info h3 {
        font-size: 15px;
    }
}
        
        .question { margin-bottom: 18px; padding: 15px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fafafa; }
        .question h3 { color: #34495e; margin-bottom: 12px; font-size: 16px; border-bottom: 1px solid #3498db; padding-bottom: 6px; }
        

        /* 响应式两列布局 */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}
        /* 手机端响应式布局 */
        @media (max-width: 768px) {
            .options-grid {
                grid-template-columns: 1fr;
            }
            
            .container {
                padding: 8px;
                margin: 6px;
            }
            
            .header h1 {
                font-size: 18px;
            }
            
            .header h2 {
                font-size: 14px;
            }
            
            .question {
                padding: 12px;
                margin-bottom: 15px;
            }
            
            .question h3 {
                font-size: 15px;
                margin-bottom: 10px;
            }
            
            .modal-content {
                margin: 5% auto;
                padding: 20px;
                width: 95%;
            }
        }
        
        .option { 
            padding: 5px 8px; 
            background: transparent;
            border-radius: 4px; 
            transition: all 0.2s ease; 
            margin: 1px 0;
        }
        .option:hover { background: #f8f9fa; }
        .option label { 
            display: flex; 
            align-items: flex-start; 
            cursor: pointer; 
            line-height: 1;
            font-size: 14px;
        }
        .option input { 
            margin-right: 8px; 
            margin-top: 0px; 
            flex-shrink: 0;
        }
        
        .submit-btn { 
            display: block; 
            width: 200px; 
            margin: 20px auto; 
            padding: 12px; 
            background: #3498db; 
            color: white; 
            border: none; 
            border-radius: 6px; 
            font-size: 16px; 
            font-weight: bold; 
            cursor: pointer; 
            transition: background 0.3s ease; 
        }
        .submit-btn:hover { background: #2980b9; }
        .submit-btn:disabled {
            background: #95a5a6;
            cursor: not-allowed;
        }
        
        /* 弹窗样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 30px;
            border-radius: 12px;
            width: 90%;
            max-width: 550px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        .modal-success { border-top: 4px solid #27ae60; }
        .modal-error { border-top: 4px solid #e74c3c; }
        .modal-warning { border-top: 4px solid #f39c12; }
        .modal-icon {
            font-size: 50px;
            margin-bottom: 15px;
        }
        .success-icon { color: #27ae60; }
        .error-icon { color: #e74c3c; }
        .warning-icon { color: #f39c12; }
        .modal-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 12px;
            color: #2c3e50;
        }
        .modal-message {
            margin-bottom: 25px;
            line-height: 1.5;
            color: #666;
            text-align: center;
        }
        .certifications-list {
            margin: 20px 0;
        }
        /* 最高等级认证样式 - 红色突出 */
        .certification-item.highest {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
            padding: 15px;
            border-radius: 10px;
            margin: 15px 0;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            border: 2px solid #e74c3c;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
        }
        /* 其他认证样式 - 灰色 */
        .certification-item.other {
            background: #f8f9fa;
            color: #6c757d;
            padding: 12px;
            border-radius: 6px;
            margin: 8px 0;
            font-size: 15px;
            text-align: center;
            border: 1px solid #dee2e6;
        }
        .level-badge {
            color: white;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 11px;
            margin-left: 8px;
            vertical-align: middle;
        }
        .level-i { background: #3498db; }
        .level-ii { background: #9b59b6; }
        .level-iii { background: #e74c3c; }
        .highest-badge {
            background: #ffffff;
            color: #e74c3c;
            font-weight: bold;
        }
        .recommendation {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 6px;
            padding: 12px;
            margin: 15px 0;
            text-align: center;
            font-weight: bold;
            color: #856404;
            font-size: 14px;
        }
        /* 错误详情样式 */
        .error-details {
            background: #f8d7da;
            border: 1px solid #f5c6cb;
            border-radius: 6px;
            padding: 12px;
            margin: 15px 0;
            text-align: left;
        }
        .error-details h4 {
            color: #721c24;
            margin-bottom: 8px;
            font-size: 14px;
        }
        .error-list {
            list-style: none;
            padding: 0;
        }
        .error-list li {
            padding: 3px 0;
            color: #721c24;
            display: flex;
            align-items: center;
            font-size: 13px;
        }
        .error-list li:before {
            content: "?";
            color: #e74c3c;
            font-weight: bold;
            margin-right: 6px;
        }
        .modal-btn {
            padding: 10px 25px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            margin: 4px;
            transition: background 0.3s ease;
        }
        .modal-btn:hover {
            background: #2980b9;
        }
        .btn-success {
            background: #27ae60;
        }
        .btn-success:hover {
            background: #219653;
        }