/* 招采合作 */
.procurement-hero {
  position: relative;
  /* 缩短首屏 banner，便于下方招采内容露出更多 */
  min-height: clamp(270px, 24vw, 370px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.procurement-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.procurement-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(30, 47, 73, 0) 0%, rgba(0, 70, 184, 1) 100%);
  pointer-events: none;
}

.procurement-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: var(--spacing-lg) 0;
}

.procurement-hero__title {
  margin: 0;
  font-size: 48px;
  line-height: 72px;
  font-weight: 600;
}

.procurement-hero__desc {
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 20px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.section-procurement {
  padding: 32px 0 72px;
  background: #f5f7fb;
}

.procurement-tabs {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e8edf4;
}

.proc-tab {
  position: relative;
  padding: 0 0 12px;
  border: none;
  background: transparent;
  color: #657287;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.proc-tab.active {
  color: #1459d3;
  font-weight: 600;
}

.proc-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: 44px;
  height: 2px;
  background: #1459d3;
}

.proc-panel {
  display: none;
}

.proc-panel.active {
  display: block;
}

.proc-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  padding: 24px 24px 20px 28px
}

.proc-card__badge {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 56px;
  object-fit: contain;
  pointer-events: none;
}

.proc-card__date {
  flex: 0 0 84px;
  text-align: center;
  color: #EF7418;
}

.proc-card__month {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: #9da7b7;
  padding-top: 5px;
}

.proc-card__day {
  display: block;
  margin: 4px 0;
  font-family: "D-DIN", "PingFang SC", sans-serif;
  font-size: 44px;
  line-height: 42px;
  font-weight: 700;
}

.proc-card__month-text {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: #9da7b7;
}

.proc-card__date--ended {
  color: #98a2b3;
}

.proc-card__content {
  flex: 1;
  min-width: 0;
}

.proc-card__body {
  height: 89px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proc-title {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #111827;
}

.proc-title__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.proc-title__link:hover {
  color: #1459d3;
}

.proc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 20px;
  color: #8b95a5;
}

.proc-meta li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.proc-meta__icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.proc-detail {
  display: inline-flex;
  margin-top: 16px;
  min-width: 92px;
  height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  background: #1459d3;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.proc-detail--disabled {
  background: rgba(0, 82, 214, 0.4);
  color: #ffffff;
  cursor: not-allowed;
  pointer-events: none;
}

.proc-award-divider {
  border-top: 1px solid #e8edf4;
}

.proc-card__footer {
  flex: 0 0 100%;
  margin-top: 14px;
}

.proc-award-winner {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 20px;
  padding-left: 110px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.proc-award-winner__icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.proc-award-winner__label {
  color: #8b95a5;
}

.proc-award-winner__name {
  color: rgba(0, 82, 214, 1);
}

.proc-empty,
.proc-loading,
.proc-error {
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  text-align: center;
  color: #6f7b90;
}

.proc-error {
  color: #d14343;
}

.proc-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
}

.proc-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d7deea;
  border-radius: 4px;
  background: #fff;
  color: #4f5b70;
  font-size: 13px;
  cursor: pointer;
}

.proc-page-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.proc-page-btn.active {
  background: #1459d3;
  color: #fff;
  border-color: #1459d3;
}

.proc-notice {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid #DBE8FE;
  background: linear-gradient(135deg, #EFF5FF 0%, #F7F5FF 100%);
  padding: 24px 26px;
}

.proc-notice__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 20px;
  line-height: 30px;
  color: #1f2a3d;
}

.proc-notice__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.proc-notice__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.proc-notice__index {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #1459d3;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}

.proc-notice__text {
  font-size: 12px;
  line-height: 18px;
  color: #4b5567;
}

.proc-notice__heading {
  display: inline-block;
  margin-bottom: 2px;
  color: rgba(0, 0, 0, 0.92);
  font-weight: 600;
}

.proc-notice__desc {
  color: #4b5567;
}

.auth-modal-mask,
.policy-modal-mask,
.proc-signup-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(16, 24, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.auth-modal-mask[hidden],
.policy-modal-mask[hidden],
.proc-signup-mask[hidden] {
  display: none;
}

.auth-modal {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 10px;
  padding: 26px 24px 22px;
  position: relative;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.auth-modal-close,
.proc-signup-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: none;
  background: transparent;
  color: #8b92a1;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2430;
  text-align: center;
}

.auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #4e5562;
}

.auth-modal-field input {
  border: 1px solid #dbe1eb;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: #1f2430;
}

.auth-modal-code-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.auth-modal-field-grow {
  flex: 1;
}

.auth-modal-code-btn {
  height: 40px;
  border: 1px solid #155dd1;
  background: #fff;
  color: #155dd1;
  font-size: 13px;
  padding: 0 12px;
  white-space: nowrap;
  cursor: pointer;
}

.auth-modal-submit {
  margin-top: 6px;
  height: 40px;
  border: none;
  background: #155dd1;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.auth-modal-agree-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-modal-agree {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
}

.auth-modal-agree input {
  margin: 0;
}

.auth-modal-forget {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
  color: #155dd1;
}

.auth-modal-link {
  border: none;
  background: transparent;
  color: #155dd1;
  font-size: 13px;
  cursor: pointer;
}

.auth-modal-tip {
  margin: -4px 0 0;
  font-size: 12px;
  color: #e34d59;
}

.policy-modal {
  width: min(100%, 560px);
  max-height: min(80vh, 680px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: 26px 24px 22px;
  position: relative;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.policy-modal-body {
  font-size: 14px;
  line-height: 1.8;
  color: #4e5562;
}

.policy-modal-body p {
  margin: 0 0 12px;
}

.policy-modal-body p:last-child {
  margin-bottom: 0;
}

.proc-signup-modal {
  width: min(100%, 800px);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: 24px 24px 20px;
  position: relative;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.proc-signup-title {
  margin: 0;
  text-align: center;
  font-size: 36px;
  line-height: 1.3;
  color: #23262d;
}

.proc-signup-desc {
  margin: 10px 0 22px;
  text-align: center;
  font-size: 13px;
  color: #8d95a5;
}

.proc-signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.proc-signup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proc-signup-field > span {
  color: #3f4653;
  font-size: 13px;
  line-height: 20px;
}

.proc-signup-field input,
.proc-signup-field select,
.proc-signup-field textarea {
  border: 1px solid #eceef3;
  background: #f4f5f8;
  border-radius: 4px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
  color: #1f2937;
}

.proc-signup-field select {
  cursor: pointer;
}

.proc-signup-field textarea {
  resize: vertical;
}

.proc-signup-field--full {
  grid-column: span 1;
}

.proc-signup-upload-input {
  cursor: pointer;
}

.proc-signup-upload-placeholder {
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.5;
}

.proc-signup-upload-placeholder strong {
  color: #2f6fe3;
  font-weight: 600;
}

.proc-signup-upload-status {
  margin-top: 4px;
  font-size: 12px;
  color: #67c23a;
}

.proc-signup-upload-status.is-error {
  color: #f56c6c;
}

.proc-signup-submit {
  margin-top: 18px;
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 4px;
  background: #155dd1;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.proc-signup-submit[disabled] {
  background: #b4beef;
  cursor: not-allowed;
}

.proc-signup-tip {
  margin: 12px 0 0;
  text-align: center;
  color: #8d95a5;
  font-size: 13px;
}

.proc-message-host {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10020;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.proc-message {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid #e1f3d8;
  background: #f0f9eb;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  color: #67c23a;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.proc-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.proc-message--warning {
  border-color: #faecd8;
  background: #fdf6ec;
  color: #e6a23c;
}

.proc-message--error {
  border-color: #fde2e2;
  background: #fef0f0;
  color: #f56c6c;
}

@media (max-width: 1024px) {
  .procurement-hero {
    min-height: clamp(180px, 30vw, 280px);
  }

  .procurement-hero__title {
    font-size: 42px;
    line-height: 62px;
  }

  .procurement-hero__desc {
    font-size: 18px;
    line-height: 28px;
  }

  .procurement-tabs {
    gap: 44px;
  }

  /* .proc-card {
    gap: 20px;
  } */

  .proc-title {
    font-size: 16px;
    line-height: 24px;
  }

  .proc-notice__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proc-signup-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .procurement-hero {
    min-height: clamp(150px, 38vw, 240px);
  }

  .procurement-hero__title {
    font-size: 32px;
    line-height: 46px;
  }

  .procurement-hero__desc {
    font-size: 16px;
    line-height: 24px;
    gap: 12px;
  }

  .section-procurement {
    padding: 24px 0 48px;
  }

  .procurement-tabs {
    gap: 28px;
    margin-bottom: 16px;
  }

  /* .proc-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px;
  } */

  .proc-card__date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    flex: 0 0 auto;
    text-align: left;
  }

  .proc-award-winner{
    padding-left: 0;
  }

  .proc-card__month {
    padding-top: 0;
  }

  .proc-card__day {
    font-size: 30px;
    line-height: 30px;
    margin: 2px 0 4px;
  }

  .proc-meta {
    gap: 8px 12px;
    font-size: 12px;
  }

  .proc-detail {
    margin-top: 12px;
  }

  .proc-pagination {
    /* justify-content: flex-start; */
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .proc-notice {
    padding: 18px 14px;
  }

  .proc-notice__title {
    font-size: 18px;
    line-height: 26px;
  }

  .proc-notice__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .auth-modal,
  .policy-modal,
  .proc-signup-modal {
    padding: 20px 14px 16px;
  }

  .proc-signup-title {
    font-size: 28px;
  }

  .proc-signup-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .proc-signup-field--full {
    grid-column: span 1;
  }
}
