.login-wrap {
    min-height: 100vh;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    margin-bottom: -90px;
  }
  .login-top {
    height: 200px;
    background: url('/template/static/images/banner-3.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .login-back {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.75);
    color: #111;
    z-index: 5;
    transition: background 0.15s;
  }
  .login-back:hover {
    background: rgba(255,255,255,0.95);
  }
  .login-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(249,249,249,0.3) 0%, rgba(249,249,249,1) 100%);
  }
  .login-top-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #2a6931;
    margin-top: -28px;
  }
  .login-top-text h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
  }
  .login-top-text p {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
  }
  .login-content {
    flex: 1;
    background: #fff;
    border-radius: 20px 20px 0 0;
    margin-top: -28px;
    position: relative;
    z-index: 3;
    padding: 0 22px;

  }
  .login-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
  }
  .login-tab {
    flex: 1;
    text-align: center;
    padding: 18px 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    border: none;
    background: transparent;
    position: relative;
  }
  .login-tab.on {
    color: #2a6931;
    font-weight: 800;
  }
  .login-tab.on::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #2a6931;
  }
  .login-input-group {
    margin-bottom: 16px;
    position: relative;
  }
  .login-input {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    padding: 0 16px 0 48px;
    font-size: 14px;
    color: #111;
    outline: none;
    transition: all 0.3s;
  }
  .login-input:focus {
    border-color: #2a6931;
  }
  .login-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    display: flex;
  }
  .login-icon-right {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    display: flex;
    cursor: pointer;
  }
  .login-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 13px;
    color: #666;
  }
  .login-check-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  .login-check-box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }
  .login-check-box.on {
    border-color: #2a6931;
    background: #2a6931;
  }
  .login-submit {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background: #2a6931;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    border: none;
    cursor: pointer;
  }
  .login-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 32px 0 24px;
    font-size: 12px;
    color: #999;
  }
  .login-divider::before,
  .login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
  }
  .login-wechat {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    font-weight: 600;
  }
  .login-wechat svg {
    width: 24px;
    height: 24px;
    color: #666;
  }
  .login-skip {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #666;
  }
  .login-skip a {
    color: #2a6931;
    font-weight: 800;
    cursor: pointer;
  }
  .login-code-btn {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    font-size: 11px; font-weight: 700; color: #2a6931;
    cursor: pointer; white-space: nowrap;
    padding: 5px 10px; border-radius: 999px;
    background: #edf6ee;
    border: none;
    transition: background 0.15s, color 0.15s, opacity 0.15s;
  }
  .login-code-btn:hover { background: #dcefde; }
  .login-code-btn.disabled,
  .login-code-btn:disabled {
    background: #eef1ed;
    color: #9aa39a;
    cursor: not-allowed;
    opacity: 1;
  }
  .login-code-btn.disabled:hover,
  .login-code-btn:disabled:hover {
    background: #eef1ed;
  }

/* --- Refined Interactions --- */

.login-submit {
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.login-submit:hover {
  background: #1e4f24;
}
.login-submit:active {
  transform: scale(0.98);
}
.login-wechat {
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.login-wechat:hover {
  background: #f9faf7;
  border-color: #d0d5cc;
}
.login-wechat:active {
  transform: scale(0.98);
}
.login-tab {
  transition: color 0.2s ease;
}
.login-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-input:focus {
  border-color: #2a6931;
  box-shadow: 0 0 0 3px rgba(42, 105, 49, 0.08);
}
