body {
    background-color: #2c2c2c;
    font-family: 'Segoe UI', sans-serif;
    color: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}


.container {
    background-color: #d6d6d6;
    color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 350px;
    text-align: center;
}

h2 { margin-top: 0; color: #000; }

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #999;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    width: 100%;
    background-color: #4a4a4a;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover { background-color: #000; }

.error-msg { color: #a30000; font-weight: bold; margin-bottom: 1rem; }
.info-msg { color: #555; font-size: 0.85rem; margin-top: 1rem; }
.logout-link { color: #1a1a1a; text-decoration: underline; font-weight: bold; }


/* Grund-Setup: Verhindert Scrollbalken durch Standard-Abstände */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* Der Container wird zum Flex-Layout */
.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh; /* Nutzt 100% der Viewport-Höhe */
}

/* Fixe Höhe von 2cm */
.top-section {
    height: 2cm;
    background-color: #34495e;
    color: white;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

/* Der Rest wird dynamisch ausgefüllt */
.bottom-section {
    flex: 1; 
    background-color: #222;
    width: 100%;
    padding: 20px;
}


/* ab hier Upload Style*/

body { font-family: 'Segoe UI', sans-serif; background-color: #f4f7f6; display: flex; justify-content: center; padding: 20px; }
.upload-container { width: 100%; max-width: 600px; background: white; padding: 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
#drop-zone { height: 100px; border: 2px dashed #007bff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #007bff; cursor: pointer; background: #f8fbff; transition: 0.3s; font-weight: 500; margin-bottom: 20px; }
#drop-zone.highlight { background: #e7f1ff; border-color: #0056b3; }
#overall-status { margin: 20px 0; padding: 15px; background: #333; color: #fff; border-radius: 8px; transition: opacity 0.5s; }
.overall-info, .overall-details { display: flex; justify-content: space-between; font-size: 0.85em; margin: 5px 0; }
.file-item { background: #f9f9f9; border: 1px solid #eee; padding: 12px; margin-bottom: 10px; border-radius: 8px; transition: opacity 0.5s; }
.progress-bar { width: 100%; background: #e9ecef; height: 8px; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: #28a745; width: 0%; transition: width 0.2s; }
.file-info { display: flex; justify-content: space-between; font-size: 0.9em; margin-bottom: 5px; }
.file-details { display: flex; justify-content: space-between; font-size: 0.75em; color: #666; margin-top: 5px; }
.error-msg { color: #dc3545; font-weight: bold; font-size: 0.85em; margin-top: 5px; }
hr { border: 0; border-top: 1px solid #eee; margin: 25px 0; }
.server-files { display: flex; flex-direction: column; gap: 8px; }
.download-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; background: #fff; border: 1px solid #ddd; border-radius: 6px; font-size: 0.9em; }
.download-item a { text-decoration: none; color: #007bff; font-weight: bold; }
