
/* ===== شكل الرسالة: أفاتار | اسم : نص  (سطر واحد) ===== */
#show_chat, #chat_logs_container, .back_chat {
  direction: rtl;
  text-align: right;
}

.chat_log {
  padding: 7px 10px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(127,127,127,.1) !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

.chat_log:nth-child(even) {
  background: rgba(127,127,127,.04) !important;
}

/* فقاعات ملغاة */
.chat_log .my_bubble,
.chat_log .other_bubble,
.chat_log .bubble_message {
  all: unset;
  display: inline !important;
}

/* الأفاتار */
.chat_log .chat_avatar img,
.chat_log .cavatar,
.chat_log img.cavatar,
.chat_log .avtrig img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

/* الاسم + الرسالة في نفس السطر */
.chat_log .cname,
.chat_log .username {
  display: inline !important;
  vertical-align: middle;
}

.chat_log .chat_message,
.chat_log .chat_text,
.chat_log .ch_text,
.chat_log .mess_content,
.chat_log .chat_mes {
  display: inline !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  vertical-align: middle;
}

/* إزالة block من عناصر كانت تنزل السطر */
.chat_log p {
  display: inline !important;
  margin: 0 !important;
}

.chat_log .chat_time,
.chat_log .ctime {
  float: left;
  opacity: .4;
  font-size: 11px;
}
