@font-face {
  font-family: "Hanghao Noto Sans SC";
  src:
    local("Noto Sans SC"),
    local("NotoSansSC"),
    local("思源黑体"),
    local("Source Han Sans SC"),
    local("Source Han Sans CN"),
    url("https://tender-struct-by.oss-cn-qingdao.aliyuncs.com/drive/very-claw/fonts/NotoSansSC-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --auth-blue: #2563eb;
  --auth-blue-hover: #1d4ed8;
  --auth-ink: #1e293b;
  --auth-secondary: #475569;
  --auth-muted: #64748b;
  --auth-border: #e2e8f0;
  --auth-border-strong: #cbd5e1;
  --auth-canvas: #f8fafc;
  --auth-subtle: #f8fafc;
}
* {
  box-sizing: border-box;
}
body.hanghao-auth {
  margin: 0;
  min-height: 100vh;
  background: var(--auth-canvas);
  color: var(--auth-ink);
  -webkit-font-smoothing: antialiased;
  font:
    450 14px/1.5 "Instrument Sans",
    "Inter",
    "Hanghao Noto Sans SC",
    "Noto Sans SC",
    "PingFang SC",
    "HarmonyOS Sans SC",
    "Microsoft YaHei",
    "Segoe UI Variable Text",
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  display: flex;
  flex-direction: column;
  padding: 24px 40px;
}
.hanghao-auth button,
.hanghao-auth input {
  font: inherit;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--auth-ink);
}
.auth-brand img,
.auth-heading img {
  object-fit: contain;
  flex-shrink: 0;
}
.auth-layout {
  width: min(1060px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin: auto;
  min-height: 620px;
  border: 1px solid var(--auth-border);
  border-radius: 22px;
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 18px 48px -8px rgba(15, 23, 42, 0.08),
    0 4px 14px -2px rgba(15, 23, 42, 0.04);
}
.auth-visual {
  position: relative;
  min-height: 620px;
  background: #e8f1fc;
  overflow: hidden;
}
.auth-visual > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.auth-visual-copy {
  position: relative;
  padding: 44px;
  color: #1e3a5f;
  pointer-events: none;
}
.auth-visual-copy > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #476b96;
}
.auth-visual-copy h2 {
  font-size: 32px;
  line-height: 1.38;
  margin: 14px 0 12px;
  font-weight: 650;
  letter-spacing: 0.5px;
}
.auth-visual-copy p {
  font-size: 14px;
  margin: 0;
  color: #4b6e96;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 52px;
}
.auth-form {
  width: 100%;
  max-width: 370px;
  margin: 0;
}
.auth-heading {
  margin-bottom: 26px;
}
.auth-heading img {
  display: block;
  margin-bottom: 14px;
}
.auth-heading h1 {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: 0.3px;
  font-weight: 650;
  color: var(--auth-ink);
  margin: 0 0 6px;
}
.auth-heading p {
  margin: 0;
  color: var(--auth-secondary);
  font-size: 13.5px;
}
.auth-field {
  position: relative;
  margin-bottom: 22px;
}
.auth-field > label {
  display: block;
  margin: 0 0 7px;
  font-weight: 600;
  font-size: 13px;
  color: #334155;
}
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap > .fa {
  position: absolute;
  left: 15px;
  top: 14px;
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}
.hanghao-auth input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  background: var(--auth-subtle);
  color: var(--auth-ink);
  outline: none;
  box-shadow: none;
  appearance: none;
  transition:
    border-color 0.14s ease,
    background-color 0.14s ease,
    box-shadow 0.14s ease;
}
.hanghao-auth .auth-input-wrap input {
  padding-left: 40px;
  padding-right: 40px;
}
.hanghao-auth input::placeholder {
  color: #94a3b8;
}
.hanghao-auth input:not([type="checkbox"]):hover {
  border-color: var(--auth-border-strong);
  background: #ffffff;
}
.hanghao-auth input:not([type="checkbox"]):focus {
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
  background: #ffffff;
}
.auth-password-toggle {
  position: absolute;
  right: 7px;
  top: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--auth-muted);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.auth-password-toggle:hover {
  background: #eff4fb;
  color: var(--auth-ink);
}
.auth-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 12px;
}
.auth-captcha-refresh {
  height: 44px;
  width: 132px;
  padding: 0;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  background: var(--auth-subtle);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.14s ease;
}
.auth-captcha-refresh:hover {
  border-color: var(--auth-border-strong);
}
.auth-captcha-refresh img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 20px;
  margin: 0 0 16px;
  font-size: 12.5px;
}
.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 450;
  color: var(--auth-secondary);
  cursor: pointer;
  margin: 0;
}
.auth-checkbox input {
  margin: 0;
  accent-color: var(--auth-blue);
  width: 14px;
  height: 14px;
}
.hanghao-auth a {
  color: var(--auth-blue);
  text-decoration: none;
  font-weight: 500;
}
.hanghao-auth a:hover {
  color: var(--auth-blue-hover);
  text-decoration: underline;
}
.auth-submit {
  display: block;
  width: 100%;
  height: 44px;
  border: 1px solid var(--auth-blue);
  border-radius: 10px;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 2px 6px rgba(37, 99, 235, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: all 0.14s ease;
}
.auth-submit:hover {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-color: var(--auth-blue-hover);
}
.auth-submit:disabled {
  background: #93c5fd;
  border-color: #93c5fd;
  cursor: wait;
  box-shadow: none;
}
.auth-password-toggle:focus-visible,
.auth-captcha-refresh:focus-visible,
.auth-submit:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 2px;
}
.auth-feedback {
  height: 52px;
  display: flex;
  align-items: center;
}
.auth-message {
  margin: 0;
  color: #b91c1c;
  font-size: 12px;
  line-height: 18px;
  overflow-wrap: anywhere;
}
.auth-help {
  text-align: center;
  font-size: 12px;
  color: var(--auth-muted);
  margin: 0;
}
.hanghao-auth label.error {
  position: absolute;
  left: 0;
  bottom: -20px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 450;
  margin: 0;
  line-height: 18px;
}
.auth-footer {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  padding-top: 20px;
}
.auth-footer a {
  display: inline-block;
  margin-top: 4px;
  color: var(--auth-muted);
  text-decoration: none;
}
.auth-footer a:hover,
.auth-footer a:focus-visible {
  color: var(--auth-blue);
  text-decoration: underline;
}
.auth-form-register .auth-heading {
  margin-bottom: 20px;
}
.auth-form-register .auth-field {
  margin-bottom: 20px;
}
.auth-form-register .auth-help {
  margin: 0 0 14px;
}
@media (min-width: 761px) and (max-height: 780px) {
  body.hanghao-auth {
    padding: 16px 32px;
  }
  .auth-layout,
  .auth-visual {
    min-height: 580px;
  }
  .auth-panel {
    padding: 26px 44px;
  }
  .auth-heading {
    margin-bottom: 20px;
  }
  .auth-field {
    margin-bottom: 20px;
  }
  .auth-footer {
    padding-top: 12px;
  }
}
@media (max-width: 760px) {
  body.hanghao-auth {
    padding: 20px;
  }
  .auth-brand {
    margin-bottom: 28px;
  }
  .auth-layout {
    display: block;
    max-width: 460px;
    min-height: 0;
    border-radius: 20px;
  }
  .auth-visual {
    display: none;
  }
  .auth-panel {
    padding: 34px 28px;
  }
  .auth-footer {
    padding-bottom: 8px;
  }
  .auth-captcha {
    grid-template-columns: minmax(0, 1fr) 112px;
  }
  .auth-captcha-refresh {
    width: 112px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hanghao-auth input {
    transition: none !important;
  }
}
