.pan-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.pan-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.pan-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid #eee;
}
.pan-modal-header {
    margin-bottom: 30px;
}
.pan-modal-title {
    font-size: 28px;
    color: #333;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}
.quark-modal .pan-modal-title {
    color: #e53333;
}
.baidu-modal .pan-modal-title {
    color: #2d8cf0;
}
.qrcode-wrap {
    margin-bottom: 30px;
}
.qrcode-img {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border: 8px solid #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}
.pan-modal-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin: 15px 0;
    white-space: nowrap;
    font-weight: 500;
}
.pan-modal-tips {
    background-color: #f7f9ff;
    border-left: 4px solid #2d8cf0;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0 30px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}
.quark-modal .pan-modal-tips {
    border-left-color: #e53333;
    background-color: #fff5f5;
}
.close-modal {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #2d8cf0 0%, #1c7ed6 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}
.quark-modal .close-modal {
    background: linear-gradient(135deg, #e53333 0%, #c92828 100%);
}
.close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}