/* Grundlegendes Layout - identisch zum Login */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    margin: 0;
    padding: 20px; /* Padding für mobile Geräte */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Container für das Register-Formular */
.register-container {
    background-color: #333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px; /* Etwas breiter als Login, da mehr Felder */
    text-align: center;
}

h1 {
    color: #f4f4f4;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

/* Erfolg- und Fehlermeldungen */
.message {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.error { background-color: #b30000; color: white; }
.success { background-color: #28a745; color: white; }

/* Formular-Gruppe */
.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

/* Flex-Layout für Vorname/Nachname in einer Zeile (optional) */
.form-row {
    display: flex;
    gap: 10px;
}
.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #ddd;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #555;
    color: #e0e0e0;
}

.form-group input:focus {
    outline: none;
    border-color: #00b5e2;
    box-shadow: 0 0 5px rgba(0, 181, 226, 0.5);
    background-color: #666;
    color: #ffffff;
}

button {
    width: 100%;
    padding: 1rem;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
}

button:hover {
    background-color: #003d7a;
}
.form-group select {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #555;
    color: #e0e0e0;
    appearance: none; /* Entfernt Standard-Pfeil in manchen Browsern */
}

.form-group select:focus {
    outline: none;
    border-color: #00b5e2;
}
footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #bbb;
}

footer a {
    color: #00b5e2;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}
