.message-quote-forward {
  opacity: 0;
  transition: opacity 0.2s;
}

.message-item:hover .message-quote-forward {
  opacity: 1;
}

.quote-button,
.forward-button {
  color: #8c8c8c !important;
  padding: 0 8px !important;
  height: 24px !important;
  font-size: 12px !important;
  border: none !important;
  box-shadow: none !important;
}

.quote-button:hover,
.forward-button:hover {
  color: #1890ff !important;
  background: rgba(24, 144, 255, 0.1) !important;
}

/* 转发模态框样式 */
.forward-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-preview {
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.preview-sender {
  font-weight: 500;
  color: #262626;
  font-size: 13px;
}

.preview-time {
  font-size: 11px;
  color: #8c8c8c;
}

.preview-content {
  color: #595959;
  font-size: 14px;
  line-height: 1.4;
}

.target-selection label,
.forward-comment label {
  font-weight: 500;
  color: #262626;
  font-size: 13px;
}

/* 引用消息样式 */
.quoted-message {
  background: #f0f0f0;
  border-left: 3px solid #1890ff;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 8px 0;
  font-size: 13px;
}

.quoted-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.quoted-sender {
  font-weight: 500;
  color: #1890ff;
  font-size: 12px;
}

.quoted-text {
  color: #595959;
  font-style: italic;
  line-height: 1.3;
}

.remove-quote {
  color: #8c8c8c !important;
  padding: 0 !important;
  height: 16px !important;
  width: 16px !important;
  font-size: 14px !important;
  border: none !important;
  box-shadow: none !important;
  margin-left: auto;
}

.remove-quote:hover {
  color: #ff4d4f !important;
  background: rgba(255, 77, 79, 0.1) !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .message-quote-forward {
    opacity: 1;
  }
  
  .quote-button,
  .forward-button {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 12px !important;
  }
  
  .forward-content {
    gap: 12px;
  }
  
  .quoted-message {
    padding: 6px 10px;
    margin: 6px 0;
  }
}