/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Überschriften */
h1, h2 {
    color: #004aad;
    text-align: center;
    margin-bottom: 20px;
}

/* Menü */
.menu {
    background-color: #004aad;
    display: flex;
    justify-content: center;
    padding: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.menu a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1em;
    font-weight: bold;
}

.menu a:hover {
    text-decoration: underline;
}

/* Platzhalter für Menü */
.menu-placeholder {
    height: 50px; /* Höhe des Menüs */
}

/* Formulare */
form {
    margin-bottom: 20px;
    width: 100%;
}
form input, form select, form button {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form button {
    background-color: #004aad;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
form button:hover {
    background-color: #003080;
}

/* Tabellen */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}
table th {
    background-color: #004aad;
    color: white;
}
table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Buttons in Tabellen */
table button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}
table button.green {
    background-color: #28a745;
    color: white;
}
table button.red {
    background-color: #dc3545;
    color: white;
}

/* Login-Container */
.login-container {
    max-width: 400px;
    width: 90%;
    background-color: #fff;
    padding: 20px;
    margin: 80px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Fehlernachricht */
.error {
    color: red;
    margin-bottom: 15px;
}

/* Installationsbutton */
#install-button {
    margin-top: 10px;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}
#install-button:hover {
    background-color: #218838;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #004aad;
    color: white;
    font-size: 0.9em;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        text-align: center;
    }
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    h1, h2 {
        font-size: 1.5em;
    }
    form input, form button {
        font-size: 0.9em;
    }
}
/* Stil für runde Buttons */
button {
    border-radius: 50px; /* Macht den Button rund */
    padding: 10px 20px; /* Passt die Größe an */
    font-size: 1em;
    background-color: #004aad; /* Blaue Farbe */
    color: white; /* Weißer Text */
    border: none; /* Entfernt den Rahmen */
    cursor: pointer; /* Zeigt einen Klick-Cursor an */
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #003080; /* Dunklere Farbe bei Hover */
    transform: scale(1.05); /* Leichter Vergrößerungseffekt */
}

button:active {
    transform: scale(0.95); /* Leichter Verkleinerungseffekt bei Klick */
}
