/* Comments Section Styles */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.comment-form-container {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.comment-form-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-form textarea {
    min-height: 120px;
}

.comments-list {
    margin-top: 2rem;
}

.comment {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-date {
    color: #777;
    font-size: 0.9rem;
}

.comment-content {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.comment-actions {
    font-size: 0.9rem;
}

.reply-link {
    color: #007bff;
    text-decoration: none;
}

.reply-link:hover {
    text-decoration: underline;
}

.nested-comments {
    margin-top: 1rem;
    border-left: 2px solid #eee;
    padding-left: 1rem;
}

.no-comments {
    color: #777;
    font-style: italic;
}

.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}