.ChatList {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.ChatList .Toolbar .avatar-btn img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ChatList .empty-content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ChatList img.empty-logo {
  margin-top: 50px;
}

.ChatList .empty-title {
  margin-top: 23px;
  font-weight: 600;
  font-size: 18px;
  color: #666666;
}

.ChatList .empty-description {
  margin-top: 12px;
  line-height: 19px;
  font-size: 13px;
  color: #666666;
}

.ChatList button.start-chat {
  margin-top: 40px;
  background: #94ca62;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  color: #ffffff;
  border: none;
  height: 36px;
  width: 138px;
  text-transform: uppercase;
}

/* Room list */
.ChatList .room-list {
  padding: 0;
  margin: 0;
  width: 100%;
  flex: 1;
  overflow-y: scroll;
}

.ChatList .room-list .scrollspy {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ChatList .room-item {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px 16px;
  cursor: pointer;
}

.ChatList .room-data-container {
  display: flex;
  flex: 1;
  border-bottom: 1px solid #ececec;
  margin-left: 16px;
  padding-bottom: 16px;
}

.ChatList img.room-avatar {
  flex: 0;
  flex-basis: 40px;
  flex-shrink: 0;
  object-fit: cover;
  height: 40px;
  width: 40px;
  overflow: hidden;
  border-radius: 50%;
}

.ChatList .room-content {
  flex: 1;
}

.ChatList .room-content .room-name {
  font-size: 14px;
  color: #2c2c36;
}

.ChatList .room-content .room-last-message {
  font-size: 11px;
  color: #979797;
  max-width: 175px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.ChatList .room-meta {
  flex: 0;
  flex-basis: 55px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.ChatList .room-meta .room-time {
  font-size: 10px;
  text-align: right;
  color: #979797;
}

.ChatList .room-meta .room-unread-count {
  font-size: 10px;
  color: white;
  background: #94ca62;
  border-radius: 50%;
  min-width: 14px;
  text-align: center;
  margin-top: 5px;
}

/* Chat room */
.Chat {
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  height: 100%;
}

.Chat .ToolbarChatRoom {
  overflow: hidden;
  height: 48px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  border-bottom: 0.5px solid #e8e8e8;
}

.Chat .ToolbarChatRoom button.btn-icon {
  background: none;
  border: none;
  height: 40px;
  width: 40px;
  flex-basis: 40px;
  flex: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.Chat .ToolbarChatRoom .room-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.Chat .ToolbarChatRoom .room-name {
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #362c33;
}

.Chat .ToolbarChatRoom .online-status {
  font-size: 11px;
  text-align: center;
  color: #94ca62;
}

.Chat .ToolbarChatRoom .online-status.--offline {
  color: #949494;
}
.Chat .ToolbarChatRoom .online-status.participant-list {
  color: #979797;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.Chat .ToolbarChatRoom img.avatar {
  flex: 0 0 30px;
  height: 30px;
  width: 30px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 50%;
}

.Chat .comment-list-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1 auto;
  height: 0;
}

.Chat .comment-list-container ul {
  height: 100%;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
}

.Chat .comment-list-container .load-more,
.ChatList .room-list .load-more {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.Chat .comment-list-container .load-more-btn,
.ChatList .room-list .load-more button {
  background: #94ca62;
  border: none;
  border-radius: 3px;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
}

.Chat .comment-list-container .comment-item {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
}
.Chat .comment-list-container .comment-item.date {
  justify-content: center;
}

.Chat .comment-list-container .comment-item:last-child {
  margin-bottom: 10px;
}

.Chat .comment-list-container .message-container {
  background: #e8e8e8;
  box-shadow: 0px 7px 16px rgba(199, 199, 199, 0.25);
  border-radius: 4px;
  line-height: 23px;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  padding: 10px;
  max-width: 200px;
  overflow: hidden;
  min-width: 80px;
}

.Chat .comment-list-container .message-container.date {
  background: #94ca62b8;
  color: white;
  font-size: 11px;
  padding: 0 10px;
}

.Chat
  .comment-list-container
  .comment-item[data-comment-type='upload']
  .message-container,
.Chat
  .comment-list-container
  .comment-item[data-comment-type='image']
  .message-container {
  width: 200px;
  height: 120px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.Chat .comment-list-container .comment-item[data-comment-type='uploading'] a {
  position: relative;
}

.Chat .comment-list-container .comment-item .upload-overlay {
  background: rgba(177, 177, 177, 0.5);
  position: absolute;
  height: 100%;
  width: 100%;
}

.Chat .comment-list-container .comment-item .progress {
  height: 10px;
  border-radius: 3px;
  width: 80%;
  background: #fafafa;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.Chat .comment-list-container .comment-item .progress-inner {
  position: absolute;
  height: 100%;
  width: 0%;
  background: #94ca62;
}

.Chat .comment-list-container .message-container a {
  height: 100%;
  width: 100%;
}

.Chat .comment-list-container .comment-item[data-comment-type='upload-file'] a,
.Chat .comment-list-container .comment-item[data-comment-type='file'] a {
  text-decoration: none;
  font-weight: 600;
  line-height: 18px;
  font-size: 10px;
  color: #666666;
}

.Chat
  .comment-list-container
  .comment-item[data-comment-type='upload-file']
  .comment-file,
.Chat
  .comment-list-container
  .comment-item[data-comment-type='file']
  .comment-file {
  display: flex;
  padding: 10px;
  background: #fafafa;
  border-left: 4px solid #94ca62;
  border-radius: 3px;
  align-items: center;
}

.Chat .comment-list-container .message-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.Chat .comment-list-container .comment-item.me {
  flex-direction: row-reverse;
}

.Chat .comment-list-container .comment-item .icon {
  display: none;
}

.Chat .comment-list-container .comment-item[data-comment-type='file'].me .icon {
  display: block;
}

.Chat .comment-list-container .comment-item.me .icon {
  display: block;
}

.Chat .comment-list-container .comment-item.me .message-container {
  background: white;
}

.Chat .comment-list-container .message-time {
  font-size: 10px;
  text-align: right;
  color: #979797;
  margin-right: 5px;
}

.Chat .comment-list-container .icon {
  margin-right: 5px;
  margin-left: auto;
}
.Chat .comment-item:hover .message-meta {
  display: none;
}
.Chat .comment-item .message-deleter {
  display: none;
}
.Chat .comment-item:hover .message-deleter {
  display: flex;
  align-items: center;
  margin-right: 10px;
}
.Chat .comment-item .message-deleter button {
  background: white;
  border: none;
  box-shadow: 0px 7px 16px rgba(199, 199, 199, 0.25);
  border-radius: 4px;
  line-height: 23px;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  max-width: 200px;
  overflow: hidden;
  cursor: pointer;
}
.Chat .comment-item .message-deleter button:hover {
  background: #ececec;
}

.Chat .empty-title {
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  color: #666;
  margin-top: 24px;
}

.Chat .empty-description {
  line-height: 19px;
  font-size: 13px;
  text-align: center;
  color: #666;
  margin: 0;
  margin-top: 12px;
}

.Chat .message-form {
  flex: 0;
  height: 48px;
  flex-basis: 48px;
  background: white;
  display: flex;
  width: 100%;
  border-top: 1px solid #e8e8e8;
}

.Chat .message-form button {
  background: white;
  border: none;
  flex: 0;
  flex-basis: 48px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.Chat .message-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  outline: none;
}

.Chat .attachment-overlay {
  background: rgba(0, 0, 0, 0.5);
  top: 29px;
  bottom: 0;
  width: 100%;
  position: absolute;
}

.Chat ul.attachment-picker-container {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  position: absolute;
  width: 100%;
  background: whitesmoke;
  bottom: 0;
}

.Chat button.attachment-btn {
  background: white;
  border: 0;
  width: 100%;
  display: flex;
  height: 48px;
  align-items: center;
  cursor: pointer;
  text-indent: 15px;
  padding: 0 16px;
}

.Chat .reply-form-container {
  display: flex;
  position: relative;
  background: #fafafa;
  flex-basis: 55px;
  padding: 5px;
}
.Chat .reply-form-container > div {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex: 1;
  margin-right: 20px;
  border-radius: 5px;
  font-size: 10pt;
  padding: 5px;
}
.Chat .reply-form-container .close-reply-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.Chat .message-container.reply {
  flex-direction: column;
}
.Chat .message-container .replied-message-container {
  background-color: #fafafa;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: 100%;
  text-align: left;
}
.Chat .message-container .replied-original-message {
  flex: 1;
  width: 100%;
}
.Chat .message-container .replied-original-message p,
.Chat .message-container .replied-original-message {
  margin: 3px 5px;
  text-align: left;
}

/* Attachment Caption */
::placeholder {
  font-family: Open Sans;
  font-style: normal;
  font-weight: normal;
  line-height: 25px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #979797;
}

.AttachmentCaptioning {
  display: flex;
  flex-direction: column;
  height: calc(100% - 30px);
  position: absolute;
  background: white;
  width: 100%;
}

.AttachmentCaptioning .toolbar {
  display: flex;
  height: 48px;
  flex: 0;
  flex-basis: 48px;
  border-bottom: 1px solid #ececec;
}

.AttachmentCaptioning .toolbar button {
  flex: 0;
  flex-basis: 48px;
  width: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}

.AttachmentCaptioning .toolbar .file-name {
  flex: 1;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  color: #362c33;
  justify-content: center;
  align-items: center;
  display: flex;
  text-indent: -48px;
}

.AttachmentCaptioning .image-preview-container {
  flex: 1;
}

.AttachmentCaptioning .image-preview-container .attachment-preview {
  height: 100%;
  width: 100%;
  overflow: hidden;
  object-fit: contain;
  background: #fafafa;
}

.AttachmentCaptioning .caption-form-container {
  flex: 0;
  flex-basis: 48px;
  display: flex;
  width: 100%;
  border-top: 1px solid #ececec;
}

.AttachmentCaptioning .caption-form-container input {
  flex: 1;
  padding: 5px 10px;
  border: 0;
  outline: none;
}

.AttachmentCaptioning .caption-form-container button {
  flex: 0;
  flex-basis: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border: none;
  cursor: pointer;
}
.ChatList {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, #f8fafc 0%, #eef2ff 38%, #f8fafc 78%);
  padding: 10px 14px 14px;
  gap: 12px;
}

.ChatList .empty-content-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px 18px;
}

.ChatList .empty-card {
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
}

.ChatList .empty-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.ChatList img.empty-logo {
  margin-top: 0;
  max-width: 220px;
  width: 82%;
}

.ChatList .empty-title {
  margin-top: 4px;
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
}

.ChatList .empty-description {
  margin: 0;
  text-align: center;
  line-height: 20px;
  font-size: 13px;
  color: var(--muted);
  max-width: 260px;
}

.ChatList .empty-actions {
  width: 100%;
  margin-top: 4px;
}

.ChatList button.start-chat {
  width: 100%;
  height: 46px;
  font-size: 14px;
  letter-spacing: 0.2px;
}

/* Room list */
.ChatList .room-list {
  padding: 6px 0 0;
  margin: 0;
  width: 100%;
  flex: 1;
  overflow-y: auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ChatList .room-item {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.ChatList .room-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
}

.ChatList .room-data-container {
  display: flex;
  flex: 1;
  margin-left: 12px;
}

.ChatList img.room-avatar {
  flex: 0;
  flex-basis: 46px;
  flex-shrink: 0;
  object-fit: cover;
  height: 46px;
  width: 46px;
  overflow: hidden;
  border-radius: 12px;
}

.ChatList .room-content {
  flex: 1;
}

.ChatList .room-content .room-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.ChatList .room-content .room-last-message {
  font-size: 12px;
  color: var(--muted);
  max-width: 200px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.ChatList .room-meta {
  flex: 0;
  flex-basis: 64px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
}

.ChatList .room-meta .room-time {
  font-size: 11px;
  text-align: right;
  color: var(--muted);
}

.ChatList .room-meta .room-unread-count {
  font-size: 11px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-radius: 999px;
  padding: 4px 8px;
  min-width: 30px;
  text-align: center;
  font-weight: 700;
}

.ChatList .room-list .load-more {
  display: flex;
  justify-content: center;
}

.ChatList .room-list .load-more button {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

/* FAB Button */
.ChatList .fab-new-chat {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: none;
  box-shadow: 0 8px 24px rgba(14, 163, 113, 0.35), 0 2px 8px rgba(14, 163, 113, 0.2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.ChatList .fab-new-chat:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 36px rgba(14, 163, 113, 0.45), 0 4px 12px rgba(14, 163, 113, 0.3);
}

.ChatList .fab-new-chat:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(14, 163, 113, 0.35);
}

.ChatList .fab-new-chat .icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}


/* Chat room */
.Chat {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%, #eef2ff 100%);
  height: 100%;
  position: relative;
}

.Chat .ToolbarChatRoom {
  height: auto;
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.Chat .ToolbarChatRoom button.btn-icon {
  background: #f8fafc;
  border: 1px solid var(--border);
  height: 40px;
  width: 40px;
  border-radius: 12px;
  cursor: pointer;
}

.Chat .ToolbarChatRoom .room-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.Chat .ToolbarChatRoom .room-name {
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  color: var(--text);
}

.Chat .ToolbarChatRoom .online-status {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}

.Chat .ToolbarChatRoom .online-status.--offline {
  color: #949494;
}
.Chat .ToolbarChatRoom .online-status.participant-list {
  color: var(--muted);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.Chat .ToolbarChatRoom img.avatar {
  flex: 0 0 38px;
  height: 38px;
  width: 38px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.Chat .comment-list-container {
  display: flex;
  flex-direction: column;
  flex: 1 auto;
  height: 0;
}

.Chat .comment-list-container ul {
  height: 100%;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 12px 12px 8px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.Chat .comment-list-container .load-more {
  display: flex;
  justify-content: center;
}

.Chat .comment-list-container .load-more-btn {
  background: #ffffff;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 6px 10px;
  cursor: pointer;
}

.Chat .comment-list-container .comment-item {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.Chat .comment-list-container .comment-item.date {
  justify-content: center;
}

.Chat .comment-list-container .comment-item:last-child {
  margin-bottom: 6px;
}

.Chat .comment-list-container .message-container {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 16px;
  line-height: 20px;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  padding: 10px 12px;
  max-width: 75%;
  min-width: 120px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.Chat .comment-list-container .message-container.date {
  background: #0ea371;
  color: white;
  font-size: 11px;
  padding: 4px 14px;
  border: none;
}

.Chat
  .comment-list-container
  .comment-item[data-comment-type='upload']
  .message-container,
.Chat
  .comment-list-container
  .comment-item[data-comment-type='image']
  .message-container {
  width: 220px;
  min-width: 180px;
  height: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.Chat .comment-list-container .comment-item[data-comment-type='uploading'] a {
  position: relative;
}

.Chat .comment-list-container .comment-item .upload-overlay {
  background: rgba(15, 23, 42, 0.22);
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

.Chat .comment-list-container .comment-item .progress {
  height: 10px;
  border-radius: 3px;
  width: 80%;
  background: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.Chat .comment-list-container .comment-item .progress-inner {
  position: absolute;
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.Chat .comment-list-container .message-container a {
  height: 100%;
  width: 100%;
}

.Chat .comment-list-container .comment-item[data-comment-type='upload-file'] a,
.Chat .comment-list-container .comment-item[data-comment-type='file'] a {
  text-decoration: none;
  font-weight: 700;
  line-height: 18px;
  font-size: 12px;
  color: var(--text);
}

.Chat
  .comment-list-container
  .comment-item[data-comment-type='upload-file']
  .comment-file,
.Chat
  .comment-list-container
  .comment-item[data-comment-type='file']
  .comment-file {
  display: flex;
  padding: 10px;
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
}

.Chat .comment-list-container .message-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.Chat .comment-list-container .comment-item.me {
  flex-direction: row-reverse;
}

.Chat .comment-list-container .comment-item .icon {
  display: none;
}

.Chat .comment-list-container .comment-item[data-comment-type='file'].me .icon,
.Chat .comment-list-container .comment-item.me .icon {
  display: block;
}

.Chat .comment-list-container .comment-item.me .message-container {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  border: none;
}

.Chat .comment-list-container .message-time {
  font-size: 10px;
  text-align: right;
  color: var(--muted);
  margin-right: 5px;
}

.Chat .comment-list-container .icon {
  margin-right: 5px;
  margin-left: auto;
}
.Chat .comment-item .message-deleter {
  display: none;
}
.Chat .comment-item:hover .message-deleter {
  display: flex;
  align-items: center;
  margin-right: 10px;
}
.Chat .comment-item .message-deleter button {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  padding: 6px 10px;
  max-width: 200px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}
.Chat .comment-item .message-deleter button:hover {
  background: #f8fafc;
}

.Chat .empty-title {
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  color: var(--text);
  margin-top: 24px;
}

.Chat .empty-description {
  line-height: 19px;
  font-size: 13px;
  text-align: center;
  color: var(--muted);
  margin: 12px 0 0;
}

.Chat .message-form {
  flex: 0;
  height: 64px;
  background: #ffffff;
  display: flex;
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 12px;
  gap: 10px;
}

.Chat .message-form button {
  background: #f8fafc;
  border: 1px solid var(--border);
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 12px;
}

.Chat .message-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  outline: none;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
}

.Chat .message-form button[type='submit'] {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: none;
  color: white;
  box-shadow: 0 8px 20px rgba(14, 163, 113, 0.22);
}

.Chat .attachment-overlay {
  background: rgba(0, 0, 0, 0.55);
  inset: 0;
  position: absolute;
}

.Chat ul.attachment-picker-container {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  position: absolute;
  width: 100%;
  background: #ffffff;
  bottom: 0;
  box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.15);
  border-radius: 16px 16px 0 0;
}

.Chat button.attachment-btn {
  background: white;
  border: 0;
  width: 100%;
  display: flex;
  height: 56px;
  align-items: center;
  cursor: pointer;
  text-indent: 15px;
  padding: 0 16px;
  font-weight: 700;
  color: var(--text);
}

.Chat .reply-form-container {
  display: flex;
  position: relative;
  background: #f8fafc;
  flex-basis: 55px;
  padding: 5px;
  border-top: 1px solid var(--border);
}
.Chat .reply-form-container > div {
  background: white;
  border: 1px solid var(--border);
  flex: 1;
  margin-right: 20px;
  border-radius: 8px;
  font-size: 12px;
  padding: 8px;
}
.Chat .reply-form-container .close-reply-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  cursor: pointer;
}
.Chat .message-container.reply {
  flex-direction: column;
}
.Chat .message-container .replied-message-container {
  background-color: #f8fafc;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  width: 100%;
  text-align: left;
  margin-bottom: 6px;
}
.Chat .message-container .replied-original-message {
  flex: 1;
  width: 100%;
}
.Chat .message-container .replied-original-message p,
.Chat .message-container .replied-original-message {
  margin: 3px 5px;
  text-align: left;
}

::placeholder {
  font-family: 'Manrope', 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: normal;
  line-height: 25px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.AttachmentCaptioning {
  display: flex;
  flex-direction: column;
  height: calc(100% - 30px);
  position: absolute;
  background: white;
  width: 100%;
}

.AttachmentCaptioning .toolbar {
  display: flex;
  height: 56px;
  flex: 0;
  flex-basis: 56px;
  border-bottom: 1px solid var(--border);
}

.AttachmentCaptioning .toolbar button {
  flex: 0;
  flex-basis: 56px;
  width: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}

.AttachmentCaptioning .toolbar .file-name {
  flex: 1;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: var(--text);
  justify-content: center;
  align-items: center;
  display: flex;
  text-indent: -48px;
}

.AttachmentCaptioning .image-preview-container {
  flex: 1;
  background: #f8fafc;
}

.AttachmentCaptioning .image-preview-container .attachment-preview {
  height: 100%;
  width: 100%;
  overflow: hidden;
  object-fit: contain;
}

.AttachmentCaptioning .caption-form-container {
  flex: 0;
  flex-basis: 56px;
  display: flex;
  width: 100%;
  border-top: 1px solid var(--border);
}

.AttachmentCaptioning .caption-form-container input {
  flex: 1;
  padding: 10px 14px;
  border: 0;
  outline: none;
  font-size: 14px;
}

.AttachmentCaptioning .caption-form-container button {
  flex: 0;
  flex-basis: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: none;
  cursor: pointer;
  color: white;
}
