/* 库存查询平台 - 按原版式 1:1 复刻（基准 1920 逻辑宽） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================= 顶部横幅 ================= */
.banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 630;
  background: url(../img/banner.jpg?v=2) no-repeat;
  background-size: 100% 100%;
}
.brand {
  position: absolute;
  top: 55.9%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.brand-logo {
  height: clamp(34px, 3.1vw, 66px);
  width: auto;
  display: block;
}
.brand-divider {
  display: inline-block;
  width: 2px;
  height: clamp(46px, 4.2vw, 88px);
  background: rgba(255, 255, 255, .55);
  margin: 0 clamp(14px, 1.55vw, 33px);
}
.brand-title {
  color: #fff;
  font-size: clamp(26px, 2.85vw, 60px);
  letter-spacing: clamp(1px, .12vw, 3px);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

/* ================= 登录卡 ================= */
.login-wrap {
  position: relative;
  z-index: 5;
  width: min(588px, 94vw);
  margin: -8.96vw auto 0;
}
.panel {
  position: relative;
  background: rgba(255, 255, 255, .55);
  padding: 25px 27px 21px;
}
.panel::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 50%;
  margin-left: -20px;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 19px solid rgba(255, 255, 255, .55);
}
.card {
  background: rgba(255, 255, 255, .82);
  padding: 40px 27px 50px;
}
.field {
  display: flex;
  align-items: stretch;
  height: 52px;
  border: 1px solid #ccc;
  background: #fff;
  margin-bottom: 16px;
}
.field .icon {
  flex: 0 0 53px;
  background: #ececec;
  border-right: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 15px;
  font-size: 15px;
  color: #333;
  background: transparent;
}
.field input::placeholder { color: #404040; opacity: 1; }
.captcha-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.captcha-field { width: 200px; margin-bottom: 0; }
.captcha-code {
  margin-left: 60px;
  display: inline-flex;
  gap: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  user-select: none;
  cursor: pointer;
}
.captcha-code em { display: inline-block; line-height: 1; }
.btn-login {
  display: block;
  width: 100%;
  height: 52px;
  border: 0;
  background: #056DAD;
  color: #fff;
  font-size: 20px;
  letter-spacing: 6px;
  text-indent: 6px;
  font-family: inherit;
  cursor: pointer;
}
.btn-login:hover { background: #0a76bd; }
.remember {
  margin-top: 21px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  user-select: none;
}
.remember input {
  width: 19px;
  height: 19px;
  accent-color: #e8862c;
}

/* ================= 页脚 ================= */
.below { height: 114px; }
.site-footer {
  margin-top: auto;
  background: #1b1b1b;
  min-height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 26px;
  padding: 8px 16px;
}
.site-footer .company {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}
.site-footer .note {
  color: #ececec;
  font-size: 14px;
}

@media (max-width: 640px) {
  .login-wrap { margin-top: -14vw; }
  .below { height: 60px; }
  .site-footer { padding: 12px 16px; }
  .site-footer .company { font-size: 16px; }
  .site-footer .note { font-size: 12px; }
  .captcha-code { margin-left: 24px; }
}
