body {
    font-family: Arial, sans-serif;
    background-color: #222; /* Dunkler Hintergrund */
    margin: 0;
    padding: 20px;
    color: #f0f0f0; /* Hellerer Text */
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #333; /* Dunklerer Container-Hintergrund */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Angepasster Schatten */
}

h1, h2, h3 {
    color: #4CAF50; /* Grünlicher Akzent für Überschriften */
}

.auth-links {
    text-align: right;
    margin-bottom: 20px;
}

.auth-links a {
    margin-left: 10px;
    color: #81D4FA; /* Hellerer Blau-Ton für Links */
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #e0e0e0; /* Hellerer Label-Text */
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #555; /* Dunklere Rahmenfarbe */
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #444; /* Dunklerer Input-Hintergrund */
    color: #f0f0f0; /* Hellerer Input-Text */
}

textarea {
    resize: vertical;
}

button {
    background-color: #4CAF50; /* Grüner Button */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease; /* Sanfter Übergang */
}

button:hover {
    background-color: #388E3C; /* Dunkleres Grün beim Hover */
}

.delete-btn {
    background-color: #F44336; /* Roter Löschen-Button */
    margin-top: 5px;
    font-size: 14px;
    padding: 6px 10px;
}

.delete-btn:hover {
    background-color: #D32F2F; /* Dunkleres Rot beim Hover */
}

.questions-list, .answers-list {
    margin-top: 20px;
    border-top: 1px solid #444; /* Dunklere Trennlinie */
    padding-top: 20px;
}

.question-item {
    background-color: #3a3a3a; /* Leicht heller als Container */
    border: 1px solid #555; /* Angepasster Rahmen */
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.question-item h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: #66BB6A; /* Helleres Grün für Unterüberschriften */
    font-size: 1.1em;
}

.answer-item {
    background-color: #424242; /* Etwas heller als Frage-Item */
    border: 1px solid #666; /* Angepasster Rahmen */
    padding: 10px;
    margin-left: 20px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.answer-form {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #444; /* Dunklere Trennlinie */
}

.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid;
}

.message.error {
    background-color: #5C1E1E; /* Dunkleres Rot für Fehler */
    color: #FFCDD2; /* Helleres Rot für Fehlertext */
    border-color: #FF8A80;
}

.message.success {
    background-color: #2E5D30; /* Dunkleres Grün für Erfolg */
    color: #C8E6C9; /* Helleres Grün für Erfolgstext */
    border-color: #A5D6A7;
}