/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题样式 */
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

h2 {
    margin: 20px 0;
    color: #34495e;
}

/* 表单样式 */
.upload-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
}

input[type="text"],
input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

small {
    display: block;
    color: #666;
    margin-top: 5px;
}

button {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

button:hover {
    background: #2980b9;
}

/* 进度条样式 */
.progress-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    width: 0%;
    height: 100%;
    background: #2ecc71;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #666;
}

/* 模板列表样式 */
.templates-list {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.template-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.template-item:last-child {
    border-bottom: none;
}

.template-item h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.template-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.template-item a {
    color: #3498db;
    text-decoration: none;
}

.template-item a:hover {
    text-decoration: underline;
} 