/* scan-login.css v2 — WeCom + Douyin + Xiaohongshu */

.scan-login-degraded {
    opacity: 0.5;
    cursor: not-allowed !important;
    background-color: #F5F5F5 !important;
    color: #999 !important;
    pointer-events: none;
}

.auth-tab#wecomTab.active {
    background-color: #07C160;
    color: #ffffff;
}

.auth-tab#douyinTab.active {
    background-color: #000000;
    color: #ffffff;
}

.auth-tab#xiaohongshuTab.active {
    background-color: #FF2442;
    color: #ffffff;
}

.auth-tab#wecomTab:not(.active):not(.scan-login-degraded),
.auth-tab#douyinTab:not(.active):not(.scan-login-degraded),
.auth-tab#xiaohongshuTab:not(.active):not(.scan-login-degraded) {
    background-color: #F5F5F5;
    color: #666666;
}

.qrcode-container {
    width: 200px;
    height: 200px;
    margin: 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.qrcode-container img {
    max-width: 200px;
    max-height: 200px;
}

.qrcode-container canvas {
    width: 200px !important;
    height: 200px !important;
}

.scan-status-text {
    font-size: 13px;
    color: #999999;
    text-align: center;
    margin: 8px 0;
}

.scan-refresh-btn {
    display: none;
    height: 32px;
    line-height: 32px;
    padding: 0 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    margin: 8px auto;
    text-align: center;
}

.scan-refresh-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

#scanLoginSection {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

#scanLoginSection .auth-tab {
    flex: 1;
    text-align: center;
    height: 44px;
    line-height: 44px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    outline: none;
}
