/* Allgemeine Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #9b8d52, #2e3c55);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* Container für das Registrierungs-Formular */
.register-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 400px;
}

/* Formular-Header */
h2 {
    text-align: center;
    color: #2e3c55;
    margin-bottom: 20px;
}

/* Eingabefelder */
.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1em;
}

/* Passwort-Anforderungen anzeigen */
#passwordRequirements {
    color: #ff0000;
    font-size: 0.8em;
    margin-top: 5px;
    display: none;
}

/* Button-Styling */
.btn {
    width: 100%;
    padding: 10px;
    background-color: #9b8d52;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn:enabled {
    background-color: #2e3c55; /* Gleiche Farbe wie der Login-Button beim Hover */
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: scroll; /* Scrollbare Inhalte */
}

.terms-content {
    max-height: 300px;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Die input-group wird als flex-Container verwendet */
.input-group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* Passwort-Eingabefeld */
#password {
    flex-grow: 1;
    border: none;
    padding: 10px;
    font-size: 16px;
}

/* Icon für die Anzeige/Verstecken des Passworts */
.input-group-text {
    padding: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
}

/* Checkbox- und Label-Styling */
.form-check {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.form-check-input {
    margin-right: 10px;
}

.form-check-label {
    font-size: 14px;
    color: #2e3c55; /* Gleiche Textfarbe wie beim Login */
}

.form-check a {
    color: #9b8d52; /* Linkfarbe angepasst */
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline; /* Hover-Effekt für den Link */
}

/* Header */
#header {
    display: flex; /* Verwendet flexbox für das Layout im Header */
    justify-content: space-between; /* Verteilt den Platz gleichmäßig zwischen den Elementen */
    align-items: center; /* Zentriert die Elemente vertikal */
    padding: 10px 20px; /* Innenabstand für den Header */
    background-color: #2e3c55; /* Hintergrundfarbe  für den Header */
    color: #e0d9ae; /* Textfarbe im Header */
    position: fixed; /* Header bleibt beim Scrollen fixiert */
    top: 0; /* Positioniert den Header am oberen Rand */
    left: 0; /* Positioniert den Header am linken Rand */
    width: 100%; /* Header nimmt die gesamte Breite des Bildschirms ein */
    z-index: 1000; /* Legt fest, dass der Header über anderen Elementen liegt */
    height: 100px; /* Festgelegte Höhe für den Header */
}

.header-center {
    position: absolute; /* Positionierung relativ zur Header-Box */
    top: 50%; /* Vertikale Zentrierung */
    left: 50%; /* Horizontale Zentrierung */
    transform: translate(-50%, -50%); /* Verschiebt das Element, um es exakt zu zentrieren */
    display: flex; /* Verwendet flexbox für die Layoutstruktur */
    align-items: center; /* Zentriert die Elemente vertikal */
    justify-content: center; /* Zentriert die Elemente horizontal */
    padding: 15px; /* Innenabstand im Header-Center */
    z-index: 1000; /* Sicherstellen, dass der Text über anderen Inhalten bleibt */
}


/* Footer */
#footer {
    background-color: #2e3c55;
    color: #e0d9ae;
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#footer .copyright h2 {
    text-align: center;
    font-size: 14px;
    color: #e0d9ae;
    border-top: 1px solid #e0d9ae;
    padding: 20px 0;
    margin-top: 20px;
}
