/* Globale Stile und Schriften */
:root {
    --primary-color: #ea0000; /* Ein modernes Blau, anpassbar */
	--hover-coler: #fb1111;
    --background-color: #f4f7f9;
    --card-background: #ffffff;
    --text-color: #333333;
    --border-color: #dddddd;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Der Hauptcontainer für das Login-Formular */
.login-container {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box; /* Stellt sicher, dass Padding die Breite nicht beeinflusst */
}

/* Styling für das Logo */
.logo {
    max-width: 200px; /* Breite anpassen */
    margin-bottom: 30px;
}

/* Gruppiert Label und Input */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Styling für die Eingabefelder */
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box; /* Wichtig für korrekte Breitenberechnung */
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Styling für den Login-Button */
.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: var(--hover-coler); 
}

/* Anpassungen für kleinere Bildschirme */
@media (max-width: 480px) {
    .login-container {
        padding: 20px;
    }
}
/* --- Stile für die Fehlerseite --- */

.error-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.error-box {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error-icon {
    font-size: 4rem; /* Grosses Icon */
    line-height: 1;
    color: #ffc107; /* Ein warnendes Gelb */
    margin-bottom: 20px;
}

.error-box h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.error-message {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* --- Call-to-Action Button --- */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px; /* Abgerundete Ecken */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #b20322; /* Etwas dunkleres Rot */
    transform: translateY(-2px);
}

