/* ============================================
   衣界 - 服装行业信息平台 全局公共样式
   本文件为全站统一样式（头部、布局、卡片、表单、页脚）
   各页面在 <head> 中通过 <link> 引入本文件
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}

body {
  background-color: #f4f4f4;
}

/* ---- 顶部导航（全站统一） ---- */
.header-top {
  background-color: #ffffff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #ff6b00;
  color: white;
  font-size: 26px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text h1 {
  font-size: 22px;
  color: #222;
}
.logo-text span {
  font-size: 13px;
  color: #777;
}
.header-contact {
  font-size: 14px;
  color: #444;
}

/* 发布页顶部条 */
.top-bar {
  background-color: #ff6b00;
  color: #fff;
  padding: 14px 16px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
}

/* ---- 主体容器 ---- */
.container {
  max-width: 720px;
  margin: 16px auto;
  padding: 0 14px;
}

/* ---- 列表页头部条 ---- */
.page-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.page-title {
  font-size: 20px;
  font-weight: bold;
}
.pub-btn {
  background-color: #ff6b00;
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

/* ---- 信息卡片 ---- */
.list-wrap {
  min-height: 60px;
}
.item-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}
.card-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 6px;
}
.card-area {
  color: #ff6b00;
  font-size: 14px;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}
.card-time {
  font-size: 12px;
  color: #999;
}
.empty-tip {
  text-align: center;
  color: #999;
  padding: 40px 0;
  font-size: 14px;
}
.ok-tip {
  background-color: #eafaf0;
  color: #16a34a;
  border: 1px solid #86d5a5;
  border-radius: 6px;
  padding: 11px 14px;
  margin-bottom: 12px;
  font-size: 14px;
  text-align: center;
}

/* ---- 发布表单 ---- */
.form-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.form-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 16px;
}
.row {
  margin-bottom: 16px;
}
.row label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}
.row input,
.row textarea {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}
.row textarea {
  height: 120px;
  resize: vertical;
}
.btn-submit {
  width: 100%;
  padding: 12px;
  font-size: 17px;
  background-color: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 6px;
  margin-top: 6px;
  cursor: pointer;
}
.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.tip {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
  text-align: center;
}

/* ---- 返回首页 ---- */
.back-home {
  display: block;
  text-align: center;
  margin: 20px 0;
}
.back-home a {
  color: #ff6b00;
  text-decoration: none;
}

/* ---- 页脚 ---- */
footer {
  margin-top: 40px;
  padding: 20px 16px;
  font-size: 12px;
  text-align: center;
  color: #888;
}
