/* Inline Comments Section */
.inline-comments-section {
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    padding: 15px;
    margin-top: 10px;
    border-radius: 0 0 8px 8px;
}

.inline-comment-form {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.inline-comment-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.inline-comment-input:focus {
    outline: none;
    border-color: #007bff;
}

.inline-comment-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submit-comment-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.submit-comment-btn:hover {
    background: #0056b3;
}

.submit-comment-btn i {
    margin-right: 6px;
}

.permalink-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.permalink-link:hover {
    color: #007bff !important;
}

.add-comment-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 15px;
}

.add-comment-btn:hover {
    background: #0056b3;
}

.add-comment-btn i {
    margin-right: 8px;
}

.inline-comments-container {
    margin-bottom: 15px;
}

.no-comments {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.error-message {
    text-align: center;
    padding: 20px;
    color: #d32f2f;
}

.inline-comment-card {
    background: white;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.comment-username {
    font-weight: 600;
    color: #333;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-content {
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
    word-wrap: break-word;
}

.comment-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.comment-like-btn,
.comment-dislike-btn,
.comment-reply-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.comment-like-btn:hover {
    background: #e3f2fd;
    color: #2196F3;
}

.comment-dislike-btn:hover {
    background: #ffebee;
    color: #f44336;
}

.comment-reply-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.comment-reaction-count {
    font-weight: 600;
}

.see-more-comments {
    text-align: center;
    padding: 10px;
    margin: 10px 0;
}

.see-more-link {
    color: #007bff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.see-more-link:hover {
    text-decoration: underline;
}

.collapse-comments-btn {
    width: 100%;
    padding: 10px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.collapse-comments-btn:hover {
    background: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .inline-comments-section {
        padding: 10px;
    }
    
    .inline-comment-card {
        padding: 10px;
    }
    
    .comment-actions {
        gap: 10px;
    }
    
    .comment-like-btn,
    .comment-dislike-btn,
    .comment-reply-btn {
        font-size: 13px;
        padding: 4px 8px;
    }
}
