/* ====== 主论坛容器背景 ====== */
#bbpress-forums {
  background-color: #f9f9fb !important;
  color: #222 !important;
  font-family: "PingFang SC", "Noto Sans", sans-serif !important;
  padding: 24px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
}

/* ====== 头部和页脚（淡紫背景） ====== */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  background-color: #dbe4ff !important;
  color: #333 !important;
  font-weight: bold !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
}

/* ====== 每一条帖子 ====== */
#bbpress-forums .bbp-body li {
  background-color: #ffffff !important;
  border: 1px solid #ddd !important;
  padding: 18px !important;
  margin-bottom: 12px !important;
  border-radius: 8px !important;
  transition: box-shadow 0.3s ease !important;
}
#bbpress-forums .bbp-body li:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

/* ====== 帖子标题链接 ====== */
#bbpress-forums .bbp-topic-title a {
  color: #4f7df9 !important;
  font-weight: bold !important;
  text-decoration: none !important;
}
#bbpress-forums .bbp-topic-title a:hover {
  color: #f95738 !important;
}

/* ====== 回复框 ====== */
#bbpress-forums fieldset.bbp-form textarea {
  width: 100% !important;
  min-height: 150px !important;
  font-size: 15px !important;
  padding: 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  background-color: #fffdfd !important;
  transition: border 0.3s ease !important;
}
#bbpress-forums fieldset.bbp-form textarea:focus {
  border-color: #4f7df9 !important;
  outline: none !important;
}

/* ====== 表单字段 ====== */
#bbpress-forums fieldset.bbp-form input[type="text"],
#bbpress-forums fieldset.bbp-form input[type="email"] {
  padding: 10px !important;
  font-size: 14px !important;
  border-radius: 6px !important;
  border: 1px solid #ccc !important;
  width: 100% !important;
  margin-bottom: 12px !important;
}

/* ====== 提交按钮：渐变色风格 ====== */
#bbpress-forums input[type="submit"],
#bbpress-forums button {
  background: linear-gradient(to right, #4f7df9, #764ba2) !important;
  color: white !important;
  border: none !important;
  padding: 10px 24px !important;
  font-size: 15px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
}
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums button:hover {
  background: linear-gradient(to right, #f95738, #ffaa66) !important;
}

/* ====== 分页按钮 ====== */
.bbp-pagination a,
.bbp-pagination span {
  display: inline-block !important;
  margin: 0 4px !important;
  padding: 6px 12px !important;
  border: 1px solid #ccc !important;
  background: #f0f0f0 !important;
  color: #333 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
}
.bbp-pagination .current {
  background: #4f7df9 !important;
  color: white !important;
  border-color: #4f7df9 !important;
}

/* ====== 默认头像美化 ====== */
#bbpress-forums .bbp-author-avatar img {
  content: url('https://yourdomain.com/wp-content/uploads/default-avatar.png') !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 2px solid #4f7df9 !important;
  object-fit: cover !important;
}

/* ====== 手机端适配 ====== */
@media (max-width: 768px) {
  #bbpress-forums {
    padding: 16px !important;
    font-size: 15px !important;
  }
  #bbpress-forums fieldset.bbp-form textarea {
    font-size: 14px !important;
  }
  .bbp-pagination a,
  .bbp-pagination span {
    font-size: 12px !important;
    padding: 4px 8px !important;
  }
}




#bbpress-forums .bbp-body li {
  border: none !important;
  background-color: transparent !important;
}