/* 在Styles/Style.css的.form-item样式中添加 */
.form-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    /* 新增：让标签、输入框、验证提示在同一行 */
    flex-wrap: wrap;
}/* 首页专属样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #007bff;
}

.header h1 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.header h2 {
    font-size: 18px;
    color: #007bff;
    font-weight: bold;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.nav-btn {
    display: inline-block;
    width: 220px;
    height: 120px;
    line-height: 120px;
    text-align: center;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.upload-btn {
    background-color: #28a745;
}

.upload-btn:hover {
    background-color: #1e7e34;
}

.system-desc {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.system-desc h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.system-desc ul {
    padding-left: 20px;
    line-height: 1.8;
    color: #666;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.upload-box, .form-item {
    margin-bottom: 20px;
}

form {
    margin-top: 15px;
}

input[type=file] {
    display: block;
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
}

.btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn:hover {
        background-color: #0056b3;
    }

.success-btn {
    background-color: #28a745;
}

    .success-btn:hover {
        background-color: #1e7e34;
    }

.msg {
    display: block;
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
}

.error {
    color: #dc3545;
    background-color: #f8d7da;
}

.success {
    color: #28a745;
    background-color: #d4edda;
}

.form-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

    .form-item label {
        width: 80px;
        font-weight: bold;
    }

    .form-item input {
        flex: 1;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

.result-box {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.result-content p {
    line-height: 1.8;
    margin-bottom: 8px;
}

.nav-btn, .download-btn {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
}

.download-btn {
    background-color: #6c757d;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}