#installAppPopup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 4px solid #FF6934;
    transition: bottom 0.3s ease-in-out;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    /* Assicuriamoci che sia sopra la navigazione mobile */
    margin-bottom: 50px;
}

#installAppPopup.show {
    bottom: 0;
    /* Animazione di pulsazione per attirare l'attenzione */
    animation: pulse 2s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 -2px 10px rgba(255, 105, 52, 0.1);
    }
    50% {
        box-shadow: 0 -5px 20px rgba(255, 105, 52, 0.4);
    }
    100% {
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
}

#installAppPopup .install-content {
    display: flex;
    align-items: center;
}

#installAppPopup .app-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 10px;
    object-fit: cover;
}

#installAppPopup .install-text {
    flex: 1;
}

#installAppPopup h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

#installAppPopup p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

#installAppPopup .install-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

#installAppPopup button {
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
}

#installAppPopup #closeInstallPrompt {
    background-color: #f5f5f5;
    color: #666;
    margin-right: 10px;
}

#installAppPopup #closeInstallPrompt:hover {
    background-color: #e5e5e5;
}

#installAppPopup #installApp {
    background-color: #FF6934;
    color: white;
    box-shadow: 0 2px 5px rgba(255, 105, 52, 0.3);
}

#installAppPopup #installApp:hover {
    background-color: #E55A26;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 105, 52, 0.4);
}