/* 供应商门户登录（独立页面，无外链快捷入口） */
*, *::before, *::after { box-sizing: border-box; }

body.supplier-login-page {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5fafa;
  color: #1f2329;
  -webkit-font-smoothing: antialiased;
}

.supplier-login-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(32, 178, 170, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(23, 143, 136, 0.12), transparent 55%),
    linear-gradient(180deg, #f0faf9 0%, #f5fafa 45%, #fff 100%);
  z-index: 0;
}

.supplier-login-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.supplier-login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(32, 178, 170, 0.18);
  box-shadow: 0 18px 48px rgba(32, 178, 170, 0.12);
  overflow: hidden;
}

.supplier-login-card__head {
  padding: 28px 28px 22px;
  background: linear-gradient(145deg, #20B2AA 0%, #178f88 100%);
  color: #fff;
}

.supplier-login-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.supplier-login-card__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.supplier-login-card__head h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.supplier-login-card__head p {
  margin: 0;
  font-size: 14px;
  opacity: 0.92;
  line-height: 1.5;
}

.supplier-login-card__body {
  padding: 26px 28px 28px;
}

.supplier-login-error {
  background: #fff5f5;
  color: #c62828;
  border: 1px solid rgba(198, 40, 40, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.supplier-login-field {
  margin-bottom: 16px;
}

.supplier-login-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #178f88;
}

.supplier-login-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #b2dfdb;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.supplier-login-field input:focus {
  outline: none;
  border-color: #20B2AA;
  box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.15);
}

.supplier-login-submit {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #20B2AA, #178f88);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(32, 178, 170, 0.28);
  transition: transform 0.12s, opacity 0.12s;
}

.supplier-login-submit:hover {
  filter: brightness(1.03);
}

.supplier-login-submit:active {
  transform: scale(0.98);
}

.supplier-login-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
  text-align: center;
}

@media (max-width: 480px) {
  .supplier-login-card__head,
  .supplier-login-card__body {
    padding-left: 22px;
    padding-right: 22px;
  }
}
