body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.2em;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-top: 20px;
}

.upload-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fafafa;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1em;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

/* プログレスバー用のスタイル追加 */
#progress-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-item {
    display: flex;
    align-items: center;
    background: #fafafa;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.file-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 15px;
    font-size: 0.9em;
}

progress {
    flex: 2;
    height: 15px;
    margin-right: 10px;
}

.percent-text {
    width: 50px;
    text-align: right;
    font-size: 0.9em;
    font-weight: bold;
}

.download-section ul {
    list-style-type: none;
    padding: 0;
}

.download-section li {
    background: #f9f9f9;
    margin-bottom: 8px;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.download-section a {
    text-decoration: none;
    color: #2196F3;
    font-weight: bold;
    width: 100%;
    display: block;
}

.download-section a:hover {
    text-decoration: underline;
}
