/* Employee ERP v14.9.7 — UAE Workforce Portal. Scoped to executive auth theme only. */
html[dir="rtl"] .login-modern-shell{direction:rtl}
html[dir="ltr"] .login-modern-shell{direction:ltr}
[data-auth-theme="executive"].login-modern-page{min-height:100dvh;background:#020712;color:#fff;overflow-x:hidden}
[data-auth-theme="executive"].login-modern-page .login-modern-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(460px,40%) minmax(0,60%);background:#020712}
[data-auth-theme="executive"].login-modern-page .login-modern-hero{min-height:100dvh;padding:28px clamp(30px,4vw,72px) 24px;display:flex;flex-direction:column;justify-content:flex-start;position:relative;overflow:hidden;background:radial-gradient(circle at 55% 37%,rgba(30,114,255,.23),transparent 20%),radial-gradient(circle at 68% 52%,rgba(0,202,255,.12),transparent 28%),linear-gradient(145deg,#020712 0%,#06152f 58%,#071e48 100%)}
[data-auth-theme="executive"].login-modern-page .login-modern-hero:before{content:"";position:absolute;inset:7% 2% 25%;background:url("world_map_reference_dark.png") center 8%/min(92%,1100px) auto no-repeat;opacity:.66;filter:saturate(1.42) contrast(1.12) brightness(.9) drop-shadow(0 0 25px rgba(30,125,255,.32));pointer-events:none}
[data-auth-theme="executive"].login-modern-page .login-modern-hero:after{content:"";position:absolute;left:-8%;right:-8%;bottom:-14%;height:44%;opacity:.8;background:radial-gradient(ellipse at 52% 18%,rgba(14,92,220,.35),transparent 43%),linear-gradient(to top,rgba(2,7,18,.98),rgba(2,7,18,.15));clip-path:polygon(0 74%,4% 69%,7% 73%,10% 56%,12% 61%,15% 43%,18% 62%,20% 51%,23% 66%,26% 38%,29% 62%,32% 48%,35% 64%,38% 33%,41% 66%,44% 51%,47% 71%,50% 39%,53% 61%,56% 42%,59% 64%,62% 34%,65% 63%,68% 49%,71% 69%,74% 41%,77% 65%,80% 52%,83% 71%,86% 44%,89% 65%,92% 57%,95% 70%,100% 62%,100% 100%,0 100%);pointer-events:none}
[data-auth-theme="executive"] .login-modern-brand{position:relative;z-index:5;display:flex;align-items:center;gap:12px}
[data-auth-theme="executive"] .login-modern-brand img{width:52px!important;height:52px!important;object-fit:contain;filter:drop-shadow(0 0 16px rgba(40,122,255,.35))}
[data-auth-theme="executive"] .login-modern-brand strong{font-size:22px!important;letter-spacing:.2px;color:#fff}
[data-auth-theme="executive"] .login-modern-brand strong span{color:#3c86ff}
[data-auth-theme="executive"] .login-modern-brand small{display:block;margin-top:3px;font-size:11px!important;color:#a8bbd8}
[data-auth-theme="executive"] .login-modern-copy{position:relative;z-index:5;margin-top:clamp(150px,25vh,245px)!important;max-width:680px!important}
[data-auth-theme="executive"] .login-modern-copy:before{content:"UAE WORKFORCE & COMPLIANCE";display:inline-flex;padding:7px 11px;margin-bottom:15px;border:1px solid rgba(77,149,255,.32);border-radius:999px;background:rgba(7,30,69,.58);color:#72adff;font:700 10px/1.1 system-ui;letter-spacing:1.2px;direction:ltr}
html[dir="rtl"] [data-auth-theme="executive"] .login-modern-copy:before{content:"إدارة القوى العاملة والامتثال في الإمارات";letter-spacing:0;font-size:11px;direction:rtl}
[data-auth-theme="executive"] .login-modern-copy h1{max-width:650px;font-size:clamp(40px,4vw,68px)!important;line-height:1.12!important;letter-spacing:-1.5px;margin:0;color:#fff;text-wrap:balance}
[data-auth-theme="executive"] .login-modern-copy h1 span{color:#3e84ff;text-shadow:0 0 24px rgba(45,124,255,.24)}
[data-auth-theme="executive"] .login-modern-copy i{width:44px!important;height:3px!important;margin:18px 0!important;border-radius:99px;background:#3e84ff!important;box-shadow:0 0 18px rgba(62,132,255,.5)}
[data-auth-theme="executive"] .login-modern-copy p{max-width:610px!important;margin:0;color:#c8d7ed!important;font-size:14px!important;line-height:1.95!important}
[data-auth-theme="executive"] .executive-modules{position:relative;z-index:5;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;max-width:720px!important;margin-top:24px!important}
[data-auth-theme="executive"] .executive-modules>div{min-height:70px;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start!important;gap:6px!important;padding:12px 14px!important;border-radius:15px!important;background:linear-gradient(155deg,rgba(10,39,82,.78),rgba(5,23,53,.72))!important;border:1px solid rgba(89,153,247,.22)!important;backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 35px rgba(0,0,0,.12)!important}
[data-auth-theme="executive"] .executive-modules span{font-size:19px!important}[data-auth-theme="executive"] .executive-modules b{font-size:10.5px!important;color:#eef6ff!important;line-height:1.4}
[data-auth-theme="executive"] .auth-live-preview{position:relative;z-index:5;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:720px!important;margin-top:12px!important;border:1px solid rgba(91,151,234,.2)!important;border-radius:14px!important;background:rgba(4,20,46,.70)!important;overflow:hidden!important;backdrop-filter:blur(12px)}
[data-auth-theme="executive"] .auth-live-preview>div{min-height:58px;border:0!important;border-inline-end:1px solid rgba(108,159,224,.16)!important;border-radius:0!important;background:transparent!important;padding:10px 12px!important;text-align:center!important;display:flex!important;flex-direction:column;justify-content:center}
[data-auth-theme="executive"] .auth-live-preview>div:last-child{border-inline-end:0!important}
[data-auth-theme="executive"] .auth-live-preview>div:nth-child(n+5){display:none!important}
[data-auth-theme="executive"] .auth-live-preview span{display:none!important}[data-auth-theme="executive"] .auth-live-preview b{font-size:12px!important;color:#76adff!important}[data-auth-theme="executive"] .auth-live-preview small{margin-top:4px;font-size:9px!important;color:#d1deef!important}
[data-auth-theme="executive"] .executive-trust{position:relative;z-index:5;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:720px!important;margin-top:14px!important}
[data-auth-theme="executive"] .executive-trust>span{min-height:48px;padding:9px 10px;border-radius:12px;background:rgba(4,18,42,.42);border:1px solid rgba(80,136,219,.11);display:grid!important;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;color:#61a4ff!important;font-size:14px!important}
[data-auth-theme="executive"] .executive-trust b{font-size:9.5px!important;color:#eff6ff!important}[data-auth-theme="executive"] .executive-trust small{grid-column:2;font-size:8px!important;color:#8299ba!important}
[data-auth-theme="executive"] .login-modern-network{z-index:3!important;opacity:.24!important}
[data-auth-theme="executive"] .login-modern-hero footer{position:relative;z-index:5;margin-top:auto!important;padding-top:14px;color:#8ea3c1!important;font-size:9px!important}
[data-auth-theme="executive"] .login-modern-form-zone{position:relative;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:80px clamp(24px,4vw,72px) 44px!important;background:radial-gradient(circle at 48% 32%,rgba(37,111,235,.15),transparent 34%),linear-gradient(155deg,#07162f,#020712)!important}
[data-auth-theme="executive"] .login-modern-form-zone:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(92,148,231,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(92,148,231,.035) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,transparent 4%,black 28%,black 76%,transparent 98%);pointer-events:none}
[data-auth-theme="executive"] .login-modern-card{position:relative;z-index:4;width:min(500px,100%)!important;margin:0!important;padding:36px 38px 30px!important;border-radius:24px!important;background:linear-gradient(155deg,rgba(14,38,79,.91),rgba(4,17,42,.96))!important;border:1px solid rgba(126,174,246,.33)!important;box-shadow:0 38px 100px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.02) inset!important;backdrop-filter:blur(24px) saturate(1.16);color:#fff!important}
[data-auth-theme="executive"] .login-modern-card:before{content:"";position:absolute;top:-1px;left:14%;right:14%;height:1px;background:linear-gradient(90deg,transparent,#63a5ff,transparent);box-shadow:0 0 18px rgba(64,139,255,.65)}
[data-auth-theme="executive"] .login-modern-logo{width:62px!important;height:62px!important;margin:0 auto 10px!important;filter:drop-shadow(0 0 15px rgba(42,122,255,.38))}
[data-auth-theme="executive"] .login-modern-heading h2{font-size:27px!important;color:#fff!important;margin:4px 0 6px!important}[data-auth-theme="executive"] .login-modern-heading p{font-size:12px!important;color:#9eb3d1!important;margin:0 0 24px!important}
[data-auth-theme="executive"] .login-modern-form>label{font-size:11px!important;color:#e8f1ff!important;margin-bottom:7px!important}
[data-auth-theme="executive"] .login-modern-input{margin-bottom:17px!important}
[data-auth-theme="executive"] .login-modern-input input{height:50px!important;padding-inline:42px!important;background:rgba(5,23,53,.72)!important;border:1px solid rgba(126,167,226,.31)!important;color:#fff!important;border-radius:10px!important;font-size:13px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
[data-auth-theme="executive"] .login-modern-input input:focus{border-color:#4e94ff!important;box-shadow:0 0 0 3px rgba(54,130,255,.12)!important}
[data-auth-theme="executive"] .login-modern-input input::placeholder{color:#7389aa!important}
[data-auth-theme="executive"] .login-modern-options{font-size:10px!important;color:#becfe6!important;margin:-1px 0 16px!important}[data-auth-theme="executive"] .login-modern-options span{color:#65a4ff!important}
[data-auth-theme="executive"] .login-modern-submit{height:50px!important;border-radius:9px!important;background:linear-gradient(100deg,#145dde,#3188ff)!important;font-size:14px!important;box-shadow:0 12px 32px rgba(23,101,235,.28)!important}
[data-auth-theme="executive"] .login-modern-register{height:48px!important;border:1px solid #3f8bfa!important;color:#dceaff!important;background:rgba(8,32,69,.50)!important;border-radius:9px!important;font-size:11px!important}
[data-auth-theme="executive"] .login-modern-terms{font-size:8.5px!important;color:#6f85a5!important;margin:14px 0 0!important}
[data-auth-theme="executive"] .login-modern-language{z-index:10!important;top:20px!important;inset-inline-start:22px!important;inset-inline-end:auto!important}
[data-auth-theme="executive"] .auth-language-toggle{background:rgba(7,25,55,.88)!important;color:#fff!important;border-color:rgba(110,158,228,.26)!important}

/* Registration wizard — does not change posted field names or backend validation. */
.company-register-page[data-auth-theme="executive"] .cr-form-shell{max-width:980px}
.cr-wizard-progress{display:none}
.company-register-page[data-auth-theme="executive"] .cr-wizard-progress{display:flex;gap:8px;align-items:center;position:sticky;top:0;z-index:18;margin:-2px -2px 20px;padding:14px 2px 12px;background:linear-gradient(to bottom,rgba(255,255,255,.98),rgba(255,255,255,.92),transparent)}
.company-register-page[data-auth-theme="executive"] .cr-wizard-step{flex:1;min-width:0;border:0;background:transparent;padding:0;text-align:center;color:#8190a7;font:700 10px/1.3 system-ui;cursor:pointer}
.company-register-page[data-auth-theme="executive"] .cr-wizard-step:before{content:attr(data-index);display:grid;place-items:center;width:30px;height:30px;margin:0 auto 6px;border-radius:50%;background:#eef3fb;border:1px solid #d9e4f3;color:#64748b;font-size:11px}
.company-register-page[data-auth-theme="executive"] .cr-wizard-step.active{color:#1e5ec8}.company-register-page[data-auth-theme="executive"] .cr-wizard-step.active:before{background:#1767e8;color:#fff;border-color:#1767e8;box-shadow:0 6px 18px rgba(23,103,232,.22)}
.company-register-page[data-auth-theme="executive"] .cr-wizard-step.done:before{content:"✓";background:#e7f8ef;color:#13874d;border-color:#bfead3}
.company-register-page[data-auth-theme="executive"] .cr-section[data-wizard-step]{display:none;animation:erpWizardIn .28s ease both}.company-register-page[data-auth-theme="executive"] .cr-section[data-wizard-step].active{display:block}
.cr-review-card{display:none}.company-register-page[data-auth-theme="executive"] .cr-review-card.active{display:block}
.cr-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cr-review-item{padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fbff}.cr-review-item small{display:block;color:#718096;font-size:10px;margin-bottom:4px}.cr-review-item b{display:block;color:#16243a;font-size:12px;overflow-wrap:anywhere}
.cr-wizard-nav{display:none}.company-register-page[data-auth-theme="executive"] .cr-wizard-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.cr-wizard-nav button{min-width:120px;height:44px;border-radius:10px;border:1px solid #d9e3f0;background:#fff;color:#183252;font-weight:800;cursor:pointer}.cr-wizard-nav .next{background:#1767e8;border-color:#1767e8;color:#fff}.cr-wizard-nav button[hidden]{display:none}
.company-register-page[data-auth-theme="executive"] .cr-submit{display:none}.company-register-page[data-auth-theme="executive"] .cr-review-card.active~.cr-submit{display:flex}
@keyframes erpWizardIn{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:none}}

/* UAE compliance center */
.uae-compliance-hero{position:relative;overflow:hidden;padding:24px;border-radius:20px;background:linear-gradient(135deg,#071a3b,#0a2f66);color:#fff;border:1px solid rgba(88,151,240,.24);box-shadow:0 18px 45px rgba(5,25,58,.12)}
.uae-compliance-hero:after{content:"";position:absolute;inset:0 0 0 44%;background:url("world_map_3d.svg") center/cover no-repeat;opacity:.13;pointer-events:none}.uae-compliance-hero>*{position:relative;z-index:1}.uae-compliance-hero h1{margin:0 0 8px;font-size:26px}.uae-compliance-hero p{margin:0;max-width:760px;color:#c9daf3}.uae-ready-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.uae-ready-chips span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-size:11px}
.compliance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.compliance-card{padding:16px;border-radius:16px;background:var(--card-bg,#fff);border:1px solid var(--border,#e5e7eb);box-shadow:0 10px 28px rgba(15,23,42,.05)}.compliance-card .ico{font-size:20px}.compliance-card small{display:block;margin:8px 0 4px;color:var(--muted,#64748b)}.compliance-card strong{font-size:24px}.compliance-card .meta{font-size:10px;margin-top:6px}.compliance-card.good strong{color:#138a52}.compliance-card.warn strong{color:#cc7a00}.compliance-card.bad strong{color:#d92d4f}
.compliance-two{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.readiness-meter{height:12px;border-radius:999px;background:#e8eef7;overflow:hidden}.readiness-meter>i{display:block;height:100%;background:linear-gradient(90deg,#1d67df,#33a2ff);border-radius:inherit}.compliance-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
@media(max-width:1200px){[data-auth-theme="executive"].login-modern-page .login-modern-shell{grid-template-columns:minmax(420px,44%) minmax(0,56%)}[data-auth-theme="executive"] .login-modern-copy{margin-top:130px!important}[data-auth-theme="executive"] .executive-trust{display:none!important}.compliance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){[data-auth-theme="executive"].login-modern-page .login-modern-shell{display:block!important}[data-auth-theme="executive"].login-modern-page .login-modern-hero{display:none!important}[data-auth-theme="executive"].login-modern-page .login-modern-form-zone{min-height:100dvh;padding:76px 18px 28px!important}[data-auth-theme="executive"] .login-modern-card{max-width:520px!important}.compliance-two{grid-template-columns:1fr}}
@media(max-width:680px){.cr-wizard-step span{display:none}.cr-review-grid,.compliance-grid{grid-template-columns:1fr}.uae-compliance-hero{padding:18px}.uae-compliance-hero h1{font-size:21px}}
