body {
    font-family: sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h1, h2 {
    color: #444;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="text"], input[type="password"], textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button, .button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

button:hover, .button:hover {
    background-color: #0056b3;
}

.topic-list, .replies {
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.topic-item, .reply-item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}

.topic-item h3 {
    margin-top: 0;
}

.topic-item a {
    text-decoration: none;
    color: #007bff;
}

.topic-item a:hover {
    text-decoration: underline;
}

.reply-item {
    border-left: 3px solid #6c757d;
}

.error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
}
a {
    color: #333; /* Beispiel: Dunkles Grau */
    text-decoration: none;
}

a:hover {
    color: #555;
    text-decoration: underline;
}

/* GRUNDSTYLING FÜR ALLE BUTTONS */
.button {
    background-color: #4CAF50; /* Standardfarbe (Grün) */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block; /* Wichtig für die korrekte Darstellung */
    font-size: 1em;
}

.button:hover {
    background-color: #45a049;
}

/* SPEZIFISCHE STILE FÜR BEARBEITEN- UND LÖSCHEN-BUTTONS */
.edit-link {
    background-color: #ffffff; /* Orange für Bearbeiten */
}

.edit-link:hover {
    background-color: #e68a00;
}

.delete-link {
    background-color: #f44336; /* Rot für Löschen */
}

.delete-link:hover {
    background-color: #d32f2f;
}
