Ryan shocked by Brighton manager's sacking