
.reply-input-action-btn {
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.reply-input-action-btn:hover {
  opacity: 1;
}

.reply-input-action-btn.image {
  background: url("../../images/new3/icon_pic.png") no-repeat center;
  background-size: 98%;
  margin-right: 12px;
}

.reply-input-action-btn.image2 {
  background: url("../../images/new3/icon_pic2.png") no-repeat center;
  background-size: 98%;
}

/* 回复区域图片容器样式 */
.sent-button-area.note-area {
  display: flex;
  align-items: center;
  background: none;
  margin: 0;
  padding: 0;
  margin-top: 10px;
}

.reply-imgs-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.reply-imgs-container img {
  max-width: 60px;
  max-height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.2s;
}

.reply-imgs-container img:hover {
  transform: scale(1.05);
  border-color: #3C80BD;
}

/* 图片容器样式 */
.reply-imgs-container .img-wrapper {
  position: relative;
  display: inline-block;
  margin: 0;
}

/* 删除按钮样式 */
.img-delete-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: #ff4757;
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.img-delete-btn:hover {
  background-color: #ff3742;
}

.img-delete-btn {
  background-image: url("../../images/icon_close2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* 鼠标悬停时显示删除按钮 */
.reply-imgs-container .img-wrapper:hover .img-delete-btn {
  display: flex;
}

/* ====== 图片预览弹窗样式 ====== */
.image-preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10001;
  display: none;
  cursor: pointer;
}

.image-preview-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  min-width: 500px;
  min-height: 500px;
}

.image-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.image-preview-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.image-preview-close {
  font-size: 24px;
  cursor: pointer;
  color: #999;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.image-preview-close:hover {
  color: #333;
  background: #e9ecef;
}

.image-preview-content {
  text-align: center;
  max-height: 80vh;
  overflow: auto;
}

.image-preview-content img {
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 20px;
}