/**
 * 首页独立样式（非公共）
 * 仅首页加载，存放路径：public/static/web/css/index.css
 */

/* 资格预审公告 / 招标公告 表格式列表（共用） */
.article-table-wrap {
  max-width: 100%;
}
.article-table {
  min-width: 560px;
  table-layout: fixed;
}
.article-th {
  font-weight: 600;
  color: #374151;
  font-size: 1rem;
  padding: 0.875rem 1rem;
  text-align: center;
}
.article-th-no {
  width: 25%;
  white-space: nowrap;
  text-align: center;
}
.article-th-name {
  width: 50%;
  min-width: 0;
  text-align: center;
}
.article-th-time {
  width: 25%;
  white-space: nowrap;
  text-align: center;
}
.article-table .article-td:last-child {
  text-align: center;
}
.article-tr:hover {
  outline: 1px dotted var(--color-primary, #398d40);
  outline-offset: -1px;
}
.article-td {
  font-size: 0.9375rem;
  vertical-align: middle;
  padding: 0.875rem 1rem;
}
.article-td-name {
  max-width: 0;
  width: 100%;
  font-size: 1.125rem;
}
.article-no-cell {
  display: inline-flex;
  align-items: center;
}
.article-no-icon {
  font-size: 0.75rem;
  flex-shrink: 0;
}
/* 名称列字体放大 */
.article-name-link {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1.125rem;
  line-height: 1.5;
}
.article-name-link:hover {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .article-td-name .article-name-link {
    white-space: normal;
    line-height: 1.5;
    max-height: 3.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.125rem;
  }
}
/* 无数据时提示 */
.article-table-empty {
  text-align: center;
  padding: 2.5rem 1rem !important;
  color: #6b7280;
  font-size: 1rem;
}

/* 招标公告区块：白/浅灰过渡 + 表格斑马纹 */
#tender .article-table-wrap {
  background: #fff;
}
#tender .article-table tbody tr:nth-child(odd) {
  background: #fff;
}
#tender .article-table tbody tr:nth-child(even) {
  background: #f9fafb;
}
#tender .article-tr:hover {
  background: rgba(57, 141, 64, 0.08) !important;
}

/* 招标代理服务流程 - 步骤数字在绿圈内居中 */
.process-step-num {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
}
.process-step-num span {
  line-height: 1;
  display: block;
}

/* 招标代理服务流程 - 涉及部门/涉及岗位 浅色背景 */
.process-involved {
  font-size: 0.875rem;
  color: #2b6b4a;
  background-color: #e8f5ee;
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  display: inline-block;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* 中标结果公示：左侧随内容高度，右侧随左侧等高（min-height 380px），无数据时左侧居中显示暂无相关数据，左侧无滚动条 */
.winning-left-card {
  min-height: 380px;
}
.winning-right-panel {
  width: 100%;
  min-height: 380px;
  height: 100%;
}
.winning-empty-state {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
}
.winning-empty-state p {
  margin: 0;
  text-align: center;
}
