/* 全局样式 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fc;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: flex;
    height: 100vh;
}

/* 侧边栏 */
.sidebar {
    background-color: #2f3542;
    color: #fff;
    width: 250px;
    padding: 20px 0;
    position: fixed;
    height: 100%;
    top: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: center;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    transition: background-color 0.3s ease;
}

.sidebar ul li a:hover {
    background-color: #1e232d;
    border-radius: 4px;
}

/* 右侧主内容区 */
.content {
    flex: 1;
    padding: 20px;
    margin-left: 250px;
}

h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* 上传文件区域 */
form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-size: 18px;
    font-weight: 500;
    color: #555;
}

input[type="file"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* 响应信息区域 */
#responseMessage {
    background-color: #e0f7fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #b2ebf2;
    margin-top: 20px;
    display: none;
}

#messageText {
    font-size: 16px;
    color: #00796b;
}

/* 进度页面样式 */
#progressContainer {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    overflow-y: auto;
    padding: 20px;
    font-family: 'Courier New', monospace;
    background-color: #fff;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-line {
    background-color: #f5f5f5;
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    transition: background-color 0.3s ease;
}

.progress-line:nth-child(odd) {
    background-color: #f9f9f9;
}

.progress-line:hover {
    background-color: #e0e0e0;
}

/* 滚动条样式 */
#progressContainer::-webkit-scrollbar {
    width: 8px;
}

#progressContainer::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

#progressContainer::-webkit-scrollbar-track {
    background: #f1f1f1;
}

