/* ============================================================
   微信登录 / 绑定 通用样式
   ============================================================ */

/* 微信按钮（绿色主按钮） */
.wx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border: 1px solid rgba(7, 193, 96, .6);
    border-radius: 10px;
    background: linear-gradient(135deg, #07c160, #06ad56);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease;
}
.wx-btn:hover { filter: brightness(1.08); }
.wx-btn:active { transform: translateY(1px); }
.wx-btn:disabled { opacity: .6; cursor: not-allowed; }
.wx-btn .wx-ico { font-size: 16px; line-height: 1; }
.wx-btn[hidden] { display: none; }

.wx-btn.ghost {
    width: auto;
    padding: 8px 16px;
    background: transparent;
    color: var(--green);
    border: 1px solid rgba(116, 217, 154, .5);
    font-size: 13px;
}
.wx-btn.ghost:hover { background: rgba(7, 193, 96, .12); filter: none; }

/* 「或」分割线 */
.wx-or {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 12px;
    color: var(--text-muted);
    font-size: 12px;
}
.wx-or::before,
.wx-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
.wx-or[hidden] { display: none; }

.wx-tip {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.7;
    text-align: center;
}
.wx-tip[hidden] { display: none; }

/* 微信身份卡 */
.wx-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(7, 193, 96, .38);
    border-radius: var(--radius);
    background: rgba(7, 193, 96, .09);
}
.wx-card .wx-ava {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07c160;
    color: #fff;
    font-size: 20px;
}
.wx-card .wx-who { min-width: 0; }
.wx-card .wx-who b { display: block; font-size: 14.5px; }
.wx-card .wx-who span { font-size: 12px; color: var(--text-muted); }

/* 个人中心：绑定状态行 */
.wx-state {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    background: rgba(0, 0, 0, .12);
}
.wx-state .wx-txt { flex: 1; min-width: 180px; font-size: 13.5px; }
.wx-state .wx-txt small { display: block; margin-top: 3px; color: var(--text-muted); font-size: 12px; }
