body {
  background: #f5f6f8;
  color: #333;
}

#bid-page {
  min-height: 100vh;
}

#bid-page .page-header {
  background: #5163ff;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(81, 99, 255, 0.2);
}

#bid-page .page-header .navbar-brand img {
  height: 30px;
}

#bid-page .page-header .text-logo {
  color: #fff;
}

#bid-page .page-header .nav-link {
  color: rgba(255, 255, 255, 0.85);
  padding-left: 20px;
  padding-right: 20px;
}

#bid-page .page-header .nav-link:hover,
#bid-page .page-header .nav-link.active {
  color: #fff;
}

#bid-page .page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

#bid-page .info-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e8e8e8;
}

#bid-page .info-tabs .tab-item {
  position: relative;
  padding: 12px 4px 14px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

#bid-page .info-tabs .tab-item:hover {
  color: #1890ff;
}

#bid-page .info-tabs .tab-item.active {
  color: #1890ff;
  font-weight: 500;
}

#bid-page .info-tabs .tab-item.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #1890ff;
}

#bid-page .info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#bid-page .info-list .info-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 2px;
  margin-bottom: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

#bid-page .info-list .info-item:hover {
  border-color: #d9e8ff;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.08);
}

#bid-page .info-list .info-item .item-arrow {
  flex-shrink: 0;
  width: 20px;
  color: #bbb;
  font-size: 14px;
  margin-right: 12px;
}

#bid-page .info-list .info-item .item-title {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#bid-page .info-list .info-item .item-date {
  flex-shrink: 0;
  margin-left: 24px;
  font-size: 14px;
  color: #999;
}

#bid-page .empty-tip {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 15px;
}

#bid-detail-page {
  min-height: 100vh;
}

#bid-detail-page .page-header {
  background: #5163ff;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(81, 99, 255, 0.2);
}

#bid-detail-page .page-header .navbar-brand img {
  height: 30px;
}

#bid-detail-page .page-header .text-logo {
  color: #fff;
}

#bid-detail-page .page-header .nav-link {
  color: rgba(255, 255, 255, 0.85);
  padding-left: 20px;
  padding-right: 20px;
}

#bid-detail-page .page-header .nav-link:hover,
#bid-detail-page .page-header .nav-link.active {
  color: #fff;
}

#bid-detail-page .page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

#bid-detail-page .back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

#bid-detail-page .back-link:hover {
  color: #1890ff;
}

#bid-detail-page .bid-document {
  background: #fff;
  padding: 48px 56px 56px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#bid-detail-page .bid-document h1 {
  font-family: FZYaSong-H-GBK, FZYaSongS-R-GB, SimSun, "Songti SC", serif;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 36px;
  color: #333;
  letter-spacing: 2px;
}

#bid-detail-page .bid-document h2 {
  font-family: FZYaSong-H-GBK, FZYaSongS-R-GB, SimSun, "Songti SC", serif;
  font-size: 16px;
  font-weight: bold;
  margin: 24px 0 12px;
  color: #333;
}

#bid-detail-page .bid-document h2.section-divider {
  text-align: center;
  font-size: 20px;
  margin: 40px 0 32px;
  letter-spacing: 1px;
}

#bid-detail-page .bid-document p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 8px;
  text-align: justify;
  text-indent: 2em;
  color: #333;
  word-break: break-all;
}

#bid-detail-page .bid-document p.sub-item {
  text-indent: 2em;
}

#bid-detail-page .bid-document p strong {
  font-weight: bold;
}

#bid-detail-page .bid-document .bid-signature {
  margin-top: 48px;
  text-align: right;
}

#bid-detail-page .bid-document .bid-signature p {
  text-indent: 0;
  text-align: right;
  margin-bottom: 4px;
  line-height: 1.8;
}

#bid-detail-page .empty-tip {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 15px;
}
.download-btn{
  text-align: center;
  margin-top: 24px; 
}
.download-btn a{
  display: inline-block;
  padding: 10px 20px;
  background: #1890ff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}
.download-btn a:hover{
  background: #1890ff;
}

@media screen and (max-width: 640px) {
  #bid-detail-page .page-header .text-logo {
    display: none;
  }

  #bid-detail-page .bid-document {
    padding: 32px 20px 40px;
  }

  #bid-detail-page .bid-document h1 {
    font-size: 24px;
    margin-bottom: 28px;
  }

  #bid-detail-page .bid-document h2.section-divider {
    font-size: 18px;
    margin: 32px 0 24px;
  }

  #bid-detail-page .bid-document p {
    font-size: 14px;
  }
}

@media screen and (max-width: 640px) {
  #bid-page .info-tabs {
    gap: 24px;
  }

  #bid-page .info-tabs .tab-item {
    font-size: 15px;
  }

  #bid-page .info-list .info-item {
    padding: 14px 12px;
  }

  #bid-page .info-list .info-item .item-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  #bid-page .info-list .info-item .item-date {
    margin-left: 12px;
    font-size: 13px;
  }

  #bid-page .page-header .text-logo {
    display: none;
  }
}
