body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #F9FAFB;
    margin: 0;
    padding: 0;
  }

  .container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
  }

  /* 使用flex布局确保两个区域等高 */
  /* 确保forum页面的main-content样式完全覆盖home.css中的定义 */
  .container .main-content {
    display: flex;
    gap: 20px;
    flex: none; /* 覆盖home.css中的flex: 1 */
    max-width: none; /* 覆盖home.css中的max-width */
    margin: 0; /* 覆盖home.css中的margin */
    padding: 0; /* 覆盖home.css中的padding */
  }

  .container .main-content .forum-main {
    flex: 3;
    max-width: 100%;
    overflow: hidden;
  }

  .container .main-content .forum-sidebar {
    flex: 1;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .forum-main,
  .forum-sidebar {
    display: flex;
    flex-direction: column;
  }
  
  .forum-sidebar {
    position: sticky;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .section-content {
    flex: 1;
  }

  .section-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
  }

  .publish-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
    width: 100%;
  }

  .publish-button:hover {
    background-color: #43A047;
  }

  .post {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .post:first-child {
    padding-top: 0;
  }

  .post:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
  }

  .user-info {
    flex: 1;
  }

  .username-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.username {
    font-weight: bold;
    color: #333;
}

.user-role {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.role-admin {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
}

.role-seller {
    background: linear-gradient(135deg, #ffd93d 0%, #f39c12 100%);
    color: white;
}

.role-user {
    background: linear-gradient(135deg, #6bcb77 0%, #4CAF50 100%);
    color: white;
}

  .post-time {
    font-size: 12px;
    color: #999;
  }

  .post-content {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
    text-align: justify;
    word-break: break-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    overflow: hidden;
    width: 100%;
    max-width: 1500px;
    box-sizing: border-box;
  }

  .post-media {
    margin-bottom: 15px;
  }

  .post-image {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: cover;
  }

  .post-video {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }

  .post-actions {
    display: flex;
    gap: 20px;
  }

  .action-button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: color 0.3s;
  }

  .action-button:hover {
    color: #4CAF50;
  }

  .action-button.liked {
    color: #f44336;
  }

  .comments-section {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: none;
  }

  .comments-section.visible {
    display: block;
  }

  .comment-form {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
  }

  .comment-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "Microsoft YaHei", sans-serif;
  }

  .comment-submit {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
  }

  .comment {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  }

  .comment-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
  }

  .comment-username {
    font-weight: bold;
    font-size: 13px;
    color: #333;
    margin-right: 10px;
  }

  .comment-time {
    font-size: 11px;
    color: #999;
  }

  .comment-content {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    text-align: justify;
    word-break: break-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    overflow: hidden;
    width: 100%;
    max-width: 950px;
    box-sizing: border-box;
  }

  .comment-list {
    margin-top: 15px;
  }

  .comment-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .comment-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.comment-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.comment-user-info {
    flex: 1;
}

.comment-username-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.comment-username {
    font-weight: bold;
    font-size: 13px;
    color: #333;
}

  .comment-time {
    font-size: 11px;
    color: #999;
  }

  .no-comments {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px 0;
  }

  .comment-media {
    margin-top: 8px;
  }

  .comment-image {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
  }

  .comment-video {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 4px;
  }

/* 热门话题头部 */
.hot-topics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* 收起/展开按钮 - 简化版本 */
.toggle-hot-topics {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.toggle-hot-topics:hover {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.toggle-hot-topics svg {
    transition: transform 0.3s ease;
}

.toggle-hot-topics.collapsed svg {
    transform: rotate(180deg);
}

/* 热门话题容器 */
.hot-topics-container {
    position: relative;
}

#hotTopicsList {
    max-height: 500px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

#hotTopicsList.collapsed {
    max-height: 200px;
    overflow: hidden;
}

/* 热门话题项 */
.hot-topic {
    display: flex;
    align-items: flex-start;
    padding: 14px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-topic:hover {
    background-color: rgba(76, 175, 80, 0.05);
    transform: translateX(4px);
}

.hot-topic:last-child {
    margin-bottom: 0;
}

/* 排行榜数字样式 */
.topic-number {
    font-size: 18px;
    font-weight: bold;
    color: #f37b1d;
    margin-right: 10px;
    min-width: 30px;
}

/* 话题内容 */
.topic-content {
    flex: 1;
    min-width: 0;
}

.topic-title {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 6px;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-topic:hover .topic-title {
    color: #4CAF50;
}

/* 话题元数据 */
.topic-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item svg {
    flex-shrink: 0;
}

/* 暂无话题 */
.no-topics {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
    font-size: 14px;
}

/* 隐藏滚动条 */
#hotTopicsList {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

#hotTopicsList::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
  }

  .close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
  }

  .modal-body {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
  }

  .form-input,
  .form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "Microsoft YaHei", sans-serif;
  }

  .form-textarea {
    min-height: 150px;
    resize: vertical;
  }

  .file-input {
    margin-top: 10px;
  }

  .preview-container {
    margin-top: 15px;
  }

  .preview-image,
  .preview-video {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    border-radius: 4px;
    margin-top: 10px;
    object-fit: contain;
  }

  .modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .btn {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
  }

  .btn-primary {
    background-color: #4CAF50;
    color: white;
    border: none;
  }

  .btn-primary:hover {
    background-color: #43A047;
  }

  .btn-secondary {
    background-color: #eee;
    color: #333;
    border: none;
  }

  .btn-secondary:hover {
    background-color: #ddd;
  }

  @media (max-width: 768px) {
    .main-content {
      flex-direction: column;
    }
    
    .post-image,
    .post-video {
      max-height: 250px;
    }
    
    .comment-image,
    .comment-video {
      max-height: 150px;
    }
  }
  /* 更多按钮样式 */
.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-more {
  position: relative;
}

.more-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 20px;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.more-btn:hover {
  background-color: #f0f0f0;
}

.more-options {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 120px;
  display: none;
}

.more-options.show {
  display: block;
}

.option-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 15px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  transition: background-color 0.2s;
}

.option-btn:hover {
  background-color: #f5f5f5;
}

.option-btn svg {
  margin-right: 8px;
}

.delete-btn {
  color: #ff4444;
}

.report-btn {
  color: #ff9800;
}

.form-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
.file-input {
    margin-top: 5px;
}
.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.preview-item {
    position: relative;
    display: inline-block;
}
.preview-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.preview-video {
    width: 200px;
    height: 150px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.remove-preview {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.remove-preview:hover {
    background: #cc0000;
}

  .filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 8px 0;
    gap: 24px;
  }
  
  .filter-options {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
  }
  
  .filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    color: #666;
    border: 2px solid #e8e8e8;
    padding: 12px 24px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .filter-btn:hover {
    border-color: #a5d6a7;
    color: #4CAF50;
  }
  
  .filter-btn.active {
    background-color: rgba(76, 175, 80, 0.15);
    border: 2px solid #4CAF50;
    color: #4CAF50;
  }

  .publish-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.25);
    flex: 1;
    max-width: 800px;
  }
  
  .publish-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.35);
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
  }
  
  .publish-button:active {
    transform: translateY(0);
  }

.comment-actions {
  margin-top: 8px;
  text-align: right;
}

.comment-like-button {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.comment-like-button:hover {
  background-color: #f0f0f0;
  color: #ff4444;
}

.comment-like-button.liked {
  color: #ff4444;
}

/* 可点击的图片样式 */
.clickable-image {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 图片预览模态框 */
.image-preview-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.image-preview-modal.show {
  display: flex;
}

#previewImage {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: zoomIn 0.2s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.image-preview-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  line-height: 1;
  z-index: 10001;
}

.image-preview-close:hover {
  opacity: 1;
}

/* 用户头像悬停效果 */
.user-avatar-hover {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-avatar-hover:hover {
  transform: scale(1.05);
}

/* 用户信息弹窗 */
.user-card-popup {
  display: none;
  position: absolute;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  z-index: 20000;
  animation: popupFadeIn 0.2s ease;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-card-popup.show {
  display: block;
}

/* 用户信息头部 */
.user-card-header {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  padding-bottom: 16px;
}

.user-card-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
  border: 3px solid #f0f0f0;
}

.user-card-info {
  flex: 1;
}

.user-card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.user-card-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.user-card-level {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    white-space: nowrap;
    width: fit-content;
}

.user-card-level-star {
    width: 16px;
    height: 16px;
    color: white;
    flex-shrink: 0;
}

.user-card-level-text {
    font-weight: 600;
    font-size: 11px;
    color: white;
}

/* 等级1 - 爱心萌新 - 灰色 */
.user-card-level.level-1 {
    background: linear-gradient(135deg, #9E9E9E 0%, #F5F5F5 100%);
}

.user-card-level.level-1 .user-card-level-text {
    color: #616161;
}

/* 等级2 - 爱心使者 - 绿色 */
.user-card-level.level-2 {
    background: linear-gradient(135deg, #4CAF50 0%, #A5D6A7 100%);
}

.user-card-level.level-2 .user-card-level-text {
    color: #1B5E20;
}

/* 等级3 - 爱心先锋 - 蓝色 */
.user-card-level.level-3 {
    background: linear-gradient(135deg, #2196F3 0%, #90CAF9 100%);
}

.user-card-level.level-3 .user-card-level-text {
    color: #0D47A1;
}

/* 等级4 - 爱心达人 - 紫色 */
.user-card-level.level-4 {
    background: linear-gradient(135deg, #9C27B0 0%, #CE93D8 100%);
}

.user-card-level.level-4 .user-card-level-text {
    color: #4A148C;
}

/* 等级5 - 爱心骨干 - 橙色 */
.user-card-level.level-5 {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
}

.user-card-level.level-5 .user-card-level-text {
    color: #E65100;
}

/* 等级6 - 爱心大使 - 粉色 */
.user-card-level.level-6 {
    background: linear-gradient(135deg, #E91E63 0%, #F48FB1 100%);
}

.user-card-level.level-6 .user-card-level-text {
    color: #880E4F;
}

/* 店铺信息 */
.user-card-shop {
  padding: 0 20px;
  padding-bottom: 16px;
}

.shop-label {
  font-size: 14px;
  color: #666;
}

.shop-name {
  font-size: 14px;
  font-weight: 600;
  color: #4CAF50;
}

/* 统计数据 */
.user-card-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-value {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: #999;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: #f0f0f0;
}

/* 操作按钮 */
.user-card-actions {
  padding: 16px 20px;
}

.user-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 2px solid #4CAF50;
  background: white;
  color: #4CAF50;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.user-card-btn:hover {
  background: #4CAF50;
  color: white;
}

.user-card-btn:active {
  transform: scale(0.98);
}

/* 标签选择器 */
.tag-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-option {
  padding: 8px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  background: white;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-option:hover {
  border-color: #4CAF50;
  color: #4CAF50;
}

.tag-option.selected {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* 话题标签显示 */
.post-tag {
  margin-bottom: 12px;
}

.tag-badge {
  display: inline-block;
  font-size: 14px;
  color: #81C784;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 4px;
}

/* 图片上传按钮样式 */
.image-upload-wrapper {
  display: inline-block;
}

.file-input-hidden {
  display: none;
}

.image-upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px dashed #4CAF50;
  border-radius: 8px;
  background: white;
  color: #4CAF50;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-upload-btn:hover {
  background: rgba(76, 175, 80, 0.1);
  border-color: #45a049;
}

.image-upload-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 预览项样式 */
.preview-item {
  position: relative;
  display: inline-block;
  margin: 5px;
}

.preview-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.remove-preview {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff4444;
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.remove-preview:hover {
  background: #cc0000;
}

/* 视频上传按钮样式 */
.video-upload-wrapper {
  display: inline-block;
}

.video-upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px dashed #FF9800;
  border-radius: 8px;
  background: white;
  color: #FF9800;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-upload-btn:hover {
  background: rgba(255, 152, 0, 0.1);
  border-color: #F57C00;
}

.video-upload-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 视频预览样式 */
.preview-video {
  width: 200px;
  height: 150px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}