Jesus indeed defeated the devil on His cross, and that sealed the ultimate prophecy of Satan's fate to perish in the lake of fire. But Peter in 1 Peter 5:8 showed Satan was not bound, nor cast out of this world yet at the cross.
The KJV...
John 14:30
30 Hereafter I will not talk much with you: for the prince of this world cometh, and hath nothing in Me.
KJV
That "Hereafter" is in the NT manuscripts. It points to after the cross. And indeed, after the cross our Lord Jesus appeared and spoke with His disciples for a short period afterwards. That moves the event of Satan "cometh" to some time after the cross.
The actual time Rev.12:7 forward shows when Satan is cast down to the earth is for the tribulation. The event of Archangel Michael making a "stand" in Daniel 12:1 is in association with that Rev.12:7 war. And what follows in Dan.12:1 is the time of trouble the world has never seen before, nor ever will again, i.e., the tribulation.