Since the Taliban took effective control of Afghanistan in 2021, I've been reading various sources claiming that they are restricting the movements of women and girls in public, but it is unclear if this is via general religio-socio-political pressure or whether they have passed specific statutes governing the movement, employment, school attendance, etc. of women.
Does the Taliban government of Afghanistan have a specific legal code? That is, do local Taliban officials simply make independent decisions on what they think women ought to do in their local areas and enforce these decisions with mob rule, or is there a specific statutory regulatory scheme (e.g. "No woman or girl may be present in any public place for any reason other than a bona-fide medical or safety emergency unless she has a permit issued by the Taliban Council of Gender Relations which shall specify the destinations to which she may travel and the expiration date of said permit. Violation of this statute shall be punishable as a Class 1 Misdemeanor. Subsequent violations shall be punishable as a Class 3 Felony with a mandatory minimum sentence of two years in prison.") that someone can read and truly understand the exact restriction?
I suppose where I am coming from in this question is that Saudi Arabia, another country that is often claimed to be a religious dictatorship, does have a statutory code. Notably, when the rules were changed to permit women to drive, this was done by passing a specific statute rather than convincing local warlords that it was high time to stop oppressing women so much. So, if I were to talk to someone living in Afghanistan today, would they be more likely to say, "I'm holding my daughter back from attending school anymore because I don't want to get beaten up by those guys with guns who don't seem too keen on girls' education." or "I'm holding my daughter back from attending school anymore because I know it is a felony to send a girl to school and I don't want to have to do 3-5 years in prison and then try to get a job again as an ex-con."?
Similarly, do the Taliban have statutes for other common governmental regulations, or are there signs that they are in the process of codifying their rules into a written legal code for the country? For example, if some local man wants to buy a car in Kabul today and drive it around town, is there a specific form he has to fill out to register it with the Taliban government, get license plates, etc., or can he effectively do anything he wants as long as he does not obviously offend the religious and political sensibilities of the Taliban? Similarly, if a physician licensed to practice medicine in Iran wants to set up a practice in Kandahar, is the rule simply that he must not offend the Taliban in doing so or is there a specific Taliban form he has to fill out to transfer his medical license?
Yes, I know that the Taliban are religious fundamentalists and that they claim to make decisions based on their understanding of the teachings of Islam. My question is really whether it is just that - that local officials make whatever decisions they think most aligns with their understanding of the religion or whether there are, or whether there are plans to establish, specific laws on various mundane subjects to guide their citizens in staying out of trouble.
Yes, I know that the Taliban government, considering its origins and current status as newly in power, probably has all sorts of corruption and abuse and it is probably currently unwise for a citizen to attempt to argue with local Taliban warlords on what their statutes really say ("No, there's no Taliban law against X! Stand aside!"). My question is not the presence of corruption in the government, but whether there is a statutory basis at all to what they are doing or if they are simply ruling based on their understanding of religion.
To be clear, the sub-questions I've listed above are not separate questions, but questions that get to the heart of the initial question I am asking. If the answer is "Yes, they have a statutory code, you can get a copy here [link]. The code doesn't have a statutory system for motor vehicle registration, inspection, licensure, etc., so you can drive whatever you'd like as long as you don't obviously offend local officials", then that's the answer.