SAN JOSE  - A powerful earthquake rocked Costa Rica, rattling buildings, cutting power in areas and triggering a tsunami warning, though there were no immediate reports of casualties. Residents of San Jose said phones went down, electricity poles rattled on the streets and water flowed out of pools after the 7.6-magnitude quake, but Costa Rica President Laura Chinchilla said on her official Twitter account that there are no reports of loss of life or structural damage so far.

The Pacific Tsunami Warning Center issued a warning for Pacific coastlines of Costa Rica, Nicaragua and Panama. It had earlier warned of tsunamis for as far afield as Mexico and Peru. The quake caused some damage to buildings and infrastructure but nothing major, local authorities said. The quake’s epicenter was in western Costa Rica about 87 miles from San Jose, the US Geological Survey (USGS) said, and it was felt as far away as Managua, the capital of neighboring Nicaragua.