/* ===== WRAPPER ===== */
.comments {padding:15px;
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

/* ===== FORM ===== */
.comments form {
    display: flex;
    flex-direction: column;padding:10px;
    gap: 8px;border:1px solid #e5e5e5;
    margin-bottom: 15px;
}

.comments textarea {
    resize: none;
    padding: 10px;
    font-size: 14px;
    outline: none;
}
.comments form,.comments textarea{border-radius:15px;background: #F2F4F7;}
.comments textarea:focus {
    border-color: #1877f2;
}
.comment_bottom{padding:0 20px}
.comments input[type="file"] {
    font-size: 13px;
}

.comments button {
    align-self: flex-end;
    background: #1877f2;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.comments button:hover {
    background: #166fe5;
}

/* ===== COMMENT ITEM ===== */
.comment {
    display: flex;
    margin-bottom: 12px;
}

/* AVATAR */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* CONTENT */
.content {
    margin-left: 10px;
    width: 100%;
}

/* BUBBLE */
.bubble {
    background: #f0f2f5;
    padding: 8px 10px;
    border-radius: 12px;
    display: inline-block;
    max-width: 100%;
}

.bubble b {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* IMAGE */
.img {
    max-width: 200px;
    margin-top: 6px;
    border-radius: 8px;
}

/* META */
.meta {
    font-size: 12px;
    color: #65676b;
    margin-top: 3px;
}

.meta a {
    margin-left: 10px;
    cursor: pointer;
    font-weight: 500;
}

.meta a:hover {
    text-decoration: underline;
}

/* REPLY */
.reply {
    margin-left: 45px;
    margin-top: 5px;
}

/* REPLY BOX */
.reply-box {
    display: none;
    margin-top: 5px;
}

.reply-box textarea {
    width: 100%;
    height: 40px;
    border-radius: 6px;
}

/* ===== SCROLL MƯỢT ===== */
#list {
    transition: all 0.2s ease;
}
.avatar {
    width:40px;
    height:40px;
    border-radius:50%;
    object-fit:cover;
}