/* 微信登录模态窗口样式 */
.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.wechat-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wechat-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.wechat-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.wechat-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.wechat-modal-left {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wechat-modal-left h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.wechat-modal-left p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

.wechat-modal-right {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wechat-steps {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
}

.wechat-step {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.wechat-qrcode-box {
    width: 220px;
    height: 220px;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-qrcode-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wechat-code-display {
    text-align: center;
    margin-bottom: 20px;
}

.wechat-code-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.wechat-code-value {
    font-size: 42px;
    font-weight: bold;
    color: #FF6B6B;
    letter-spacing: 8px;
    margin-bottom: 8px;
}

.wechat-code-tip {
    font-size: 14px;
    color: #999;
}

.wechat-status {
    background: #FFF8E1;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #F57C00;
}

.wechat-loading {
    font-size: 18px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .wechat-modal-body {
        grid-template-columns: 1fr;
    }

    .wechat-modal-left {
        padding: 40px 30px;
    }

    .wechat-modal-right {
        padding: 40px 30px;
    }

    .wechat-steps {
        flex-direction: column;
        gap: 10px;
    }
}
