/**
 * 我的收藏页面样式
 * 按设计图 1:1 还原：标题、表格表头深绿/白字、数据行分隔线、查看详情蓝色链接、字体与间距
 */

/* 内容区与卡片沿用个人中心布局 */
.favorites-main {
  flex: 1;
  min-width: 0;
}



/* 页面标题：粗体、28–32px、#333、与卡片内边距一致 */
.favorites-title {
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  color: #333333;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

/* 表格容器 */
.favorites-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.favorites-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-family-base);
  table-layout: fixed;
}

/* 表头：深绿背景、白字、14–16px、左对齐、圆角 */
.favorites-th {
  height: 40px;
  background: #186338;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  text-align: left;
  padding: 0 16px;
  border: none;
  box-sizing: border-box;
}

.favorites-th--num {
  width: 56px;
  border-radius: 4px 0 0 4px;
}

.favorites-th--action {
  width: 100px;
  border-radius: 0 4px 4px 0;
}

/* 数据行：白底、行间细线 #E0E0E0、13–14px、#333；偶数行底色 #C2C9D1 */
.favorites-tr {
  background: #FFFFFF;
}

.favorites-table tbody .favorites-tr:nth-child(even) {
  background: rgba(194, 201, 209, 0.10);
}

.favorites-tr + .favorites-tr {
  border-top: 1px solid rgba(194, 201, 209, 0.10);
}

.favorites-td {
  padding: 14px 16px;
  font-size: 14px;
  color: #333333;
  font-weight: var(--font-weight-normal);
  vertical-align: middle;
}

.favorites-td--num {
  width: 56px;
}

/* 内容列过长时省略号（与设计图一致） */
.favorites-td:not(.favorites-td--num):not(.favorites-td--action) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 查看详情：链接色 #354052 */
.favorites-link {
  color: #354052;
  text-decoration: none;
  font-size: 14px;
}

.favorites-link:hover {
  text-decoration: underline;
}

