
@layer legacy {
/* ==========================================================================
   Ricodisk Enterprise Theme — 21-supplier-supplier-management-message-board-page.css
   由 main.css 自动拆分(保序连续段 21/30,作用域: supplier)
   ========================================================================== */
/* Supplier management message board page. */
.supplier-page {
  background: #f4f5f8;
  color: #1f2937;
}

.supplier-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 104px;
  background:
    radial-gradient(circle at 76% 24%, rgba(227, 6, 19, .18), transparent 30%),
    linear-gradient(135deg, #111827 0%, #1f2937 54%, #0b1018 100%);
  color: #fff;
}

/* 后台上传横幅背景图时（模板输出 --management-banner-bg + has-custom-bg），
   图片上叠深色蒙层，保证白色标题可读 */
.supplier-hero.has-custom-bg {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .72) 0%, rgba(11, 16, 24, .78) 100%),
    var(--management-banner-bg) center center / cover no-repeat;
}

.supplier-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -38% 42%;
  height: 300px;
  background: rgba(255, 255, 255, .05);
  border-radius: 999px 0 0 0;
  transform: rotate(-8deg);
}

.supplier-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 420px;
  gap: 64px;
  align-items: center;
}

.supplier-kicker,
.supplier-section-heading > span,
.supplier-form-card__head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e30613;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.supplier-hero h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  color: #fff;
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.supplier-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.85;
}

.supplier-section {
  padding: 92px 0;
}

.supplier-section--board {
  margin-top: -42px;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.supplier-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.supplier-side,
.supplier-form-card,
.supplier-info-card {
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
}

.supplier-side {
  padding: 34px;
  position: sticky;
  top: 108px;
}

.supplier-section-heading h2,
.supplier-form-card__head h2 {
  margin: 12px 0 0;
  color: #111827;
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.supplier-steps {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.supplier-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #f7f8fb;
}

.supplier-step > strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #e30613;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.supplier-step h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 18px;
  font-weight: 850;
}

.supplier-step p,
.supplier-note p,
.supplier-info-card p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
}

.supplier-note {
  margin-top: 24px;
  padding: 22px;
  border-left: 4px solid #e30613;
  border-radius: 18px;
  background: #fff4f5;
}

.supplier-note strong {
  display: block;
  margin-bottom: 8px;
  color: #b9000d;
  font-size: 16px;
  font-weight: 900;
}

.supplier-form-card {
  padding: 38px;
}

.supplier-form {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.supplier-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.supplier-form label {
  display: grid;
  gap: 9px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.supplier-form input,
.supplier-form select,
.supplier-form textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.supplier-form input,
.supplier-form select {
  height: 48px;
  padding: 0 15px;
}

.supplier-form textarea {
  resize: vertical;
  min-height: 156px;
  padding: 14px 15px;
  line-height: 1.7;
}

.supplier-form input:focus,
.supplier-form select:focus,
.supplier-form textarea:focus {
  border-color: #e30613;
  box-shadow: 0 0 0 4px rgba(227, 6, 19, .12);
}

.supplier-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.supplier-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 180px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #e30613;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(227, 6, 19, .26);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.supplier-submit:hover,
.supplier-submit:focus-visible {
  background: #c90010;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(227, 6, 19, .32);
}

@media (max-width: 1180px) {
  .supplier-hero__inner,
  .supplier-layout {
    grid-template-columns: 1fr;
  }

  .supplier-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .supplier-hero {
    padding: 92px 0 70px;
  }

  .supplier-hero__inner,
  .supplier-layout {
    gap: 24px;
  }

  .supplier-hero p {
    font-size: 16px;
  }

  .supplier-board-card,
  .supplier-side,
  .supplier-form-card,
  .supplier-info-card {
    border-radius: 22px;
  }

  .supplier-section {
    padding: 64px 0;
  }

  .supplier-section--board {
    padding-top: 0;
  }

  .supplier-side,
  .supplier-form-card,
  .supplier-info-card {
    padding: 24px;
  }

  .supplier-step {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px;
  }

  .supplier-step > strong {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

.supplier-page .supplier-hero {
  padding: 96px 0 78px;
}

.supplier-page .supplier-hero::after,
.supplier-page .supplier-board-card,
.supplier-page .supplier-section--cards,
.supplier-page .supplier-card-grid {
  display: none;
}

.supplier-page .supplier-hero__inner {
  display: block;
  max-width: 880px;
}

.supplier-page .supplier-hero__copy {
  max-width: 820px;
}

.supplier-page .supplier-hero h1 {
  max-width: 820px;
  margin: 14px 0 16px;
  font-size: clamp(36px, 4vw, 56px);
}

.supplier-page .supplier-hero p {
  max-width: 760px;
  font-size: 17px;
}

.supplier-page .supplier-section--board {
  margin-top: -28px;
  padding-bottom: 86px;
}

@media (max-width: 760px) {
  .supplier-page .supplier-hero {
    padding: 76px 0 58px;
  }

  .supplier-page .supplier-hero h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .supplier-page .supplier-hero p {
    font-size: 15px;
  }

  .supplier-page .supplier-section--board {
    padding-bottom: 58px;
  }
}
}
