/* static/css/style.css */
body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

#drop-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 20px;
    transition: border-color 0.3s, background-color 0.3s;
}

#drop-zone.dragover {
    border-color: #007bff;
    background-color: #e9f5ff;
}

#drop-zone p {
    margin: 0 0 10px 0;
    color: #666;
}

/* Verstecke den Standard-Datei-Input */
#file-input {
    display: none;
}

.file-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

#file-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 20px 0;
    max-height: 150px;
    overflow-y: auto;
    text-align: left;
}

#file-list li {
    background-color: #f9f9f9;
    padding: 5px 10px;
    margin-bottom: 5px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #555;
}

#submit-button {
    padding: 12px 25px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

#submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#submit-button:hover:not(:disabled) {
    background-color: #218838;
}

#status {
    margin-top: 20px;
    font-weight: bold;
}

#status.success {
    color: green;
}

#status.error {
    color: red;
}
