body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-image: url("img/wiso.jpg"); 
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat; 
    background-attachment: fixed; 
  
    
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: darken;
  
    font-family: "Poppins", sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    margin: 0;
}

/* Die Login-Box in der Mitte */
.login-container {
    background-color: #ffffff; /* Weißer Hintergrund für die Box */
    padding: 2.5rem 3rem;
    border-radius: 12px; /* Abgerundete Ecken */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); 
    width: 100%;
    max-width: 400px; 
    text-align: center;
    box-sizing: border-box; /* Stellt sicher, dass Padding die Breite nicht sprengt */
}

/* Titel "FAUhr" */
.login-container h1 {
    color: #04316A; 
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Untertitel */
.login-container p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 2rem; /* Abstand nach unten */
}

/* Styling für die Formular-Gruppen (Label + Input) */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left; /* Text in der Form linksbündig */
}

.form-group label {
    display: block; /* Label über dem Input */
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

/* Styling für die Eingabefelder */
.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 40px; 
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px; /* Leicht abgerundete Ecken für Felder */
    box-sizing: border-box; /* Wichtig für 100% Breite + Padding */
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Visuelles Feedback, wenn das Feld aktiv ist (Fokus) */
.form-group input:focus {
    border-color: #004c90; 
    box-shadow: 0 0 0 3px rgba(0, 76, 144, 0.2); 
    outline: none; /* Standard-Fokus-Rahmen entfernen */
}

/* Wrapper für das Passwort-Icon */
.input-wrapper {
    position: relative; /* Wichtig für die absolute Positionierung des Icons im Wrapper */
    width: 100%; /* Stellt sicher, dass der Wrapper die volle Breite einnimmt */
}

/* Styling für das Passwort-Icon */
.password-toggle-icon {
    position: absolute;
    right: 15px; /* 15px vom rechten Rand des Input-Feldes */
    top: 50%;
    transform: translateY(-50%); /* Vertikal exakt zentrieren */ 
    
    color: #aaa; /* Ein neutrales Grau für das Icon */
    cursor: pointer;
    z-index: 2; /* Stellt sicher, dass es klickbar ist und über dem Text liegt */
}

/* Der Anmelde-Button */
.login-button {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #04316A; /* Gleicher Blauton wie Titel */
    border: none;
    border-radius: 8px;
    cursor: pointer; /* Mauszeiger ändert sich */
    transition: background-color 0.3s ease; /* Sanfter Übergang */
}

/* Effekt, wenn man mit der Maus über den Button fährt */
.login-button:hover {
    background-color: #003a6e; /* Ein leicht dunkleres Blau */
}

/* "Passwort vergessen" Link */
.forgot-password {
    margin-top: 0.75rem; 
    font-size: 0.9rem;
}

.forgot-password a {
    color: #004c90;
    text-decoration: none; /* Kein Unterstrich */
}

.forgot-password a:hover {
    text-decoration: underline; /* Unterstrich beim Drüberfahren */
}


.register-button:hover {
    background-color: #f0f2f5; /* Leichter Hover-Effekt */
    color: #003a6e;
}


/* Stil für die Fehlermeldung (von script.js benötigt) */
.error-message {
    color: #D32F2F; /* Ein klares Rot für Fehler */
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 1.2em; /* Stellt sicher, dass Platz da ist, ohne zu springen */
}

#totalDays {
  font-weight: bold;
}