/* 官网会员：登录（对齐后台表单结构，保留站点头尾）+ 用户中心 */
.gj-login-section {
  padding: 48px 0 72px;
  background:
    linear-gradient(135deg, rgba(46, 174, 53, 0.06), rgba(255, 139, 51, 0.04)),
    #f5f7f6;
}
.gj-login-wrap {
  display: flex;
  justify-content: center;
}
.gj-login-box {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 32px rgba(0, 18, 107, 0.08);
  width: 100%;
  max-width: 910px;
}
.gj-login-side {
  width: 510px;
  flex-shrink: 0;
  background: #f5f7fa;
  overflow: hidden;
  min-height: 420px;
}
.gj-login-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gj-login-panel {
  width: 400px;
  flex-shrink: 0;
  padding: 0 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.gj-login-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 28px 0 8px;
  min-height: 56px;
}
.gj-login-brand img {
  max-width: 220px;
  max-height: 56px;
  object-fit: contain;
}
.gj-login-brand-text {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}
.gj-login-tabs {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 8px 0 20px;
  border-bottom: 1px solid #f0f0f0;
}
.gj-login-tab {
  appearance: none;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  padding: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #909399;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.gj-login-tab:focus,
.gj-login-tab:focus-visible,
.gj-login-tab:active {
  outline: none;
  box-shadow: none;
  border: 0;
}
.gj-login-tab.is-active {
  color: #303133;
}
.gj-login-tab.is-active:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--site-primary, #2EAE35);
}
.gj-login-form {
  width: 100%;
}
.gj-login-field {
  display: flex;
  align-items: center;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  margin-bottom: 18px;
  background: #fff;
  overflow: hidden;
}
.gj-login-field:focus-within {
  border-color: var(--site-primary, #2EAE35);
}
.gj-login-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  color: #c0c4cc;
  flex-shrink: 0;
}
.gj-login-prefix {
  padding: 0 12px;
  color: #666;
  border-right: 1px solid #e8e8e8;
  line-height: 44px;
  white-space: nowrap;
}
.gj-login-field input {
  flex: 1;
  border: 0;
  background: transparent;
  height: 44px;
  padding: 0 12px 0 0;
  outline: none;
  font-size: 14px;
  min-width: 0;
}
.gj-login-code .gj-login-code-btn {
  flex-shrink: 0;
  border: 0;
  border-left: 1px solid #ebeef5;
  background: transparent;
  color: var(--site-primary, #2EAE35);
  padding: 0 12px;
  height: 44px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  min-width: 100px;
}
.gj-login-code .gj-login-code-btn:disabled {
  color: #aaa;
  cursor: not-allowed;
}
.gj-login-btn {
  display: block;
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--site-primary, #2EAE35) 0%, #1f9a2a 100%);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  line-height: 46px;
  text-decoration: none;
  margin-top: 4px;
}
.gj-login-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.gj-login-btn--ghost {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  line-height: 44px;
}
.gj-login-tip {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 13px;
  color: #999;
  text-align: center;
}
.gj-login-tip.is-err { color: #d93025; }
.gj-login-tip.is-ok { color: var(--site-primary, #2EAE35); }
.gj-login-hint {
  text-align: center;
  color: #999;
  font-size: 13px;
  margin: 14px 0 0;
}
.gj-login-bind-tip {
  text-align: center;
  color: #606266;
  font-size: 14px;
  margin: 0 0 16px;
}
.gj-login-wx {
  padding: 0;
  text-align: center;
  overflow: hidden;
}
.gj-login-wx .gj-login-hint {
  margin-top: 8px;
  margin-bottom: 0;
}
.gj-wx-qr-box {
  width: 100%;
  max-width: 300px;
  height: 220px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.gj-wx-qr-box iframe {
  width: 300px !important;
  height: 220px !important;
  max-width: 100%;
  border: 0 !important;
  display: block;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .gj-login-side {
    display: none;
  }
  .gj-login-box {
    max-width: 420px;
  }
  .gj-login-panel {
    width: 100%;
    padding: 0 28px 28px;
  }
}
@media (max-width: 480px) {
  .gj-login-tabs {
    gap: 12px;
  }
  .gj-login-tab {
    font-size: 15px;
  }
  .gj-login-panel {
    padding: 0 18px 24px;
  }
}

.gj-member-section {
  padding: 36px 0 72px;
  background: #f7f8f9;
}
.gj-member-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.gj-member-side {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  padding: 20px 0;
}
.gj-member-profile {
  text-align: center;
  padding: 8px 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.gj-member-avatar,
.gj-member-avatar-fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  display: block;
}
.gj-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gj-member-avatar-fallback {
  background: var(--site-primary, #2EAE35);
  color: #fff;
  line-height: 64px;
  font-size: 22px;
  text-align: center;
}
.gj-member-avatar-fallback.sm {
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  margin: 0;
  display: inline-block;
}
.gj-member-name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}
.gj-member-uid {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.gj-member-nav {
  padding: 12px 0;
}
.gj-member-nav-item {
  display: block;
  padding: 10px 24px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
}
.gj-member-nav-item:hover,
.gj-member-nav-item.is-active {
  color: var(--site-primary, #2EAE35);
  background: rgba(46, 174, 53, 0.06);
}
.gj-member-nav-item.is-danger {
  color: #c0392b;
  margin-top: 8px;
}
.gj-member-main {
  flex: 1;
  min-width: 0;
}
.gj-member-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  color: #222;
}
.gj-member-card {
  background: #fff;
  padding: 20px 24px;
  margin-bottom: 16px;
  color: #555;
  line-height: 1.7;
}
.gj-member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gj-member-tile {
  display: block;
  background: #fff;
  padding: 22px 18px;
  text-decoration: none;
  color: #333;
  border: 1px solid #eee;
  transition: border-color .15s, box-shadow .15s;
}
.gj-member-tile:hover {
  border-color: var(--site-primary, #2EAE35);
  box-shadow: 0 6px 18px rgba(46, 174, 53, 0.08);
}
.gj-member-tile strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}
.gj-member-tile span {
  font-size: 13px;
  color: #999;
}
.gj-member-empty {
  color: #888;
  padding: 24px 0;
  text-align: center;
}
.gj-member-table {
  margin: 0;
  font-size: 13px;
}

.gj-account-row {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f2f2f2;
}
.gj-account-label {
  width: 100px;
  color: #888;
  flex-shrink: 0;
}
.gj-account-value {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #333;
}
.gj-account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.gj-account-edit {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--site-primary, #2EAE35);
  cursor: pointer;
  font-size: 13px;
}
.gj-account-edit.is-danger {
  color: #c0392b;
}
.gj-account-edit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.gj-account-actions {
  margin-top: 28px;
  max-width: 200px;
}

.gj-modal[hidden] { display: none !important; }
.gj-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gj-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.gj-modal-box {
  position: relative;
  width: 420px;
  max-width: calc(100% - 32px);
  background: #fff;
  padding: 24px;
  z-index: 1;
}
.gj-modal-box h3 {
  margin: 0 0 16px;
  font-size: 18px;
}
.gj-modal-input {
  width: 100%;
  height: 42px;
  border: 1px solid #e5e5e5;
  padding: 0 12px;
  box-sizing: border-box;
}
.gj-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.gj-auth-bar {
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.gj-auth-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.gj-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #888;
  min-width: 0;
  flex: 1;
}
.gj-breadcrumb__link {
  color: #666;
  text-decoration: none;
}
.gj-breadcrumb__link:hover {
  color: var(--site-primary, #2EAE35);
}
.gj-breadcrumb__sep {
  color: #ccc;
  margin: 0 2px;
}
.gj-breadcrumb__current {
  color: #333;
}
.gj-auth-bar__user {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}
.gj-auth-bar a {
  color: #555;
  text-decoration: none;
}
.gj-auth-bar a:hover {
  color: var(--site-primary, #2EAE35);
}

@media (max-width: 991px) {
  .gj-member-layout {
    flex-direction: column;
  }
  .gj-member-side {
    width: 100%;
  }
  .gj-member-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px;
  }
  .gj-member-nav-item {
    padding: 8px 12px;
  }
  .gj-member-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575px) {
  .gj-member-grid {
    grid-template-columns: 1fr;
  }
  .gj-login-card {
    padding: 28px 18px;
  }
}
