body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    text-align: center;
}

.drop-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    transition: all 0.3s;
}

.drop-area.highlight {
    border-color: #4CAF50;
    background-color: #f0fff0;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

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

#status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s;
}

.series-item {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.series-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-btn:disabled, .download-btn:disabled:hover {
    background-color: #ccc;
}

.download-btn:hover {
    background-color: #45a049;
}

.progress-container {
    width: 100%;
    background-color: #f1f1f1;
    border-radius: 4px;
    margin-top: 5px;
}

.progress-bar {
    height: 20px;
    background-color: #4CAF50;
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s;
}

.error-message {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    border-left: 4px solid #d32f2f;
}

.drop-area.error {
    border-color: #d32f2f;
    background-color: #ffebee;
}

.retry-btn {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.retry-btn:hover {
    background-color: #b71c1c;
}
