@import "https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap";*{box-sizing:border-box}body{color:#152238;background:#f5f7fb;margin:0;font-family:Tajawal,Arial,sans-serif}button,input,select{font:inherit}.app{min-height:100vh}aside{color:#fff;z-index:20;background:#172554;flex-direction:column;width:250px;height:100vh;padding:24px 16px;display:flex;position:fixed;top:0;right:0}.brand{border-bottom:1px solid #ffffff18;align-items:center;gap:12px;padding:0 8px 25px;display:flex}.brand>span{background:linear-gradient(135deg,#14b8a6,#2dd4bf);border-radius:14px;place-items:center;width:45px;height:45px;display:grid}.brand svg{width:26px}.brand div{flex-direction:column;display:flex}.brand b{font-size:17px}.brand small{color:#a7b4d1}nav{gap:7px;padding-top:24px;display:grid}nav button{color:#b7c3dd;cursor:pointer;text-align:right;background:0 0;border:0;border-radius:11px;align-items:center;gap:13px;padding:13px 15px;display:flex}nav button svg{width:20px}nav button:hover,nav button.active{color:#fff;background:#ffffff13}nav button.active{box-shadow:inset -3px 0 #2dd4bf}.asideFoot{border:1px solid #ffffff18;border-radius:13px;align-items:center;gap:10px;margin-top:auto;padding:13px;display:flex}.asideFoot svg{color:#2dd4bf}.asideFoot div{flex-direction:column;display:flex}.asideFoot small{color:#93a4c5}main{min-height:100vh;margin-right:250px}header{z-index:10;background:#fff;border-bottom:1px solid #e7eaf0;justify-content:space-between;align-items:center;height:86px;padding:14px 32px;display:flex;position:sticky;top:0}header h2{margin:0;font-size:20px}header p{color:#8c96a9;margin:4px 0 0;font-size:13px}.headActions{align-items:center;gap:10px;display:flex}.headActions select{background:#fff;border:1px solid #dce2ea;border-radius:10px;padding:9px 12px}.bell,.avatar,.hamb{cursor:pointer;border:0}.bell{background:#f2f5f9;border-radius:12px;width:42px;height:42px;position:relative}.bell svg{width:20px}.bell i{color:#fff;background:#ef4444;border-radius:50%;width:18px;height:18px;font-size:10px;font-style:normal;position:absolute;top:-3px;left:-3px}.avatar{color:#fff;background:#172554;border-radius:50%;width:42px;height:42px;font-weight:700}.hamb{background:#edf1f6;border-radius:10px;width:40px;height:40px;display:none}.content{padding:28px 32px}.welcome{color:#fff;background:linear-gradient(125deg,#172554,#263c75);border-radius:20px;justify-content:space-between;align-items:center;padding:26px 30px;display:flex;box-shadow:0 12px 30px #1725541f}.welcome span{color:#5eead4;font-weight:700}.welcome h1{margin:7px 0 4px;font-size:25px}.welcome p{color:#c7d2e9;margin:0}.primary,.secondary{cursor:pointer;border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:11px 17px;font-weight:700;display:inline-flex}.primary{color:#fff;background:#0f9f8d;box-shadow:0 6px 15px #0f9f8d26}.primary:hover{background:#0b8778}.primary svg,.secondary svg{width:18px}.secondary{color:#334155;background:#edf2f7}.wide{width:100%;margin-top:8px}.stats{grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0;display:grid}.stat{background:#fff;border:1px solid #e5e9f0;border-radius:17px;align-items:center;gap:14px;padding:18px;display:flex}.stat>span{border-radius:14px;place-items:center;width:48px;height:48px;display:grid}.stat svg{width:23px}.stat div{grid-template-columns:auto auto;column-gap:5px;display:grid}.stat small{color:#8490a4;grid-column:1/3}.stat b{font-size:28px}.stat em{color:#a0a8b6;align-self:end;margin-bottom:4px;font-style:normal}.stat.blue>span{color:#2563eb;background:#eaf1ff}.stat.green>span{color:#059669;background:#e5faf3}.stat.orange>span{color:#d97706;background:#fff4dc}.stat.red>span{color:#dc2626;background:#fff0f0}.grid2{grid-template-columns:1.55fr .8fr;gap:18px;display:grid}.panel{background:#fff;border:1px solid #e4e8ef;border-radius:18px;box-shadow:0 5px 15px #24314b0a}.panel.full{padding:23px}.panelHead{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;padding:20px 22px;display:flex}.panelHead h3,.toolbar h3,.panel.full>h3{margin:0}.panelHead button{color:#0f9f8d;cursor:pointer;background:0 0;border:0}.taskList{padding:4px 20px}.task{border-bottom:1px solid #eef1f5;align-items:center;gap:12px;padding:15px 2px;display:flex}.task:last-child{border-bottom:0}.status{color:#64748b;background:#edf1f6;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.status svg{width:20px}.status.مكتملة{color:#059669;background:#e8faf3}.status.قيدالتنفيذ{color:#d97706;background:#fff4dc}.status.متأخرة{color:#dc2626;background:#fff0f0}.task section{flex:1;min-width:190px}.task section>b{margin-bottom:6px;font-size:14px;display:block}.task section div{color:#8993a5;flex-wrap:wrap;gap:15px;font-size:12px;display:flex}.task section div span{align-items:center;gap:4px;display:flex}.task section svg{width:14px}.priority{color:#64748b;background:#eef2f7;border-radius:20px;padding:5px 9px;font-size:11px;font-style:normal}.priority.عالية{color:#dc2626;background:#fff0f0}.task select{color:#475569;background:#fff;border:1px solid #dce2ea;border-radius:9px;padding:7px}.icon{color:#718096;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px}.icon:hover{background:#eff3f7}.icon svg{width:18px}.icon.danger:hover{color:#dc2626;background:#fff0f0}.chart{position:relative}.chartCenter{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.chartCenter b{font-size:30px}.chartCenter span{color:#8893a5}.miniRows{gap:10px;padding:0 25px 22px;display:grid}.miniRows span{color:#667085;align-items:center;gap:8px;display:flex}.miniRows b{margin-right:auto}.miniRows i{border-radius:50%;width:9px;height:9px}.green{background:#14b8a6}.orange{background:#f59e0b}.red{background:#ef4444}.toolbar{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.toolbar p,.panel.full>p{color:#8791a3;margin:5px 0}.toolBtns{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.search{background:#fafbfc;border:1px solid #dce2ea;border-radius:11px;align-items:center;gap:7px;padding:0 11px;display:flex}.search svg{color:#94a3b8;width:18px}.search input{background:0 0;border:0;outline:0;width:210px;padding:10px}.employees{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.employees article{border:1px solid #e3e8ef;border-radius:16px;padding:18px}.photo{color:#fff;background:#0f9f8d;border-radius:15px;place-items:center;width:50px;height:50px;margin-bottom:14px;font-weight:800;display:grid}.p1{background:#6366f1}.p2{background:#f59e0b}.p3{background:#e05675}.p4{background:#0891b2}.employeeTop{justify-content:space-between;display:flex}.employeeTop h4{margin:0}.employeeTop span{color:#8b95a7;font-size:12px}.progress{margin:20px 0}.progress>div{justify-content:space-between;font-size:12px;display:flex}.progress i{background:#edf1f5;border-radius:20px;height:7px;margin-top:8px;display:block;overflow:hidden}.progress em{background:#14b8a6;border-radius:20px;height:100%;display:block}.employees footer{color:#6b7280;border-top:1px solid #eef1f5;gap:20px;padding-top:12px;font-size:12px;display:flex}.timeline{padding-top:10px}.timeline>div{border-bottom:1px solid #eef1f5;gap:13px;padding:14px;display:flex}.timeline>div>span{color:#0f9f8d;background:#e8f9f5;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.timeline svg{width:18px}.timeline section{flex-direction:column;display:flex}.timeline small{color:#8b95a7;margin-top:4px}.settings{gap:18px;display:grid}.settingCards{grid-template-columns:repeat(2,1fr);gap:13px;margin-top:18px;display:grid}.settingCards article,.install{border:1px solid #e3e8ef;border-radius:14px;align-items:center;gap:13px;padding:16px;display:flex}.settingCards article>span,.install>span{color:#0f9f8d;background:#e9f8f5;border-radius:13px;place-items:center;width:44px;height:44px;display:grid}.settingCards article>span svg,.install>span svg{width:22px}.settingCards article>div,.install>div{flex-direction:column;flex:1;display:flex}.settingCards small,.install small{color:#8490a3}.switch input{display:none}.switch i{cursor:pointer;background:#dce2ea;border-radius:30px;width:42px;height:23px;display:block;position:relative}.switch i:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:all .2s;position:absolute;top:3px;right:3px}.switch input:checked+i{background:#14b8a6}.switch input:checked+i:after{right:22px}.hint{background:#fff9e7;border-radius:10px;padding:12px;color:#80600c!important}.row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form{gap:13px;display:grid}.form label,.settings label{flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.form input,.form select,.settings input{background:#fff;border:1px solid #dce2ea;border-radius:10px;outline:none;padding:11px}.form input:focus,.form select:focus{border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a619}.shade{z-index:100;background:#1018289c;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.modal{background:#fff;border-radius:19px;width:min(560px,100%);padding:22px;box-shadow:0 25px 80px #0003}.modalHead{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.modalHead h3{margin:0}.toast{color:#fff;z-index:200;background:#102b26;border-radius:12px;padding:12px 22px;position:fixed;top:20px;left:50%;transform:translate(-50%);box-shadow:0 12px 30px #0002}.empty{text-align:center;color:#8b95a7;padding:45px}.empty svg{color:#c1c9d5;width:40px}@media (max-width:1100px){.stats,.employees{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.task{flex-wrap:wrap}}@media (max-width:760px){aside{width:270px;transition:all .25s;transform:translate(105%);box-shadow:-10px 0 50px #0003}aside.open{transform:translate(0)}main{margin-right:0}header{height:72px;padding:10px 15px}.hamb{place-items:center;display:grid}header>div:nth-child(2){flex:1;margin-right:10px}header p,.headActions select{display:none}.content{padding:16px}.welcome{flex-direction:column;align-items:flex-start;gap:18px;padding:22px}.welcome h1{font-size:21px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{gap:9px;padding:13px}.stat>span{width:39px;height:39px}.stat b{font-size:22px}.stat em{display:none}.panel.full{padding:15px}.toolbar{flex-direction:column;align-items:flex-start;gap:14px}.toolBtns{flex-direction:column;width:100%}.search input{width:100%}.employees,.settingCards,.row{grid-template-columns:1fr}.task{grid-template-columns:auto 1fr auto;display:grid}.task section{min-width:0}.task .priority{display:none}.task select{grid-column:2/4;width:100%}.task .icon{display:none}.install{flex-wrap:wrap;align-items:flex-start}.install button{width:100%}}.authPage{background:radial-gradient(circle at 20% 15%,#ccfbf1 0,#0000 28%),linear-gradient(135deg,#f8fafc,#eaf0f8);place-items:center;min-height:100vh;padding:22px;display:grid}.authCard{background:#fff;border:1px solid #e2e8f0;border-radius:24px;width:min(460px,100%);padding:28px;box-shadow:0 28px 80px #1725541c}.authBrand{align-items:center;gap:14px;margin-bottom:24px;display:flex}.authBrand>span{color:#fff;background:linear-gradient(135deg,#172554,#14b8a6);border-radius:16px;place-items:center;width:54px;height:54px;display:grid}.authBrand svg{width:28px}.authBrand h2{margin:0}.authBrand p{color:#7b8799;margin:4px 0 0}.authTabs{background:#f1f5f9;border-radius:12px;grid-template-columns:1fr 1fr;margin-bottom:20px;padding:4px;display:grid}.authTabs button{cursor:pointer;color:#64748b;background:0 0;border:0;border-radius:9px;padding:10px}.authTabs button.active{color:#172554;background:#fff;font-weight:700;box-shadow:0 2px 8px #0000000d}.authMsg{color:#b91c1c;background:#fff0f0;border-radius:10px;padding:10px;font-size:13px}.authMsg.ok{color:#06765f;background:#eafaf5}.authNote{color:#718096;justify-content:center;align-items:center;gap:6px;margin-top:18px;display:flex}.authNote svg{color:#0f9f8d;width:16px}.roleBadge{color:#087d6e;background:#edf7f5;border-radius:20px;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:700;display:inline-flex}.roleBadge svg{width:17px}.avatar svg{width:18px}.loading{text-align:center;color:#64748b;padding:60px}.splash{color:#172554;background:#f5f7fb;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100vh;display:flex}.splash svg{color:#14b8a6;width:54px;height:54px;animation:1.3s infinite pulse}@keyframes pulse{50%{opacity:.65;transform:scale(1.08)}}

/* Dashboard statistic cards: keep card surfaces white while retaining colored icons. */
.stat.blue,.stat.green,.stat.orange,.stat.red{
  background:#fff;
  color:#152238;
  border-color:#e5e9f0;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}

/* زر إزالة الموظف */
.employeeRemove{display:inline-flex;align-items:center;gap:6px;margin-inline-start:auto;padding:7px 10px;border:1px solid #fecaca;border-radius:9px;background:#fff;color:#b91c1c;font-weight:800;cursor:pointer}.employeeRemove:hover{background:#fef2f2}.employeeRemove svg{width:16px;height:16px}
