 /* PWA Installation Popup */
        .pwa-install-popup {
            position: fixed;
            bottom: -100%;
            left: 0;
            right: 0;
            background: #fff;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
            border-radius: 16px 16px 0 0;
            padding: 20px;
            z-index: 9999;
            transition: bottom 0.4s ease-in-out;
            max-width: 100%;
            margin: 0 auto;
        }
        
        .pwa-install-popup.show {
            bottom: 0;
        }
        
        .pwa-popup-content {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .pwa-popup-icon {
            width: 50px;
            height: 50px;
            background: #f0f0f0;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        .pwa-popup-icon i {
            font-size: 24px;
            color: #4a5568;
        }
        
        .pwa-popup-text {
            flex: 1;
        }
        
        .pwa-popup-text h3 {
            margin: 0 0 5px 0;
            font-size: 16px;
            font-weight: 600;
            color: #2d3748;
        }
        
        .pwa-popup-text p {
            margin: 0;
            font-size: 14px;
            color: #718096;
        }
        
        .pwa-popup-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        
        .pwa-install-btn {
            background: #4a90e2;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            flex: 1;
            transition: background 0.2s;
        }
        
        .pwa-install-btn:hover {
            background: #3a7bc8;
        }

        .pwa-install-btn:disabled {
            background: #a0aec0;
            cursor: not-allowed;
        }
        
        .pwa-later-btn {
            background: #e2e8f0;
            color: #4a5568;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            flex: 1;
            transition: background 0.2s;
        }
        
        .pwa-later-btn:hover {
            background: #cbd5e0;
        }
        
        .pwa-close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 18px;
            color: #a0aec0;
            cursor: pointer;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }
        
        .pwa-close-btn:hover {
            background: #f7fafc;
            color: #4a5568;
        }
        
        /* Overlay when popup is shown */
        .pwa-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        
        .pwa-popup-overlay.show {
            opacity: 1;
            visibility: visible;
        }
        
        /* Installation instructions */
        .pwa-instructions {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background: white;
            padding: 25px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            max-width: 90%;
            width: 400px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .pwa-instructions.show {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }
        
        .pwa-instructions h3 {
            margin-top: 0;
            color: #2d3748;
        }
        
        .pwa-instructions p {
            margin-bottom: 15px;
            color: #4a5568;
        }
        
        .pwa-instructions ol {
            padding-left: 20px;
            margin-bottom: 20px;
        }
        
        .pwa-instructions li {
            margin-bottom: 10px;
            color: #4a5568;
        }
        
        .pwa-instructions-close {
            background: #4a90e2;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
        }

        /* Loading state */
        .pwa-loading {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid #ffffff;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 1s ease-in-out infinite;
            margin-right: 8px;
            vertical-align: middle;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Media query for screens less than 1024px */
        @media (min-width: 1025px) {
            .pwa-install-popup {
                display: none;
            }
        }
        @media (max-width: 340px) {
            .pwa-popup-actions{
                flex-direction: column;
            }
        }