        /* Ventana flotante */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .qr-modal {
            background: white;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            width: 90%;
            max-width: 450px;
            overflow: hidden;
            transform: scale(0.9);
            transition: transform 0.4s ease;
        }
        
        .modal-overlay.active .qr-modal {
            transform: scale(1);
        }
        
        .modal-header {
            background:  #4682B4;
            color: white;
            padding: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;            
        }
        
        .modal-header h2 {
            font-size: 22px;
            font-weight: 500;
            color: white;
        }
        
        .close-modal {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            transition: background 0.3s;
        }
        
        .close-modal:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .modal-body {
            padding: 25px;
        }
        
        .input-group {
            margin-bottom: 20px;
        }
        
        .input-group input {
            width: 100%;
            padding: 14px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .input-group input:focus {
            border-color: #3498db;
            outline: none;
        }
        
        .generate-btn {
            background:  #4682B4 ;
            color: white;
            border: none;
            padding: 14px 25px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            width: 100%;
            transition: opacity 0.3s;
        }
        
        .generate-btn:hover {
            opacity: 0.9;
        }
        
        .qr-result {
            margin: 25px 0;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 10px;
            min-height: 250px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .qr-result img {
            max-width: 100%;
            border-radius: 8px;
        }
        
        .instructions {
            color: #7f8c8d;
            font-size: 14px;
            text-align: center;
            margin-top: 15px;
        }
        
        .drag-handle {
            cursor: move;
            padding: 10px;
            background: rgba(0, 0, 0, 0.05);
            text-align: center;
            font-size: 16px;
            color: #7f8c8d;
        }
        
        @media (max-width: 500px) {
            .qr-modal {
                width: 95%;
            }
            
            h1 {
                font-size: 1.8rem;
            }
        }