Scotland and northern England were battered by driving rain and winds of up to 50mph on Monday as the tail end of hurricane Bertha swept northern Britain.

Stormy conditions are forecast across Scotland, Wales and northern England for the next few days, with amber flood warnings covering large parts of the UK.

The small port town of Lossiemouth in Moray, Scotland, was deluged by more than a month's rainfall in 12 hours by early Monday morning, while Aberdeenshire recorded gusts of 50mph.

Wales and southern England were battered by torrential showers and high winds on Sunday, and it was the turn of northern parts to feel the aftermath of hurricane Bertha on Monday.

The Met Office spokeswoman Laura Young said the UK had already surpassed its monthly average rainfall for August, with 94.8mm falling in six hours in Moray on Monday compared to the average of 81.4mm.

The blustery weather is not expected to improve any time soon, with the effects of Bertha likely to remain in northern parts until Thursday. However, there is still a hope of sunshine in the south-east of England by the end of the week.

"The aftermath of hurricane Bertha is hanging around until Wednesday or Thursday, although the effects will be lessening every day. It will be slightly unsettled for the next few days, but towards the end of the week in London and the east coast there's some really good weather around. It will be slightly cooler but still nice weather," Young said.

She added that there was a "small signal" of better weather – even sunshine – next week, although it was still too early to say where in the UK might benefit from the settled conditions.

That will come as little comfort to rain-lashed Scots, who were warned against hazardous outdoor activities and of localised flooding in the Grampian and Highlands and Islands regions.

The Scottish Environment Protection Agency had around 26 flood warnings in place for central and northern Scotland, meaning immediate action was required to prevent flooding in those areas. A string of less severe flood alerts were in place for Edinburgh and the Scottish borders.

In England and Wales, the Environment Agency had five flood warnings in place for the north-west of England, Wales and the Somerset coast. The rest of England, including the entire east coast, had 30 flood alerts.

North Yorkshire fire and rescue said crews dealt with a number of flooding incidents in the Filey area on Sunday night. Holidaymakers at the Primrose Valley caravan park, in Filey, found themselves at the mercy of torrential downpours that overwhelmed the on-site pumping facilities, before an emergency pump was drafted in from Scarborough. Around 22 properties were affected by flooding in the nearby village of Hunmanby Gap.