/* zhineng auth: Dujiao/JZ vault style */
html { font-size: 14px; }

body.zhineng-auth {
  min-height: 100vh;
  margin: 0;
  color: #f7f7f8;
  background:
    radial-gradient(680px 420px at 0% 0%, rgba(16, 70, 104, .52), transparent 62%),
    linear-gradient(135deg, #071f35 0%, #02080d 42%, #000 100%);
  font-family: Inter, Rubik, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.vault-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 18px 42px;
}

.vault-auth-shell {
  width: 100%;
  max-width: 480px;
}

.vault-auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0 2px;
}

.vault-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8e99aa;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.vault-back:hover { color: #fff; }

.vault-auth-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  color: #cfd4dc;
  background: #3b3b3d;
  border: 1px solid #59595d;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
}

.vault-auth-card {
  width: 100%;
  padding: 34px 34px 30px;
  color: #f7f7f8;
  background: #1f1f21;
  border: 1px solid #4d4d52;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

.vault-auth-brand {
  margin-bottom: 12px;
  color: #1683ff;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.vault-auth-card h1 {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
}

.vault-auth-subtitle {
  margin: 10px 0 28px;
  color: #a4a4aa;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.vault-field {
  margin-bottom: 20px;
}

.vault-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 9px;
  color: #9c9ca3;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.vault-field .form-control {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  color: #f8f8fb;
  background: #1f1f21;
  border: 1px solid #55555b;
  border-radius: 9px;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 500;
}

.vault-field .form-control:focus {
  color: #fff;
  background: #1f1f21;
  border-color: #2f83ff;
  box-shadow: 0 0 0 3px rgba(47, 131, 255, .16) !important;
}

.vault-field .form-control::placeholder { color: #8c8c94; }

.image-code {
  max-width: 100%;
  min-height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid #55555b;
}

.vault-secondary-btn {
  min-height: 44px;
  color: #dce7ff !important;
  background: transparent !important;
  border: 1px solid #4d6ea8 !important;
  border-radius: 9px !important;
  font-size: 12px;
  font-weight: 850;
}

.vault-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 22px;
  padding: 15px 15px;
  color: #a6a6ad;
  background: #303033;
  border: 1px solid #64646a;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.vault-agree input,
.vault-check input {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  accent-color: #1f73d6;
}

.vault-agree a,
.text-link {
  color: #1683ff !important;
  text-decoration: none;
}

.vault-agree a:hover,
.text-link:hover {
  color: #6fb0ff !important;
}

.vault-primary-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff !important;
  background: #185fa9 !important;
  border: 1px solid #185fa9 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 850;
}

.vault-primary-btn:hover {
  background: #2175cc !important;
  border-color: #2175cc !important;
}

.vault-auth-bottom {
  margin: 24px 0 0;
  color: #9a9aa2;
  text-align: center;
  font-size: 13px;
}

.vault-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 22px;
  color: #a5a5ad;
  font-size: 12px;
}

.vault-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #a5a5ad;
}

.divider {
  color: #777982;
  text-align: center;
}

@media (max-width: 560px) {
  .vault-auth-page { padding: 42px 14px 28px; }
  .vault-auth-card { padding: 28px 22px 24px; border-radius: 14px; }
  .vault-auth-top { align-items: flex-start; flex-direction: column; }
}
