/* ==========================================================================
   生活分类信息网 - 传统生活分类信息门户样式
   参照设计稿: 0.jpg, 1.jpg, 2.jpg
   主色调: 深海军蓝 (#272f6b), 品牌橙红 (#e6431e)
   ========================================================================== */

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #333333;
  background-color: #f7f8fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #333333;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #e6431e;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.w1200 {
  width: 1200px;
  margin: 0 auto;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* 页面主体粘性布局 */
.main-wrapper {
  flex: 1 0 auto;
}

/* ==================== 顶部通栏 Top Bar ==================== */
.top-bar {
  background-color: #272f6b;
  height: 32px;
  line-height: 32px;
  color: #ffffff;
  font-size: 12px;
}

.top-bar .w1200 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .welcome-text {
  color: #f0f2f5;
}

.top-bar .top-links a {
  color: #ffffff;
  padding: 0 8px;
}

.top-bar .top-links a:hover {
  color: #ffd200;
  text-decoration: underline;
}

.top-bar .top-links .sep {
  color: #6a74b0;
}

/* 发布页顶栏特有样式 (参照 1.jpg) */
.top-bar.publish-bar .left-links a {
  color: #ffffff;
  margin-right: 14px;
}
.top-bar.publish-bar .left-links a:hover {
  color: #ffd200;
}
.top-bar.publish-bar .icon-tool {
  margin-right: 4px;
  font-style: normal;
}

/* ==================== 头部 Header ==================== */
.site-header {
  background-color: #ffffff;
  padding: 24px 0 20px;
  border-bottom: 1px solid #ebebeb;
}

.site-header .w1200 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo 区域 */
.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 28px;
  font-weight: 800;
  color: #272f6b;
  letter-spacing: 1px;
  line-height: 1.1;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.logo-subtitle {
  font-size: 12px;
  color: #555555;
  letter-spacing: 2px;
  margin-top: 3px;
  font-weight: 500;
}

.header-page-title {
  font-size: 20px;
  color: #666666;
  border-left: 1px solid #cccccc;
  padding-left: 16px;
  margin-left: 4px;
  font-weight: 400;
}

/* 搜索框区域 (参照 0.jpg) */
.header-search-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 40px;
}

.search-tab {
  background-color: #e6431e;
  color: #ffffff;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 2px 2px 0 0;
  display: inline-block;
  cursor: default;
}

.search-form {
  display: flex;
  align-items: center;
  position: relative;
}

.search-input {
  width: 440px;
  height: 38px;
  border: 2px solid #e6431e;
  border-right: none;
  padding: 0 12px;
  font-size: 13px;
  color: #333333;
}

.search-input::placeholder {
  color: #999999;
}

.search-btn {
  width: 76px;
  height: 38px;
  background-color: #e6431e;
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-btn:hover {
  background-color: #cb3512;
}

/* 发布信息大按钮 (参照 0.jpg 右侧) */
.header-publish-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #272f6b;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 0 24px;
  height: 42px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(39, 47, 107, 0.2);
  transition: all 0.2s ease;
}

.header-publish-btn:hover {
  background-color: #1c224e;
  box-shadow: 0 4px 8px rgba(39, 47, 107, 0.3);
}

.header-publish-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ==================== 主导航条 Main Nav ==================== */
.main-nav {
  background-color: #272f6b;
  height: 44px;
  border-bottom: 2px solid #1c224e;
}

.main-nav .nav-list {
  display: flex;
  align-items: stretch;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.main-nav .nav-item {
  height: 100%;
  flex: 0 1 auto;
  min-width: 0;
}

.main-nav .nav-item a {
  display: block;
  height: 100%;
  line-height: 44px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.2s ease;
}

.main-nav .nav-item.active a,
.main-nav .nav-item a.active {
  background-color: #e6431e;
  color: #ffffff;
}

.main-nav .nav-item a:hover {
  background-color: #38428f;
}

.main-nav .nav-item.active a:hover {
  background-color: #e6431e;
}

/* ==================== 首页轮播横幅 Hero Banner (参照 0.jpg) ==================== */
.hero-banner-wrap {
  margin: 14px auto 18px;
}

.hero-banner {
  position: relative;
  width: 1200px;
  height: 330px;
  background-color: #0b1325;
  border: 1px solid #e1e4ea;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.28s ease, transform 0.42s ease;
}

.hero-banner-img.is-fading {
  opacity: 0.35;
  transform: scale(1.015);
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 16, 40, 0.6) 0%, rgba(10, 16, 40, 0.2) 50%, rgba(10, 16, 40, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-title {
  color: #ffffff;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 8px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.4);
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", sans-serif;
  user-select: none;
}

.banner-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.banner-dot.active {
  background-color: #ffffff;
  transform: scale(1.15);
}

/* ==================== 首页分类板块 Category Modules (参照 0.jpg) ==================== */
.category-section-module {
  margin-bottom: 22px;
  background-color: #ffffff;
  border: 1px solid #dbe0eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* 模块标题栏 */
.module-header {
  background-color: #272f6b;
  height: 38px;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.module-actions a {
  color: #cbd4f7;
  font-size: 12px;
  margin-left: 6px;
}

.module-actions a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.module-actions .sep {
  color: #6a74b0;
  margin-left: 6px;
}

/* 信息列表内容 */
.module-list {
  padding: 6px 0;
}

.module-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 20px;
  border-bottom: 1px dashed #f0f0f0;
  transition: background-color 0.15s ease;
}

.module-list-item:last-child {
  border-bottom: none;
}

.module-list-item:hover {
  background-color: #fafbfe;
}

.item-left {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
  padding-right: 20px;
}

.item-triangle {
  color: #999999;
  font-size: 10px;
  margin-right: 8px;
  transform: scale(0.8);
}

.item-date {
  color: #888888;
  font-size: 12px;
  margin-right: 12px;
  white-space: nowrap;
}

.item-title-link {
  color: #333333;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-title-link:hover {
  color: #e6431e;
  text-decoration: underline;
}

.item-right-tag {
  color: #999999;
  font-size: 12px;
  white-space: nowrap;
  padding-left: 10px;
}

/* ==================== 底部 Footer (参照 0.jpg, 1.jpg, 2.jpg) ==================== */
.site-footer {
  margin-top: 40px;
  flex-shrink: 0;
}

/* 橙红色平台服务声明 */
.footer-orange-bar {
  background-color: #e6431e;
  color: #ffffff;
  text-align: center;
  padding: 22px 0 20px;
}

.footer-complaint-links {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-complaint-links a {
  color: #ffffff;
  margin: 0 10px;
}

.footer-complaint-links a:hover {
  text-decoration: underline;
  color: #fff4e0;
}

.footer-complaint-links .sep {
  opacity: 0.7;
}

.footer-contact-info {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: 5px;
}

.footer-service-hours {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.9;
}

/* 深蓝底栏版权信息 */
.footer-copyright-bar {
  background-color: #272f6b;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid #363f82;
}

.footer-copyright-bar p {
  line-height: 1.8;
  color: #e3e6f5;
}

.footer-copyright-bar a {
  color: #e3e6f5;
}

.footer-copyright-bar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==================== 注册/登录页面样式 (参照 2.jpg) ==================== */
.auth-box-container {
  width: 720px;
  margin: 45px auto 60px;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 36px 50px 48px;
}

.auth-box-header {
  border-bottom: 2px solid #272f6b;
  padding-bottom: 12px;
  margin-bottom: 35px;
}

.auth-box-title {
  font-size: 22px;
  font-weight: bold;
  color: #333333;
  display: inline-block;
}

.auth-form-row {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.auth-label {
  width: 140px;
  text-align: right;
  font-size: 14px;
  color: #333333;
  padding-right: 15px;
}

.auth-input-wrap {
  flex: 1;
  position: relative;
}

.auth-input {
  width: 280px;
  height: 34px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  padding: 0 10px;
  font-size: 14px;
  color: #333333;
  transition: border-color 0.2s ease;
}

.auth-input:focus {
  border-color: #272f6b;
  box-shadow: 0 0 4px rgba(39, 47, 107, 0.2);
}

.auth-input.error {
  border-color: #e6431e;
}

.auth-tip {
  font-size: 12px;
  color: #888888;
  margin-left: 12px;
}

.auth-error-tip {
  font-size: 12px;
  color: #e6431e;
  margin-left: 12px;
  display: none;
}

.auth-agreement-row {
  margin-left: 140px;
  margin-bottom: 26px;
  font-size: 13px;
  color: #555555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.auth-agreement-row input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
}

.auth-agreement-row a {
  color: #272f6b;
  text-decoration: underline;
}

.auth-actions-row {
  margin-left: 140px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.auth-submit-btn {
  background-color: #272f6b;
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 30px;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.auth-submit-btn:hover {
  background-color: #1b214d;
}

.auth-alt-link {
  font-size: 14px;
  color: #333333;
}

.auth-alt-link a {
  color: #272f6b;
  font-weight: bold;
}

.auth-alt-link a:hover {
  color: #e6431e;
  text-decoration: underline;
}

/* 验证码小模块 */
.captcha-box {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  gap: 8px;
}

.captcha-img {
  width: 90px;
  height: 34px;
  background-color: #f0f2f8;
  border: 1px solid #ccc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 4px;
  color: #272f6b;
  cursor: pointer;
  user-select: none;
}

/* ==================== 信息发布页样式 (参照 1.jpg) ==================== */
.publish-wizard-container {
  background-color: #ffffff;
  border: 1px solid #e2e5eb;
  padding: 35px 40px 50px;
  margin: 30px auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

/* 步骤指示条 */
.wizard-steps-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  align-items: center;
  font-size: 17px;
  color: #999999;
  font-weight: 500;
}

.step-item.active {
  color: #0099e5;
  font-weight: bold;
}

.step-item.completed {
  color: #52c41a;
}

.step-item .step-num {
  font-size: 18px;
  margin-right: 6px;
}

/* 步骤1：分类选择网格 (参照 1.jpg) */
.category-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 60px;
  max-width: 800px;
  margin: 20px auto 40px;
}

.cat-select-card {
  padding: 16px 24px;
  border: 1px solid #e0e4ec;
  border-radius: 4px;
  background-color: #fafbfe;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.cat-select-card:hover, .cat-select-card.selected {
  border-color: #272f6b;
  background-color: #f0f3fa;
  box-shadow: 0 2px 6px rgba(39, 47, 107, 0.12);
}

.cat-card-title {
  font-size: 17px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sub-chip {
  font-size: 13px;
  color: #666666;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 4px 10px;
  border-radius: 2px;
  transition: all 0.15s ease;
}

.sub-chip:hover, .sub-chip.selected {
  background: #272f6b;
  color: #ffffff;
  border-color: #272f6b;
}

/* 发布页底部搜索推荐 (参照 1.jpg) */
.publish-search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 35px auto 25px;
  max-width: 600px;
}

.publish-search-input-wrap {
  position: relative;
  flex: 1;
}

.publish-search-input {
  width: 100%;
  height: 36px;
  border: 1px solid #d2d6de;
  border-right: none;
  padding: 0 12px 0 32px;
  font-size: 13px;
}

.publish-search-icon {
  position: absolute;
  left: 10px;
  top: 9px;
  color: #999999;
}

.publish-recommend-btn {
  height: 36px;
  padding: 0 18px;
  background-color: #f7f8fa;
  border: 1px solid #d2d6de;
  color: #333333;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.publish-recommend-btn:hover {
  background-color: #ebeef5;
}

/* 小贴士 (参照 1.jpg) */
.publish-tip-text {
  text-align: center;
  color: #ff5500;
  font-size: 12px;
  margin-top: 25px;
  letter-spacing: 0.3px;
}

/* 步骤2：填写信息表单 */
.publish-form-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.form-item-row {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.form-item-label {
  width: 130px;
  text-align: right;
  padding-right: 15px;
  font-size: 14px;
  color: #333333;
  line-height: 36px;
}

.form-item-label .req {
  color: #e6431e;
  margin-right: 4px;
}

.form-item-control {
  flex: 1;
}

.form-input {
  width: 360px;
  height: 36px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  padding: 0 10px;
  font-size: 14px;
}

.form-input:focus {
  border-color: #272f6b;
}

.form-textarea {
  width: 100%;
  max-width: 580px;
  height: 120px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  padding: 10px;
  font-size: 13px;
  resize: vertical;
}

.form-select {
  height: 36px;
  border: 1px solid #cccccc;
  padding: 0 10px;
  font-size: 14px;
  margin-right: 8px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 36px;
}

.radio-group label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.upload-box {
  width: 110px;
  height: 110px;
  border: 2px dashed #cccccc;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888888;
  cursor: pointer;
  background-color: #fafafa;
  transition: all 0.2s ease;
}

.upload-box:hover {
  border-color: #272f6b;
  color: #272f6b;
}

.image-preview-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preview-thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 1px solid #dddddd;
  border-radius: 2px;
  position: relative;
}

.preview-item-wrap {
  position: relative;
}

.preview-remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e6431e;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 步骤3：发布成功 */
.publish-success-card {
  text-align: center;
  padding: 50px 20px;
}

.success-icon-wrap {
  font-size: 60px;
  color: #52c41a;
  margin-bottom: 20px;
}

.success-title {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 12px;
}

.success-desc {
  font-size: 14px;
  color: #666666;
  margin-bottom: 30px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ==================== 列表页样式 (list.html) ==================== */
.breadcrumb-bar {
  padding: 14px 0 10px;
  font-size: 13px;
  color: #666666;
}

.breadcrumb-bar a {
  color: #666666;
}

.breadcrumb-bar a:hover {
  color: #e6431e;
}

.filter-box-panel {
  background-color: #ffffff;
  border: 1px solid #e2e5eb;
  padding: 16px 20px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.filter-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px dotted #eeeeee;
  align-items: flex-start;
}

.filter-row:last-child {
  border-bottom: none;
}

.filter-title {
  width: 80px;
  color: #888888;
  font-size: 13px;
  line-height: 26px;
  flex-shrink: 0;
}

.filter-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.filter-item-link {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 13px;
  color: #333333;
}

.filter-item-link:hover {
  color: #e6431e;
}

.filter-item-link.active {
  background-color: #272f6b;
  color: #ffffff !important;
}

/* 列表主要区域与侧边栏 */
.list-layout-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.list-main-col {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #e2e5eb;
}

.list-sort-bar {
  background-color: #f7f8fa;
  height: 40px;
  border-bottom: 1px solid #e2e5eb;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sort-tabs {
  display: flex;
  height: 100%;
}

.sort-tab {
  display: flex;
  align-items: center;
  padding: 0 18px;
  height: 100%;
  font-size: 13px;
  color: #555555;
  border-right: 1px solid #e8ecf2;
}

.sort-tab:hover {
  color: #e6431e;
}

.sort-tab.active {
  background-color: #ffffff;
  color: #272f6b;
  font-weight: bold;
  border-top: 2px solid #272f6b;
  margin-top: -1px;
}

.list-items-container {
  padding: 0 16px;
}

.list-item-card {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.15s ease;
}

.list-item-card:hover {
  background-color: #fafbfe;
}

.list-item-thumb {
  width: 140px;
  height: 105px;
  border: 1px solid #eeeeee;
  border-radius: 2px;
  overflow: hidden;
  margin-right: 18px;
  flex-shrink: 0;
  background-color: #f3f4f8;
}

.list-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.list-item-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}

.list-item-title a {
  color: #272f6b;
}

.list-item-title a:hover {
  color: #e6431e;
}

.list-item-desc {
  font-size: 12px;
  color: #777777;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-item-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #999999;
}

.list-item-price-col {
  width: 130px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.list-item-price {
  font-size: 20px;
  font-weight: bold;
  color: #e6431e;
}

.list-item-date {
  font-size: 12px;
  color: #999999;
  margin-top: 6px;
}

/* 分页控件 */
.pagination-wrap {
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.page-btn {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
  color: #555555;
  font-size: 13px;
  border-radius: 2px;
  cursor: pointer;
}

.page-btn:hover {
  border-color: #272f6b;
  color: #272f6b;
}

.page-btn.active {
  background-color: #272f6b;
  border-color: #272f6b;
  color: #ffffff !important;
  font-weight: bold;
}

.page-info-text {
  font-size: 12px;
  color: #888888;
  margin-right: 12px;
}

/* 列表侧边栏 */
.list-sidebar-col {
  width: 270px;
  flex-shrink: 0;
}

.sidebar-box {
  background-color: #ffffff;
  border: 1px solid #e2e5eb;
  margin-bottom: 18px;
}

.sidebar-title {
  background-color: #272f6b;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 14px;
}

.sidebar-body {
  padding: 12px 14px;
}

.sidebar-item-link {
  display: flex;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dotted #f0f0f0;
  font-size: 12px;
}

.sidebar-item-link:last-child {
  border-bottom: none;
}

.sidebar-fast-publish {
  background: linear-gradient(135deg, #272f6b 0%, #3d4a96 100%);
  color: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 2px;
  margin-bottom: 18px;
}

.sidebar-fast-publish h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.sidebar-fast-publish p {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 14px;
}

.sidebar-publish-action-btn {
  display: inline-block;
  background-color: #e6431e;
  color: #ffffff !important;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 2px;
}

.sidebar-publish-action-btn:hover {
  background-color: #cb3512;
}

/* ==================== 详情页样式 (detail.html) ==================== */
.detail-main-card {
  background-color: #ffffff;
  border: 1px solid #e2e5eb;
  padding: 24px 30px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.detail-header-block {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.detail-title {
  font-size: 22px;
  font-weight: bold;
  color: #272f6b;
  margin-bottom: 10px;
}

.detail-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888888;
}

.detail-meta-left {
  display: flex;
  gap: 20px;
}

.detail-meta-right a {
  color: #e6431e;
}

.detail-hero-section {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.detail-gallery {
  width: 440px;
  flex-shrink: 0;
}

.detail-main-img-box {
  width: 440px;
  height: 330px;
  border: 1px solid #e5e5e5;
  background-color: #f7f7f7;
  overflow: hidden;
  margin-bottom: 10px;
}

.detail-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumb-strip {
  display: flex;
  gap: 10px;
}

.thumb-small {
  width: 76px;
  height: 58px;
  border: 1px solid #cccccc;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.thumb-small.active, .thumb-small:hover {
  border-color: #e6431e;
  opacity: 1;
}

.thumb-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 详情右侧交易与联系方式 */
.detail-trade-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.detail-price-box {
  background-color: #fff8f5;
  border: 1px solid #ffdecb;
  padding: 14px 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.detail-price-num {
  font-size: 30px;
  font-weight: bold;
  color: #e6431e;
}

.detail-attr-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 22px;
}

.detail-attr-row {
  display: flex;
}

.detail-attr-name {
  width: 90px;
  color: #888888;
}

.detail-attr-value {
  color: #333333;
  font-weight: 500;
}

.phone-reveal-box {
  background-color: #f3f5fc;
  border: 1px solid #d5daf0;
  padding: 16px 20px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.phone-masked-num {
  font-size: 22px;
  font-weight: bold;
  color: #272f6b;
  margin-right: 15px;
}

.phone-reveal-btn {
  background-color: #272f6b;
  color: #ffffff;
  border: none;
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 2px;
  cursor: pointer;
}

.phone-reveal-btn:hover {
  background-color: #1a204d;
}

.safe-alert-notice {
  background-color: #fff9e6;
  border: 1px solid #ffe599;
  padding: 10px 14px;
  font-size: 12px;
  color: #946300;
  line-height: 1.6;
}

/* 详情描述正文标签页 */
.detail-content-tabs {
  border: 1px solid #e2e5eb;
  background-color: #ffffff;
}

.content-tab-nav {
  display: flex;
  background-color: #f7f8fa;
  border-bottom: 1px solid #e2e5eb;
}

.tab-nav-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: bold;
  color: #555555;
  cursor: pointer;
  border-right: 1px solid #e2e5eb;
}

.tab-nav-btn.active {
  background-color: #ffffff;
  color: #272f6b;
  border-top: 2px solid #272f6b;
  margin-top: -1px;
}

.content-tab-body {
  padding: 25px 30px;
  font-size: 14px;
  line-height: 1.8;
  color: #444444;
}

/* ==================== 会员中心样式 (member.html) ==================== */
.member-layout-wrap {
  display: flex;
  gap: 20px;
  margin: 30px auto;
  align-items: flex-start;
}

.member-sidebar {
  width: 220px;
  flex-shrink: 0;
  background-color: #ffffff;
  border: 1px solid #e2e5eb;
}

.member-profile-widget {
  padding: 24px 16px;
  text-align: center;
  border-bottom: 1px solid #eeeeee;
  background-color: #f9fafc;
}

.member-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #272f6b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
  margin: 0 auto 12px;
}

.member-username {
  font-size: 15px;
  font-weight: bold;
  color: #333333;
}

.member-badge {
  display: inline-block;
  font-size: 11px;
  color: #272f6b;
  background-color: #e8ecf8;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 4px;
}

.member-nav-menu {
  padding: 10px 0;
}

.member-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  color: #555555;
  transition: all 0.15s ease;
}

.member-nav-item.active a,
.member-nav-item a:hover {
  background-color: #f0f3fa;
  color: #272f6b;
  font-weight: 600;
  border-left: 3px solid #272f6b;
}

.member-main-content {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #e2e5eb;
  padding: 25px 30px;
}

.member-page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #272f6b;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.member-page-title {
  font-size: 18px;
  font-weight: bold;
  color: #272f6b;
}

.member-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.stat-metric-card {
  background-color: #fafbfe;
  border: 1px solid #e5e9f2;
  padding: 16px;
  border-radius: 2px;
}

.stat-label {
  font-size: 12px;
  color: #777777;
}

.stat-val {
  font-size: 24px;
  font-weight: bold;
  color: #272f6b;
  margin-top: 4px;
}

.member-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.member-data-table th {
  background-color: #f5f7fb;
  border: 1px solid #e5e8f0;
  padding: 12px 14px;
  text-align: left;
  color: #555555;
  font-weight: 600;
}

.member-data-table td {
  border: 1px solid #e5e8f0;
  padding: 12px 14px;
  color: #333333;
}

.member-data-table tr:hover td {
  background-color: #fafbfe;
}

.status-badge-ok {
  color: #52c41a;
  font-weight: 500;
}

.table-action-btn {
  color: #272f6b;
  margin-right: 8px;
  font-size: 12px;
  cursor: pointer;
}

.table-action-btn:hover {
  color: #e6431e;
  text-decoration: underline;
}

.table-action-btn.del {
  color: #e6431e;
}

/* 提示弹窗 Toast / Modal */
.toast-msg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 9999;
  display: none;
  animation: fadeInOut 2s ease forwards;
}

.toast-msg.show {
  display: block;
}

.composition-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 100%;
  max-width: 100%;
  white-space: nowrap;
}

.composition-nav-item {
  margin-left: auto;
  flex: 0 1 132px;
  min-width: 96px;
  max-width: 160px;
}

.composition-nav-item.is-empty {
  display: none;
}

.composition-nav-link {
  display: block;
  width: 100%;
  padding: 0 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  line-height: 44px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.composition-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.member-sidebar-card {
  width: 220px;
  background-color: #ffffff;
  border: 1px solid #e2e5eb;
  padding: 24px 0;
}

.avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, #e6431e, #272f6b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.member-user-info {
  text-align: center;
  margin-bottom: 18px;
}

.member-name {
  color: #272f6b;
  font-weight: 700;
}

.member-menu-list {
  list-style: none;
}

.member-menu-item {
  padding: 13px 22px;
  cursor: pointer;
  color: #555555;
  border-left: 3px solid transparent;
}

.member-menu-item.active,
.member-menu-item:hover {
  background-color: #f5f7fb;
  color: #272f6b;
  border-left-color: #272f6b;
}

.member-center-layout {
  display: flex;
  gap: 20px;
}

.stat-card {
  background-color: #fafbfe;
  border: 1px solid #e5e9f2;
  padding: 16px;
}

.stat-num {
  font-size: 24px;
  font-weight: bold;
  color: #e6431e;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.member-table th,
.member-table td {
  border: 1px solid #e5e8f0;
  padding: 12px 14px;
  text-align: left;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}
