/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den Inhalt horizontal */
}

.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Header */
h1 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #007BFF;
}

/* Navigation */
.week-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.week-nav a {
    text-decoration: none;
    font-size: 1.5em;
    color: #007BFF;
}

.week-nav span {
    font-size: 1.2em;
    font-weight: bold;
}

/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 0.9em;
}

table th {
    background-color: #007BFF;
    color: white;
}

table td input[type="text"] {
    width: 94%;
    padding: 5px;
    font-size: 0.9em;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 5px;
}

/* Allgemeine Stile für Buttons */
button {
    display: block;
    padding: 10px;
    font-size: 1em;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 80%;
    text-align: center;
}

button:hover {
    background-color: #0056b3;
}

/* Button "Essensliste" in die Mitte */
#essensliste-btn {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container für Zufallsbutton und Label */
.zufall-container {
    display: flex;
    justify-content: center; /* Zentriert den Inhalt horizontal */
    align-items: center; /* Zentriert den Inhalt vertikal */
    width: 100%;
    margin-top: 20px;
    gap: 15px;
}

/* Zufallsbutton: Halbe Breite */
.zufall-container button {
    width: 50%;
    max-width: 200px; /* Maximale Breite für kleinere Bildschirme */
    margin: 0;
}

/* Label (span): Andere Hälfte */
.zufall-container span {
    width: 50%;
    max-width: 200px; /* Gleiche Größe wie der Button */
    padding: 10px;
    font-size: 1em;
    text-align: center;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

/* Essensliste */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    font-size: 1em;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

ul li:last-child {
    border-bottom: none;
}

/* Fehlernachricht */
.error {
    color: red;
    font-size: 0.9em;
    text-align: center;
    margin-top: 10px;
}

.login-container h1 {
    margin-bottom: 20px;
    color: #1e3a8a;
}

.login-container input {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-container button {
    width: 100%;
    padding: 12px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.login-container button:hover {
    background-color: #3742fa;
}

.button-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-link:hover {
    background-color: #0056b3;
}
