#offertong-wechat-login-modal {
    display: none;
}

#offertong-wechat-login-modal.is-active {
    display: block;
}

.offertong-wechat-login-mask {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(15, 23, 42, 0.42);
}

.offertong-wechat-login-box {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99999;
    width: min(340px, calc(100vw - 32px));
    padding: 28px 24px 24px;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
    text-align: center;
}

.offertong-wechat-login-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 24px;
    line-height: 28px;
    cursor: pointer;
}

.offertong-wechat-login-title {
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.offertong-wechat-login-desc {
    margin-top: 6px;
    color: #16a34a;
    font-size: 14px;
}

.offertong-wechat-login-qr-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 232px;
    height: 232px;
    margin: 20px auto 12px;
    border-radius: 10px;
    background: #f8fafc;
}

.offertong-wechat-login-qr-wrap img {
    width: 220px;
    height: 220px;
    display: block;
}

.offertong-wechat-login-loading,
.offertong-wechat-login-error,
.offertong-wechat-login-status {
    color: #64748b;
    font-size: 14px;
}

.offertong-wechat-login-error {
    color: #dc2626;
}



.offertong-wechat-login-entry {
    margin-top: 16px;
    text-align: center;
}

.offertong-wechat-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: #94a3b8;
    font-size: 13px;
}

.offertong-wechat-login-divider::before,
.offertong-wechat-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.offertong-wechat-login-entry-btn {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: #16a34a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.offertong-wechat-login-entry-btn:hover {
    background: #15803d;
}

