/* CHHES 登录/注册页 — 保留现网表单 ID 与 JS */
.chhes-passport-page {
  padding: 48px 0 64px;
  background: var(--chhes-bg-primary, #f3f1ec);
  min-height: 60vh;
}

.chhes-passport-page .user-passport-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.chhes-passport-page .user-passport-card {
  border: 1px solid var(--chhes-border, rgba(17, 17, 17, 0.1));
  padding: 32px 28px;
  background: #fff;
  height: 100%;
}

.chhes-passport-page .user-passport-card__title {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.chhes-passport-page .form-group {
  margin-bottom: 16px;
}

.chhes-passport-page .form-control,
.chhes-passport-page .form-select {
  border-radius: 0;
  border-color: var(--chhes-border, rgba(17, 17, 17, 0.15));
  font-size: 14px;
  padding: 10px 12px;
}

.chhes-passport-page .form-control:focus,
.chhes-passport-page .form-select:focus {
  border-color: var(--chhes-text-primary, #111);
  box-shadow: 0 0 0 1px var(--chhes-text-primary, #111);
}

.chhes-passport-page .user-passport-switch {
  border: 0;
  padding: 0;
  background: none;
  color: var(--chhes-text-secondary, #5a5a5a);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 8px;
}

.chhes-passport-page .btn-dark,
.chhes-passport-page .btn.btn-dark {
  border-radius: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px 20px;
  background: var(--chhes-text-primary, #111);
  border-color: var(--chhes-text-primary, #111);
}

.chhes-passport-page .btn-dark:hover {
  background: var(--chhes-accent-hover, #3a3a3a);
  border-color: var(--chhes-accent-hover, #3a3a3a);
}

.chhes-passport-page .btn-outline-dark {
  border-radius: 0;
  font-size: 12px;
}

.chhes-passport-page .form-check-label {
  font-size: 13px;
  line-height: 1.5;
}

.chhes-passport-page .fs-sm.text-reset[href] {
  color: var(--chhes-text-secondary, #5a5a5a);
  text-decoration: underline;
}

.chhes-passport-page .user-passport-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chhes-passport-page #yz_xx .col-6,
.chhes-passport-page #yz_sys .col-6 {
  padding-left: 0;
  padding-right: 6px;
}

.chhes-passport-page .user-passport-columns--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.chhes-passport-page .nav.justify-content-center {
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  margin-bottom: 24px !important;
}

.chhes-passport-page .nav.justify-content-center .nav-link {
  letter-spacing: 0.1em;
  font-size: 12px;
  text-transform: uppercase;
  color: #5a5a5a;
  border-radius: 0;
}

.chhes-passport-page .nav.justify-content-center .nav-link.active {
  color: #111;
  font-weight: 600;
  border-bottom: 2px solid #111;
}

@media (max-width: 767px) {
  .chhes-passport-page .user-passport-columns {
    grid-template-columns: 1fr;
  }

  .chhes-passport-page .user-passport-field-row {
    grid-template-columns: 1fr;
  }
}
