.share-qrcode-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.share-qrcode-title {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.share-qrcode-title i {
    color: #3498db;
    margin-right: 10px;
    font-size: 1.4rem;
}

.qrcode-btn {
    background: linear-gradient(to right, #4dabf7, #74c0fc);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.qrcode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.qrcode-btn:active {
    transform: translateY(0);
}

.qrcode-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.qrcode-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qrcode-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.qrcode-modal {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.qrcode-modal-overlay.active .qrcode-modal {
    transform: translateY(0);
}

.qrcode-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.qrcode-modal-title {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 600;
}

.qrcode-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #7f8c8d;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.qrcode-close-btn:hover {
    color: #e74c3c;
}

.qrcode-container {
    text-align: center;
    padding: 15px 0;
}

.qrcode-image-container {
    margin: 15px 0;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcodeImage {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #eee;
    border-radius: 5px;
}

#qrcodeCanvas {
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: white;
}

.qrcode-url {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    word-break: break-all;
    font-size: 0.85rem;
    margin-top: 15px;
    color: #555;
    border: 1px solid #eee;
}

.qrcode-instructions {
    margin-top: 15px;
    color: #7f8c8d;
    font-size: 0.9rem;
    text-align: center;
}

.qrcode-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.qrcode-action-btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    min-width: 120px;
}

.qrcode-action-btn i {
    margin-right: 6px;
}

.qrcode-copy-btn {
    background-color: #3498db;
    color: white;
}

.qrcode-copy-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.qrcode-share-btn {
    background-color: #05c160;
    color: white;
}

.qrcode-share-btn:hover {
    background-color: #2ebf00;
    transform: translateY(-2px);
}

.qrcode-copied {
    background-color: #2980b9 !important;
}

@media (max-width: 768px) {
    .qrcode-modal {
        padding: 20px;
    }
    
    .qrcode-actions {
        flex-direction: column;
    }
    
    .qrcode-action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .qrcode-modal {
        padding: 15px;
    }
    
    .qrcode-image-container {
        min-height: 180px;
    }
    
    #qrcodeImage,
    #qrcodeCanvas {
        max-width: 180px;
        max-height: 180px;
    }
}