* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

h1 {
    color: #1e88e5;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #757575;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.upload-section, .result-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.result-section {
    display: none; /* 只隐藏结果区域 */
}

h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.file-upload {
    margin-bottom: 20px;
    text-align: center;
}

input[type="file"] {
    display: none;
}

.file-label {
    display: inline-block;
    background-color: #1e88e5;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.file-label:hover {
    background-color: #1976d2;
}

#fileName {
    margin-top: 10px;
    color: #757575;
}

.options {
    margin-bottom: 25px;
}

.option-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.option-group label {
    width: 100px;
    font-weight: bold;
}

select {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 0.9rem;
}

.check-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.check-btn:hover {
    background-color: #43a047;
}

.progress {
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #1e88e5;
    transition: width 0.5s ease-in-out;
}

.result-display {
    text-align: center;
    padding: 20px 0;
}

.result-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #f44336;
    margin-bottom: 15px;
}

#resultText {
    font-size: 1.2rem;
    color: #757575;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #757575;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    .upload-section, .result-section {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .option-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .option-group label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    select {
        width: 100%;
    }
} 