/**
 * MergeforwardMessageList — 聊天记录详情弹窗内容区
 * Figma 421:64397 / content container
 *
 * Header 由 WKModal（Semi Modal）原生渲染，此处只管内容列表。
 * pad T10 B10 L16 R16，gap=16
 */

/* ── 整体容器（无需 max-height，Semi Modal body 控制滚动） ── */
.wk-mergeforwardmessagelist {
  display: flex;
  flex-direction: column;
}

/* ── 消息列表：pad T10 B10 L16 R16，gap=16 ── */
.wk-mergeforwardmessagelist-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 16px;
}

/* ── 单条消息行：头像 + 内容 ── */
.wk-mergeforwardmessagelist-content-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* 头像：32x32，圆形 */
.wk-mergeforwardmessagelist-content-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.wk-mergeforwardmessagelist-content-msg-avatar .wk-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 头像占位（连续消息） */
.wk-mergeforwardmessagelist-content-msg-avatar--placeholder {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* 右侧内容 */
.wk-mergeforwardmessagelist-content-msg-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

/* 名字 + 时间横排，gap=8 */
.wk-mergeforwardmessagelist-content-msg-info-first {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-mergeforwardmessagelist-content-msg-info-first-name {
  font-size: 14px;
  font-weight: 600;
  color: #1c1c23;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wk-mergeforwardmessagelist-content-msg-info-first-time {
  font-size: 14px;
  color: rgba(28, 28, 35, 0.4);
}

/* 外部来源行：-4px 抵消父容器 gap:4，避免与 name 行间距过大 */
.wk-mergeforwardmessagelist-content-msg-info-origin {
  margin-top: -2px;
}

/* 消息内容文字 */
.wk-mergeforwardmessagelist-content-msg-info-second-msgcontent {
  font-size: 14px;
  color: rgba(28, 28, 35, 0.8);
  line-height: 1.5;
  word-break: break-word;
}

/* ── 文件附件 ── */
.wk-mergeforward-file {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(28, 28, 35, 0.04);
  border-radius: 8px;
  gap: 10px;
  max-width: 300px;
  cursor: default;
}

.wk-mergeforward-file--clickable {
  cursor: pointer;
}

.wk-mergeforward-file--clickable:hover {
  background: rgba(28, 28, 35, 0.07);
}

/* Figma: icon 区 64x64，内部图标 56x56 */
.wk-mergeforward-file__icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wk-mergeforward-file__icon-label {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.wk-mergeforward-file__info {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wk-mergeforward-file__name {
  font-size: 14px;
  color: rgba(28, 28, 35, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-mergeforward-file__size {
  font-size: 14px;
  color: rgba(28, 28, 35, 0.4);
}
