/* 二维码模态框样式 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.qr-modal__content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.qr-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-modal__close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
    transform: rotate(90deg);
}

.qr-modal__title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.qr-modal__code-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.qr-modal__code-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    border: 2px dashed #ccc;
}

.qr-modal__code-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: rgba(157, 182, 140, 0.5);
}

.qr-modal__code-placeholder p {
    font-size: 0.9rem;
    text-align: center;
}

.qr-modal__tip {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qr-modal__content {
        padding: 2rem 1.5rem;
    }
    
    .qr-modal__title {
        font-size: 1.5rem;
    }
    
    .qr-modal__code-placeholder {
        width: 180px;
        height: 180px;
    }
}