* stable institutions guaranteeing democracy, the rule of law, human rights and respect for and protection of minorities;
* a functioning market economy and the capacity to cope with competition and market forces in the EU;
* the ability to take on and implement effectively the obligations of membership, including adherence to the aims of political, economic and monetary union.
How? There is a well established separate court system in Scotland so I think that part would be fine. But pretty much every other part of government would have to be built from scratch. A foreign office, a home office, immigration, passport office, etc. etc. etc.
Most of these are institutions are based physically in rUK so it’s not like they can be “split”
The formal criteria are that a country is a stable market democracy, other than that accession is really a political matter (see Ukraine and Turkey). Clearly there would be a groundswell of support for incorporating a Scotland fleeing from Brexitland. It would be a coup for the EU.
Sure, but that is politics. Given the overwhelming view of the EU will be to admit Scotland, there would likely be a quid pro quo. Spain would drive its bargaining position to extract concessions from the rest of the union in exchange for its consent.
In 2021, Scotland's GDP per capita was estimated[0] to be about £30,000, or around €35,000 euros. This is hardly poor--even if economic output fell by half on independence, Scotland would still have a higher nominal GDP per capita than many EU members (such as Poland, Romania, and the Baltic States)[1]. I don't know how much independence would affect the economy, but a 50% decrease seems quite harsh.
Its population of around 5 million is comparable to other small EU member states such as Ireland, Slovakia, Finland, and Croatia[2].
I expect some European countries like Spain to firmly oppose them joining the European Union, to send a message to inner regions that may also want independence.
This idea that Scotland is going to vote for independence from the UK and straight into Europe is far fetched.