﻿.comment-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 10px 10px;
    margin-bottom: 8px;
    border: 1px solid #f0f0f5;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    position: relative;
}

.comment-card-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Avatar */
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(230,57,70,0.15);
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.comment-username {
    font-weight: 700;
    font-size: 0.92rem;
    color: #007bff;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.comment-time {
    font-size: 0.78rem;
    color: #adb5bd;
    font-weight: 400;
    white-space: nowrap;
}

.comment-text {
    font-size: 0.93rem;
    color: #343a40;
    line-height: 1.65;
    word-break: break-word;
}

/* Action Bar */
.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-actions-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 2px;
    font-size: 0.8rem;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.btn-like {
    color: #6c757d;
    height: 18px;
    width: 18px;
}

    .btn-like img {
        width: 15px;
        height: 15px;
    }

.comment-textarea {
    width: 100%;
    border: 1.5px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 10px;
    font-size: 0.92rem;
    resize: vertical;
    min-height: 50px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.comment-submit-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}
