/* Fil de commentaires — publications sociales */

.post-comments-panel {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.post-comments-panel .post-comment-form {
    margin-bottom: 1rem;
}

.post-comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-comment {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.social-comment.is-reply {
    margin-left: 2.5rem;
    padding-left: 0.75rem;
    border-left: 2px solid #dee2e6;
}

.social-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.social-comment-body {
    flex: 1;
    min-width: 0;
}

.social-comment-bubble {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.6rem 0.85rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.social-comment-author {
    font-weight: 600;
    font-size: 0.875rem;
    color: #212529;
}

.social-comment-date {
    font-size: 0.75rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.social-comment-text {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #343a40;
    white-space: pre-wrap;
    word-break: break-word;
}

.social-comment-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding-left: 0.15rem;
}

.social-comment-action {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    cursor: pointer;
    min-height: 30px;
    transition: background 0.15s, color 0.15s;
}

.social-comment-action:hover {
    background: #e9ecef;
    color: #495057;
}

.social-comment-action.comment-like-btn.active,
.social-comment-action.comment-like-btn.active:hover {
    color: #dc3545;
    background: #fde8eb;
}

.social-comment-action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.social-comment-reply-form {
    margin-top: 0.5rem;
}

.social-comment-replies {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
