/* Allgemeine Einstellungen */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff; /* Hintergrundfarbe */
    background-image: url('index_bg.png'); /* Hintergrundbild */
    background-repeat: no-repeat; /* Keine Wiederholung des Bildes */
    background-size: cover; /* Bild deckt die gesamte Fläche ab */
    background-position: center center; /* Zentriert das Bild */
    margin: 0;
    padding: 0;
    text-align: center; /* Zentriert den Inhalt */
    height: 100vh; /* Höhe des Body auf die gesamte Bildschirmhöhe */
    display: flex; /* Flexbox für vertikale Zentrierung */
    flex-direction: column; /* Spalte */
    justify-content: center; /* Inhalt zentriert */
align-items: center; /* Vertikal zentrieren */
}

.error-box {
            background-color: red; /* Roter Hintergrund */
            color: white; /* Weißer Text für Kontrast */
            border-radius: 15px; /* Abgerundete Ecken */
            padding: 20px; /* Innenabstand */
            margin: 10px; /* Außenabstand */
            width: fit-content; /* Breite passt sich dem Inhalt an */
            text-align: center; /* Zentriert den Inhalt */
        }

.bottom-right-link {
    position: absolute; /* Absolut positionieren */
    bottom: 0; /* Abstand vom unteren Rand */
    right: 0; /* Abstand vom rechten Rand */
    padding: 10px; /* Optional: Innenabstand */
    background-color: #007BFF; /* Hintergrundfarbe */
    color: white; /* Textfarbe */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

.bottom-right-link:hover {
    background-color: #0056b3; /* Hover-Effekt */
}

/* Container für das Login-Formular */
.login-container {
    background-color: #ffffff; /* Weißer Hintergrund */
    border-radius: 10px; /* Abgerundete Ecken */
    padding: 30px; /* Innenabstand */
    width: 300px; /* Breite des Containers auf 700 Pixel festlegen */
    margin: 100px auto; /* Zentriert den Container auf der Seite */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Schatten für Tiefe */
}

/* Überschrift im Login-Formular */
.login-container h1 {
    font-size: 1.8rem;
    color: #0069b4;
    margin-bottom: 20px;
}

/* Eingabefelder und Button im Login-Formular */
.login-container input[type="text"],
.login-container input[type="password"],
.login-container button {
    display: block;
    width: calc(100% - 20px); /* Breite der Eingabefelder und Buttons */
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px; /* Abgerundete Ecken für Eingabefelder und Buttons */
    border: 1px solid #ccc; /* Rahmenfarbe der Eingabefelder */
}

.login-container button {
    background-color: #0069b4; /* Hauptfarbe für den Button */
    color: white;
    font-size: 16px;
    border: none;
}

.login-container button:hover {
    background-color: #00509e; /* Dunklere Variante der Hauptfarbe beim Hover-Effekt */
}
