The Verdict: Need More Info
You remain a Panamanian national whatever happened, because nationality by birth is never lost. What you need to find out is whether the Civil Registry ever suspended your citizenship, and an up-to-date copy of your birth record will show it.
Under the Constitution, Panamanian nationality held by birth is never lost. Renouncing it in writing, or becoming a citizen of another country, only suspends citizenship, which means political rights such as voting and holding office. A suspension takes effect only when the Civil Registry issues a reasoned resolution and notes it on your birth record.
If the record has no annotation, you can simply renew your cédula and passport. If it shows a suspension, the position is less simple. No law sets out how to get suspended political rights back. In past cases the National Assembly restored them by resolution, case by case, and the Supreme Court held in 2012 that such a restoration cannot be backdated.