body {
    background-color: #00802D;
    /* Ein schönes Grün */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Mindesthöhe des Viewports */
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

.image-container {
    text-align: center;
    margin-bottom: 30px;
}

.image-container img {
    max-width: 60%;
    /* Bildgröße anpassen */
    height: auto;
    border: 3px solid white;
    /* Optional: Weißer Rahmen um das Bild */
    display: block;
    /* Entfernt zusätzlichen Platz unter dem Bild */
    margin: 0 auto;
    /* Zentriert das Bild */
}

.links-container {
    text-align: center;
}

.links-container a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.links-container a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


.main-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    width: 100%;
}

button {
    background-color: #23c214;
    color: black;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
}

button:hover {
    background-color: #00b34b;
}

/* Modal (Popup-Box) */
.modal {
    display: none; /* Standardmäßig versteckt */
    position: fixed; /* Bleibt an Ort und Stelle, auch beim Scrollen */
    z-index: 1000; /* Ganz oben */
    left: 0;
    top: 0;
    width: 100%; /* Volle Breite */
    height: 100%; /* Volle Höhe */
    overflow: auto; /* Aktiviert Scrollen, wenn nötig */
    background-color: rgba(0, 0, 0, 0.6); /* Schwarzer Hintergrund mit Transparenz (graut die Hauptseite aus) */
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Vertikale und horizontale Zentrierung */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative; /* Für den Schließen-Button */
    width: 90%; /* Standardbreite für Mobilgeräte */
    max-width: 500px; /* Maximale Breite für größere Bildschirme */
    box-sizing: border-box; /* Padding wird in die Breite eingerechnet */
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
}

.modal-content p {
    margin-top: 0;
    color: #333;
}
.form-group {
    margin-bottom: 15px;
    text-align: left; /* Labels und Inputs linksbündig im Formular */
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"] {
    width: calc(100% - 22px); /* 100% minus Padding und Border */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
.form-group input[type="password"] {
    width: calc(100% - 22px); /* 100% minus Padding und Border */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.modal-content button[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-top: 20px;
}
.modal-open {
    overflow: hidden;
}

/* NEU: Styles für Radiobuttons */
.radio-group-container {
    margin-top: 20px;
    margin-bottom: 15px;
    border: 1px solid #eee; /* Leichter Rahmen zur Gruppierung */
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.radio-group-container p {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
    color: #555;
}

.radio-option {
    display: flex; /* Für bessere Ausrichtung von Radiobutton und Label */
    align-items: center; /* Vertikale Zentrierung */
    margin-bottom: 10px; /* Abstand zwischen den Optionen */
}

.radio-option:last-child {
    margin-bottom: 0; /* Kein Abstand nach dem letzten Element */
}

.radio-option input[type="radio"] {
    margin-right: 10px; /* Abstand zwischen Radiobutton und Label */
    width: auto; /* Radiobuttons sollen ihre Standardbreite behalten */
    transform: scale(1.2); /* Vergrößert den Radiobutton leicht */
}

.radio-option label {
    margin-bottom: 0; /* Entfernt den unteren Margin */
    font-weight: normal;
    cursor: pointer; /* Zeigt an, dass das Label klickbar ist */
}

.password-container { 
    position: relative;
    /* width: 300px; */
}
.hidden {
    display: none !important;
}
/* #chkUser,label[for="chkUser"] { */
  /* display: none; */
/* } */

/* #inputPswd { */
    /* width: 100%; */
    /* padding-right: 35px; */
    /* Platz für das Auge-Icon */
/* } */

#togglePassword {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    /* Verhindert, dass Text markiert wird */
}
/* Responsivität für kleinere Bildschirme */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .main-content {
        padding: 20px;
    }

    .modal-content {
        padding: 20px;
        width: 95%; /* Etwas breiter auf sehr kleinen Bildschirmen */
    }

    .form-group input[type="text"] {
        font-size: 0.9em;
    }

    .modal-content button[type="submit"] {
        padding: 10px;
        font-size: 1em;
    }
    .checkbox-group {
        flex-direction: row; /* Behält die Checkboxen nebeneinander */
        align-items: center;
    }
    .radio-group-container {
        padding: 10px;
    }
    .radio-option {
        flex-direction: row; /* Behält Radiobuttons nebeneinander */
        align-items: center;
    }
}
.checkbox-group {
    display: flex; /* Für bessere Ausrichtung von Checkbox und Label */
    align-items: center; /* Vertikale Zentrierung */
    margin-bottom: 10px; /* Abstand zwischen den Checkbox-Gruppen */
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px; /* Abstand zwischen Checkbox und Label */
    width: auto; /* Checkboxen sollen ihre Standardbreite behalten */
    /* Sie können die Größe der Checkbox hier anpassen, z.B. */
    transform: scale(1.2); /* Vergrößert die Checkbox leicht */
}

.checkbox-group label {
    margin-bottom: 0; /* Entfernt den unteren Margin, da sie neben der Checkbox stehen */
    font-weight: normal; /* Labels für Checkboxen sind oft nicht fett */
}