/* Allgemeine Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

.kommentar-formular {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.form-gruppe {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    height: 100px;
    resize: vertical;
}

.bewertung {
    margin: 15px 0;
}

.stern {
    font-size: 24px;
    cursor: pointer;
    color: #ddd;
    display: inline-block;
}

.stern.aktiv {
    color: #ffc107;
}

button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #45a049;
}

.kommentar-liste {
    margin-top: 30px;
}

.kommentar {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.kommentar:last-child {
    border-bottom: none;
}

.kommentar-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.kommentar-datum {
    color: #777;
    font-size: 0.9em;
}

.kommentar-text {
    margin: 10px 0;
}

/* Admin Styles */
.admin-container {
    margin-top: 20px;
}

.kommentar-admin {
    background: #f0f0f0;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.kommentar-admin button {
    margin-right: 10px;
}

.kommentar-admin button[type="submit"][name="loeschen"] {
    background: #f44336;
}

.kommentar-admin button[type="submit"][name="loeschen"]:hover {
    background: #d32f2f;
}

/* Zusätzliche Styles für die Kommentarliste */
.comments-container {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
}

.comments-container h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.comment-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    color: #2c3e50;
    font-size: 1.2em;
    font-weight: 600;
}

.comment-date {
    color: #7f8c8d;
    font-size: 0.9em;
}

.comment-rating {
    margin: 10px 0;
}

.stars {
    color: #f39c12;
    font-size: 1.4em;
    letter-spacing: 2px;
}

.comment-type {
    color: #34495e;
    margin: 8px 0;
    font-style: italic;
    background-color: #ecf0f1;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.comment-text {
    margin-top: 15px;
    line-height: 1.6;
    color: #2c3e50;
    font-size: 1.1em;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

.loading {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 30px;
    font-size: 1.1em;
}
 * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            padding: 20px;
        }
        
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .comment-form-container {
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .comment-form h2 {
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #eee;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #34495e;
        }
        
        input, textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        input:focus, textarea:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }
        
        textarea {
            min-height: 120px;
            resize: vertical;
        }
        
        .star-rating {
            display: flex;
            margin: 10px 0;
        }
        
        .star {
            font-size: 32px;
            color: #ddd;
            cursor: pointer;
            margin-right: 5px;
            transition: all 0.2s;
        }
        
        .star:hover {
            transform: scale(1.2);
        }
        
        .star.active {
            color: #ffc107;
        }
        
        .form-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 25px 0 15px;
        }
        
        .form-footer p {
            color: #7f8c8d;
            font-size: 14px;
        }
        
        .btn {
            padding: 12px 25px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-primary {
            background-color: #3498db;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }
        
        .btn-primary:active {
            transform: translateY(0);
        }
        
        .form-notice {
            background-color: #f8f9fa;
            border-left: 4px solid #3498db;
            padding: 10px 15px;
            font-size: 14px;
            color: #7f8c8d;
        }
        
        .comments-container {
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            padding: 30px;
        }
        
        .comments-container h3 {
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #eee;
        }
        
        .comment {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        
        .comment:last-child {
            border-bottom: none;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .comment-author {
            font-weight: 600;
            color: #2c3e50;
        }
        
        .comment-date {
            color: #95a5a6;
            font-size: 14px;
        }
        
        .comment-rating {
            color: #ffc107;
            margin-bottom: 10px;
        }
        
        .comment-content {
            color: #34495e;
        }
        
        .required {
            color: #e74c3c;
        }
        
        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 6px;
            margin-top: 20px;
            display: none;
        }
        
        @media (max-width: 768px) {
            .form-footer {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
            
            .btn {
                width: 100%;
            }
        }
.no-comments {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 30px;
    background-color: #ecf0f1;
    border-radius: 8px;
    margin: 20px 0;
}

.error-message {
    color: #c0392b;
    background-color: #f9ebea;
    border: 1px solid #e74c3c;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-date {
        margin-top: 5px;
    }
    
    .comments-container {
        padding: 15px;
        margin: 20px 0;
    }
    
    .comment-item {
        padding: 15px;
    }
}