/* Public account screens share the original charcoal / antique-gold identity. */
.auth-shell,.register-view .auth-shell{background:#f6f5f1;padding:0 0 44px;min-height:100vh;color:#22292f}
.auth-shell>.container,.register-view .auth-shell>.container{width:min(1120px,calc(100% - 64px))}
.auth-top,.register-view .auth-top{display:flex;min-height:98px;gap:22px;padding:18px 0}
.auth-top .brand-lockup{width:202px;max-height:64px}
.auth-top .back-link{margin-inline-start:auto;font-size:13px;color:#5b656d;font-weight:500;white-space:nowrap}
.auth-top .back-link:before{font-size:18px;margin-left:8px;color:#806331}
.auth-top .language-pill{border:1px solid #e4e2dc;background:transparent;border-radius:7px;font-size:11px;padding:5px 10px;color:#5b656d}
.auth-layout,.register-view .auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:660px;background:#fff;border:1px solid #e4e2dc;border-radius:18px;box-shadow:0 10px 36px #22292f08;overflow:hidden}
.auth-panel,.register-view .auth-panel{min-width:0;min-height:0;border:0;border-radius:0;box-shadow:none;background:#fff;display:flex;flex-direction:column;justify-content:center;padding:42px 48px;margin:0;width:100%;max-width:none}
.register-view .auth-panel{justify-content:flex-start}
.auth-panel h1,.register-view .auth-panel h1{font-size:30px;font-weight:750;line-height:1.5;letter-spacing:0;color:#22292f;margin:0 0 8px}
.auth-panel .sub,.register-view .auth-panel .sub{font-size:14px;line-height:1.9;color:#5b656d;margin:0 0 26px;max-width:420px}
.auth-eyebrow{color:#806331;font-size:11px;font-weight:700;letter-spacing:.04em;margin:0 0 8px}
.auth-panel #authTitle:focus{outline:0}
.auth-panel form,.register-view .auth-panel form{display:grid;gap:16px;width:100%;max-width:none}
.auth-panel .registration-fields,.register-view .registration-fields{gap:16px}
.auth-panel .field{gap:7px}
.auth-panel .field-label,.auth-panel label{color:#2e363d;font-size:13px;font-weight:600;line-height:1.65}
.auth-panel .field-input{display:block}
.auth-panel .field-input input,.register-view .field-input input,.auth-panel .field-input select{width:100%;height:48px;min-height:48px;font-size:15px;border:1px solid #e4e2dc;background:#fff;border-radius:7px;padding:0 43px 0 14px;box-shadow:none;color:#22292f;transition:border-color .15s,box-shadow .15s}
.auth-panel .field-input select{padding-inline:13px 34px;appearance:auto}
.auth-panel #password{padding-left:65px}
.auth-panel input::placeholder{font-size:13px;color:#9a9ea0;font-weight:400;opacity:1}
.auth-panel input[type=email]{direction:ltr;text-align:right}
.auth-panel input:focus,.auth-panel select:focus,.account-tools input:focus,.account-tools select:focus{outline:0;border-color:#ad8b50;box-shadow:0 0 0 3px #ad8b501b}
.auth-panel .field-icon{right:14px;color:#9a9ea0}
.auth-panel .field-icon svg{width:18px;height:18px;stroke-width:1.6}
.auth-panel .password-toggle{height:34px;min-height:34px;padding:5px 7px;border:0;background:transparent;font-size:11px;font-weight:600;color:#5b656d;border-radius:5px;left:8px}
.auth-panel .password-toggle:hover{background:#f6f5f1;color:#22292f}
.auth-panel .auth-options{justify-content:flex-end;margin-top:-2px}
.auth-panel .text-button{font-size:12px;min-height:24px;color:#806331;line-height:1.8;font-weight:600;text-decoration:none;text-underline-offset:3px;padding:0}
.auth-panel .text-button:hover{text-decoration:underline}
.auth-panel .auth-submit,.register-view .auth-submit{height:48px;min-height:48px;font-size:14px;font-weight:700;border:1px solid #22292f;background:#22292f;color:#fff;border-radius:7px;box-shadow:none;margin-top:1px;padding:10px 16px}
.auth-panel .auth-submit:hover{background:#2e363d;border-color:#2e363d}
.auth-panel button:disabled,.account-tools button:disabled{opacity:.55;cursor:wait}
.auth-panel .field-hint{color:#7a838a;line-height:1.8;font-size:11px;margin:-8px 0 0}
.auth-panel .auth-switch,.register-view .auth-switch{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;padding-top:20px;margin-top:22px;border-top:1px solid #efede7;font-size:12px;color:#7a838a}
.auth-panel .auth-switch:before{content:"جديد في أسس عمران؟";font-size:12px;font-weight:400;color:#7a838a}
.register-view .auth-switch:before{content:"لديك حساب بالفعل؟"}
.auth-switch .divider,.register-view .auth-switch .divider{display:none}
.auth-panel .auth-switch button,.register-view #showLogin{width:auto;height:32px;min-height:32px;border:0;padding:4px 2px;background:transparent;box-shadow:none;border-radius:4px;font-size:12px;font-weight:700;color:#806331;text-decoration:none}
.auth-panel .auth-switch button:hover{text-decoration:underline;text-underline-offset:3px}
.auth-panel .auth-security,.register-view .auth-security{margin-top:25px;padding:13px 0 0;border:0;border-top:1px solid #efede7;border-radius:0;background:transparent;gap:10px;align-items:flex-start;font-size:11px;line-height:1.75;color:#7a838a}
.auth-panel .auth-security .icon-round,.register-view .auth-security .icon-round{width:28px;height:30px;min-width:28px;flex-basis:28px;border:0;border-radius:0;background:transparent;margin:0}
.auth-panel .auth-security .icon-round svg{width:23px;height:23px;stroke:#ad8b50;stroke-width:1.6}
.auth-panel .auth-security b,.register-view .auth-security b{font-size:11px;font-weight:600;line-height:1.75;color:#5b656d;margin-bottom:1px}
.auth-panel .account-type-preview{margin:0;background:#f6f5f1;border-color:#e4e2dc;padding:12px;border-radius:7px;line-height:1.8}
.auth-panel .account-type-preview strong{font-size:12px}
.auth-panel .account-type-preview div{gap:5px;margin:7px 0}
.auth-panel .account-type-preview span{border-radius:4px;border-color:#e4e2dc;font-size:10px;padding:1px 6px}
.auth-panel .account-type-preview small{font-size:10px;color:#7a838a}
.auth-promo,.register-view .auth-promo,.auth-promo.register-promo{display:flex;align-items:stretch;justify-content:center;min-width:0;min-height:0;text-align:right;border:0;border-inline-start:1px solid #e4e2dc;border-radius:0;box-shadow:none;padding:36px 40px;background:#efede7}
.auth-promo .promo-brand,.register-view .promo-brand{display:flex;justify-content:center;align-items:center;margin:0 0 28px;min-height:0;background:transparent;border:0}
.auth-promo .promo-brand .brand-lockup{display:block;width:268px;height:auto;max-height:185px;padding:0;border:0;box-shadow:none;filter:none;object-fit:contain;background:transparent}
.auth-promo h2,.register-view .auth-promo h2,.register-promo h2{font-size:29px;line-height:1.6;font-weight:750;letter-spacing:0;width:100%;margin:0 0 12px;color:#22292f}
.auth-promo h2 span,.register-view .auth-promo h2 span{display:block;font-family:inherit;letter-spacing:0;direction:rtl;text-align:right;color:#806331}
.auth-promo p,.register-view .auth-promo p{width:100%;max-width:none;font-size:13px;line-height:2;color:#5b656d;margin:0}
.auth-promo .promo-features,.register-view .promo-features{display:grid;grid-template-columns:1fr;gap:11px;margin:24px 0 0;padding:0;width:100%;border:0;border-radius:0;background:transparent;backdrop-filter:none;color:#2e363d}
.auth-promo .promo-features span,.register-view .promo-features span{display:flex;align-items:center;gap:8px;margin:0;padding:0;text-align:right;font-size:12px;font-weight:500;line-height:1.8;border:0}
.auth-promo .promo-features span:before,.register-view .promo-features span:before{content:"✓";display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;background:#fff;border:1px solid #e8dbc0;border-radius:50%;font-size:10px;line-height:1;margin:0;color:#806331}
.auth-promo .promo-photo,.register-view .promo-photo{display:none}
.auth-product-panel{border:1px solid #d2cfc7;background:#faf9f6;border-radius:10px;margin-top:28px;padding:16px;box-shadow:0 3px 12px #22292f04}
.auth-product-panel .panel-label{font-size:10px;line-height:1.7;color:#96753f;margin-bottom:5px}
.auth-product-panel strong{font-size:12px;font-weight:650;line-height:1.7;color:#2e363d}
.auth-product-panel p{font-size:11px;line-height:1.9;color:#7a838a;margin-top:6px}
.auth-product-panel .panel-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px;padding-top:13px;border-top:1px solid #e4e2dc}
.auth-product-panel .panel-metrics>div{font-size:10px;color:#7a838a}
.auth-product-panel .panel-metrics b{display:block;font-size:15px;color:#2e363d;margin-bottom:2px}
.auth-panel .message,.workspace-panel .message{margin:0;border-radius:7px;font-size:12px;line-height:1.9;word-break:break-word}
.auth-panel .message:not(:empty),.workspace-panel .message:not(:empty){margin:0 0 19px;padding:11px 13px;background:#f6f5f1;border:1px solid #e9c6bf;color:#b4483c}
.auth-panel .message[data-tone=success]:not(:empty),.workspace-panel .message[data-tone=success]:not(:empty){background:#f6f5f1;border-color:#e4e2dc;color:#6b5229}
.auth-panel .account-tools{padding:0;margin:0;max-width:none;border:0;box-shadow:none;border-radius:0;width:100%;background:transparent}
.auth-panel .account-tools form{gap:11px;max-width:none}
.auth-panel .account-tools label{display:grid;gap:8px;font-size:13px}
.auth-panel .account-tools input,.auth-panel .account-tools select{height:48px;min-height:48px;border:1px solid #e4e2dc;background:#fff;border-radius:7px;padding:10px 13px;font-size:15px;width:100%}
.auth-panel .account-tools button.primary{height:48px;min-height:48px;background:#22292f;border:1px solid #22292f;color:#fff;border-radius:7px;font-size:14px;font-weight:650;margin-top:5px}
.auth-panel .account-tools button.primary:hover{background:#2e363d}
.account-tools .recovery-note{font-size:11px;line-height:1.9;color:#7a838a;margin:5px 0 0}
.account-tools .recovery-note:empty{display:none}
.account-tools .recovery-note a{color:#806331;font-weight:600;text-underline-offset:3px}
.account-tools .recovery-back{display:block;background:transparent;border:0;font-size:12px;min-height:30px;color:#806331;text-align:center;padding:7px 0;text-decoration:none;font-weight:600;margin-top:11px;border-radius:4px}
.account-tools .recovery-back:hover{text-decoration:underline;text-underline-offset:3px}
.account-tools .forgot-back{display:none}
.identity-view .auth-shell[data-state=forgot] .forgot-back{display:block}
.auth-panel .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.auth-shell.logged-in{background:#f6f5f1}
.auth-shell.logged-in .workspace-panel{border:1px solid #e4e2dc;border-radius:12px;box-shadow:0 7px 30px #22292f07;color:#22292f}
.workspace-panel .account-tools{border-color:#e4e2dc;box-shadow:none;margin:22px 0 0;max-width:none}
.auth-panel button:focus-visible,.auth-top a:focus-visible,.account-tools a:focus-visible{outline:3px solid #ad8b5073;outline-offset:3px}
.auth-shell [hidden],.auth-panel [hidden],.account-tools [hidden]{display:none!important}
@media(max-width:1000px){.auth-shell>.container,.register-view .auth-shell>.container{width:min(930px,calc(100% - 40px))}.auth-panel,.register-view .auth-panel{padding:36px 32px}.auth-promo,.register-view .auth-promo,.auth-promo.register-promo{padding:32px 28px}.auth-promo h2,.register-view .auth-promo h2{font-size:26px}.auth-promo .promo-brand .brand-lockup{width:235px}}
@media(max-width:800px){.auth-shell>.container,.register-view .auth-shell>.container{width:min(560px,calc(100% - 36px))}.auth-layout,.register-view .auth-layout{grid-template-columns:1fr;min-height:0;border-radius:13px}.auth-panel,.register-view .auth-panel{padding:34px 35px}.auth-promo,.register-view .auth-promo{display:none}.auth-top,.register-view .auth-top{min-height:85px;gap:12px;padding:16px 0}.auth-top .brand-lockup{width:168px;max-height:50px}.auth-top .language-pill{display:none}.auth-top .back-link{font-size:11px}.auth-panel h1,.register-view .auth-panel h1{font-size:28px}.auth-panel .sub,.register-view .auth-panel .sub{font-size:13px}}
@media(max-width:480px){.auth-shell,.register-view .auth-shell{padding-bottom:26px}.auth-shell>.container,.register-view .auth-shell>.container{width:calc(100% - 28px)}.auth-top,.register-view .auth-top{gap:7px;min-height:82px}.auth-top .brand-lockup{width:148px}.auth-top .back-link{font-size:10px}.auth-top .back-link:before{font-size:15px;margin-left:4px}.auth-panel,.register-view .auth-panel{padding:28px 23px}.auth-panel h1,.register-view .auth-panel h1{font-size:26px}.auth-panel .sub,.register-view .auth-panel .sub{margin-bottom:24px}.auth-panel .field-input input,.auth-panel .field-input select,.auth-panel .account-tools input{font-size:16px}.auth-panel .auth-security{margin-top:23px}}
@media(min-width:801px){.auth-panel .registration-fields{grid-template-columns:1fr 1fr}.registration-fields>label:first-child,.registration-fields>.account-type-preview{grid-column:1/-1}.registration-fields input::placeholder{font-size:12px}.register-view .auth-panel{padding-top:34px;padding-bottom:30px}.register-view .auth-panel .sub{margin-bottom:20px}}

.regional-registration{border:0;margin:0;padding:0;display:grid;gap:8px;min-width:0}.regional-registration legend{font-weight:500;margin-bottom:8px}.regional-registration select{width:100%;min-height:46px;font:inherit;border:1px solid #e4e2dc;border-radius:8px;background:#fff;padding:8px 12px}.regional-registration small{color:#5b656d;line-height:1.8}
