@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap";:root{font-family:IBM Plex Sans Arabic,Inter,Arial,sans-serif;color:#203247;background:#f4f7fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}.app{min-height:100vh;display:flex;background:#f4f7fb}.sidebar{width:254px;background:#123b5d;color:#d8e5f0;display:flex;flex-direction:column;padding:22px 15px;flex-shrink:0;min-height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 27px;border-bottom:1px solid #ffffff1c}.brand-mark{width:43px;height:43px;border-radius:13px;background:#ffffff19;display:grid;place-items:center;color:#fff}.brand strong{display:block;color:#fff;font-size:14px;font-weight:700}.brand small{display:block;color:#a9bfd1;font-size:11px;margin-top:3px}.mobile-close{display:none}.nav-caption{font-size:11px;color:#8eabc2;padding:24px 12px 10px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav-item{height:43px;border:0;background:transparent;color:#c1d1df;display:flex;align-items:center;gap:12px;padding:0 13px;border-radius:9px;font:500 13px inherit;text-align:start;cursor:pointer;width:100%;font-family:inherit}.nav-item:hover{background:#ffffff12;color:#fff}.nav-item.active{background:#ffffff20;color:#fff;box-shadow:inset 3px 0 #78c1e8}.rtl .nav-item.active{box-shadow:inset -3px 0 #78c1e8}.nav-item span{flex:1}.nav-dot{width:7px;height:7px;background:#ef8a75;border-radius:50%}.sidebar-bottom{margin-top:auto}.secure{background:#ffffff12;border:1px solid #ffffff17;border-radius:10px;padding:12px;display:flex;gap:10px;align-items:center;margin:20px 0 12px;color:#9dd4f0}.secure b{display:block;color:#e9f3fa;font-size:12px}.secure small{font-size:10px;color:#9db5c9}.main{min-width:0;flex:1}.topbar{height:76px;background:#fff;border-bottom:1px solid #e8edf3;display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:18px}.top-left,.top-actions{display:flex;align-items:center;gap:16px}.crumb{font-size:12px;color:#8291a2}.crumb span{margin:0 10px;color:#bdc6d0}.crumb b{color:#263b50;font-weight:600}.top-actions{gap:14px}.searchbox{width:290px;height:39px;border:1px solid #e7edf3;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 11px;color:#8998a8;background:#fafbfd}.searchbox input{border:0;outline:0;background:transparent;width:100%;font:12px inherit;color:#304458;font-family:inherit}.searchbox kbd{font:10px inherit;border:1px solid #e1e7ed;border-radius:4px;padding:2px 5px;color:#9aa7b4;white-space:nowrap}.icon-btn{border:0;background:transparent;color:#74869a;position:relative;display:grid;place-items:center;width:34px;height:34px;cursor:pointer}.icon-btn i{position:absolute;width:6px;height:6px;background:#e77d6b;border:1px solid white;border-radius:50%;top:5px;right:6px}.lang-btn{border:1px solid #e7edf3;background:#fff;border-radius:7px;height:35px;padding:0 9px;display:flex;align-items:center;gap:7px;color:#53677b;font:12px inherit;cursor:pointer;font-family:inherit}.avatar{width:34px;height:34px;border-radius:50%;background:#e3edf5;color:#245577;display:grid;place-items:center;font-weight:700;font-size:13px}.content{padding:27px 34px 18px;max-width:1600px;margin:auto}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.eyebrow{font-size:11px;color:#8a9aab;margin-bottom:5px}.welcome-row h1{font-size:23px;margin:0;color:#1d344a;font-weight:700}.welcome-row p{font-size:12px;color:#8a98a7;margin:5px 0 0}.primary-btn{border:0;background:#23658e;color:#fff;border-radius:8px;height:39px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 12px inherit;font-family:inherit;cursor:pointer;box-shadow:0 3px 8px #1e60851a}.primary-btn:hover{background:#174e73}.primary-btn.small{height:35px}.notice{display:flex;align-items:center;gap:12px;padding:12px 15px;background:#edf6fb;border:1px solid #d9eaf4;border-radius:9px;margin-bottom:19px}.notice-icon{width:33px;height:33px;border-radius:8px;background:#d9edf8;color:#28688e;display:grid;place-items:center}.notice b{font-size:12px;color:#285573}.notice p{font-size:11px;color:#71899a;margin:3px 0 0}.notice p span{margin-inline-start:6px}.demo-tag{margin-inline-start:auto;background:#fff;border:1px solid #dceaf2;color:#47718a;padding:4px 9px;border-radius:20px;font-size:10px;white-space:nowrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid #e9eef3;border-radius:11px;padding:17px 18px 13px;position:relative;min-height:139px}.stat-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center}.blue{background:#e8f3fb;color:#317ca8}.violet{background:#f0edfb;color:#8170bb}.orange{background:#fff3e7;color:#d58a42}.green{background:#e8f6f0;color:#4c9c7c}.stat-change{position:absolute;top:22px;inset-inline-end:17px;font-size:10px;color:#4d9d7c;background:#edf8f2;border-radius:20px;padding:4px 7px}.stat-card p{font-size:11px;color:#8190a0;margin:12px 0 2px}.stat-value{font-family:Inter,IBM Plex Sans Arabic,sans-serif;font-size:23px;font-weight:700;color:#21394f;letter-spacing:-.5px}.stat-value small{font-family:inherit;font-size:11px;color:#718295;font-weight:500}.stat-foot{border-top:1px solid #f0f3f6;margin-top:9px;padding-top:8px;display:flex;gap:6px;font-size:9px;color:#9aa7b4}.stat-foot span:first-child{color:#4d9d7c}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:17px;margin-bottom:17px}.panel{background:#fff;border:1px solid #e9eef3;border-radius:11px;min-width:0}.panel-head{padding:17px 19px 13px;display:flex;align-items:center;justify-content:space-between}.panel-head h2{font-size:14px;margin:0;color:#263c50;font-weight:700}.panel-head p{font-size:10px;color:#96a3b0;margin:4px 0 0}.text-btn{border:0;background:transparent;color:#36799f;font:600 11px inherit;font-family:inherit;display:flex;align-items:center;gap:4px;cursor:pointer}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:start}th{font-size:10px;color:#94a1af;background:#fafbfd;font-weight:600;padding:11px 13px;border-top:1px solid #f0f3f6;border-bottom:1px solid #f0f3f6}td{font-size:11px;color:#4a5d70;padding:12px 13px;border-bottom:1px solid #f1f4f7}tbody tr:last-child td{border-bottom:0}.patient-cell{display:flex;align-items:center;gap:8px}.patient-cell b{font-size:11px;font-weight:600;color:#344b60}.patient-avatar{width:27px;height:27px;border-radius:8px;background:#edf3f8;color:#477b9b;display:grid;place-items:center;font-size:10px;font-weight:700}.muted{color:#91a0ad}.mono{font-family:Inter,monospace;font-size:10px}.status{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:20px;font-size:9px}.status i{width:5px;height:5px;border-radius:50%;background:currentColor}.status.waiting{background:#fff5e8;color:#c58a3f}.status.confirmed{background:#eaf4fb;color:#4383a8}.status.completed{background:#eaf7f0;color:#4b9878}.quick-list{padding:0 17px 14px}.quick-action{width:100%;border:0;border-bottom:1px solid #f0f3f6;background:#fff;display:flex;align-items:center;gap:10px;padding:10px 2px;cursor:pointer;text-align:start;font-family:inherit}.quick-action:last-child{border:0}.quick-icon{width:33px;height:33px;border-radius:8px;display:grid;place-items:center}.quick-action b{font-size:11px;color:#40566a;font-weight:600;flex:1}.quick-arrow{color:#a4b0bb}.quick-action:hover b{color:#23658e}.muted-icon{color:#9cabb8}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:17px}.period,.filter-btn{display:flex;align-items:center;gap:7px;border:1px solid #e8edf2;border-radius:6px;padding:6px 9px;color:#728397;font-size:10px}.chart{height:180px;display:flex;padding:8px 20px 18px 10px}.chart-y{display:flex;flex-direction:column;justify-content:space-between;color:#a5b0bb;font:9px Inter,sans-serif;padding:0 9px 22px 0}.chart-area{position:relative;flex:1}.grid-lines{position:absolute;top:0;right:0;bottom:23px;left:0;display:flex;flex-direction:column;justify-content:space-between}.grid-lines i{border-top:1px dashed #e9eef3}.chart-area svg{position:absolute;top:0;right:0;bottom:23px;left:0;width:100%;height:calc(100% - 23px);overflow:visible}.chart-x{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;color:#a5b0bb;font:9px Inter,sans-serif}.bed-summary{display:flex;align-items:center;justify-content:center;gap:25px;padding:13px 10px 23px}.donut{width:125px;height:125px;border-radius:50%;background:conic-gradient(#3984ad 0,#3984ad 67%,#e9f0f4 67%,#e9f0f4);display:grid;place-items:center;position:relative}.donut:before{content:"";position:absolute;width:91px;height:91px;background:#fff;border-radius:50%}.donut div{z-index:1;text-align:center}.donut b{display:block;font:700 22px Inter,sans-serif;color:#2b536e}.donut small{font-size:9px;color:#91a0ad}.bed-legend{display:flex;flex-direction:column;gap:10px;min-width:105px}.bed-legend div{display:flex;align-items:center;gap:7px;font-size:10px;color:#7e8d9b}.bed-legend b{margin-inline-start:auto;color:#344d61;font:600 11px Inter,sans-serif}.dot{width:7px;height:7px;border-radius:50%}.occupied-dot{background:#3984ad}.available-dot{background:#dce7ed}.bed-legend small{font-size:9px;color:#a0acb8;border-top:1px solid #f0f3f6;padding-top:8px}.patients-page{margin-top:10px}.filter-row{display:flex;gap:10px;padding:0 18px 15px}.inner-search{width:270px;height:35px}.filter-btn{background:#fff;cursor:pointer;font-family:inherit}.empty{text-align:center;padding:25px;color:#9aa7b4;font-size:12px}footer{font-size:10px;color:#a0acb8;text-align:center;padding:23px 0 5px}footer span{margin:0 6px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#142b3e70;z-index:20;display:grid;place-items:center;padding:18px}.modal{width:min(440px,100%);background:#fff;border-radius:13px;padding:22px;box-shadow:0 20px 60px #102d452b}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-head h2{margin:0;font-size:17px;color:#253e53}.modal-head p{margin:4px 0 0;color:#91a0ad;font-size:11px}.modal>label{display:flex;flex-direction:column;gap:6px;color:#53687b;font-size:11px;margin:13px 0}.modal input{height:39px;border:1px solid #e2e9ef;border-radius:7px;padding:0 10px;font:12px inherit;font-family:inherit;outline-color:#70a9c8}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.secondary-btn{height:38px;border:1px solid #e3eaf0;background:#fff;border-radius:7px;padding:0 14px;color:#64778a;font:12px inherit;font-family:inherit;cursor:pointer}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#173e5c;color:#fff;border-radius:8px;padding:11px 17px;font-size:12px;box-shadow:0 8px 25px #14324c30;z-index:30}.mobile-menu{display:none;border:0;background:transparent;color:#456178}.scrim{display:none}.ltr .sidebar{order:0}.ltr .main{order:1}.ltr .nav-item.active{box-shadow:inset 3px 0 #78c1e8}.ltr .stat-value{letter-spacing:-.7px}@media(max-width:1150px){.sidebar{width:220px}.content,.topbar{padding-inline:22px}.searchbox{width:230px}.stats-grid{gap:10px}.stat-card{padding:14px}.dashboard-grid,.bottom-grid{grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr)}}@media(max-width:900px){.sidebar{position:fixed;z-index:25;top:0;bottom:0;inset-inline-start:0;transform:translate(105%);transition:transform .2s;width:265px}.rtl .sidebar{transform:translate(105%)}.ltr .sidebar{transform:translate(-105%)}.sidebar.show,.rtl .sidebar.show,.ltr .sidebar.show{transform:translate(0)}.mobile-close{display:block;margin-inline-start:auto;background:transparent;border:0;color:#fff}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#10283d77;z-index:24}.mobile-menu{display:grid;place-items:center}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.bottom-grid{grid-template-columns:1fr}.quick-list{display:grid;grid-template-columns:1fr 1fr;column-gap:15px}.quick-action:nth-child(3){border-bottom:0}.topbar{height:65px}.crumb{display:none}}@media(max-width:600px){.topbar{padding:0 13px}.top-actions{gap:6px}.top-actions>.searchbox{width:38px;padding:0 10px;border:0;background:transparent}.top-actions>.searchbox input,.top-actions>.searchbox kbd{display:none}.lang-btn{font-size:10px;padding:0 6px}.content{padding:20px 13px}.welcome-row{align-items:flex-start;gap:10px}.welcome-row h1{font-size:18px}.welcome-row p{font-size:10px}.welcome-row>.primary-btn{font-size:0;width:39px;padding:0;flex-shrink:0}.welcome-row>.primary-btn svg{width:19px;height:19px}.stats-grid{gap:9px}.stat-card{min-height:130px;padding:12px}.stat-value{font-size:19px}.stat-change{font-size:9px;top:16px;inset-inline-end:10px}.notice{align-items:flex-start}.notice p span{display:block;margin:3px 0 0}.demo-tag{display:none}.panel-head{padding:14px}.quick-list{grid-template-columns:1fr}.quick-action:nth-child(3){border-bottom:1px solid #f0f3f6}.bed-summary{gap:15px}.filter-row{padding-inline:12px}.inner-search{width:100%}.filter-btn{white-space:nowrap}.table-wrap table{min-width:670px}}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#123b5d,#1d6486)}.auth-card{width:min(420px,100%);background:#fff;border-radius:18px;padding:32px;box-shadow:0 24px 70px #061d3040;display:flex;flex-direction:column;gap:14px}.auth-logo{width:54px;height:54px;border-radius:15px;background:#e8f3fb;color:#23658e;display:grid;place-items:center}.auth-card h1{margin:0;color:#1d344a;font:700 21px Inter,Arial,sans-serif;letter-spacing:.4px}.auth-card p{margin:0 0 8px;color:#8190a0;font-size:12px}.auth-card label{display:flex;flex-direction:column;gap:7px;color:#53687b;font-size:12px}.auth-card input{height:43px;border:1px solid #dfe7ee;border-radius:8px;padding:0 12px;font:14px Arial,sans-serif;outline-color:#70a9c8}.auth-card .primary-btn{width:100%;margin-top:5px}.auth-card small{color:#91a0ad;font-size:10px;line-height:1.7}.auth-error{padding:10px;border-radius:8px;background:#fff0ee;color:#a44336;font-size:11px;line-height:1.6}.modal select,.modal textarea{width:100%;border:1px solid #e2e9ef;border-radius:7px;padding:9px 10px;background:#fff;color:#304458;font:12px inherit;font-family:inherit;outline-color:#70a9c8}.modal textarea{min-height:82px;resize:vertical}.modal input[type=checkbox]{width:18px;height:18px;align-self:flex-start}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;padding:0 18px 18px}.setting-card{border:1px solid #e9eef3;border-radius:9px;padding:16px}.setting-card b{display:block;color:#30485e;font-size:12px}.setting-card p{color:#8190a0;font-size:11px;line-height:1.7;min-height:34px}.donut{background:conic-gradient(#3984ad 0,#3984ad 0%,#e9f0f4 0,#e9f0f4)}.row-action{border:1px solid #dfe8ef;background:#fff;border-radius:6px;padding:5px 8px;margin-inline-end:5px;color:#2c6d91;font:11px inherit;font-family:inherit;cursor:pointer}.row-action.danger{color:#a34b45}.row-action:disabled{opacity:.45;cursor:not-allowed}.permissions-editor{padding:4px 18px 20px}.permission-user-picker{display:flex;flex-direction:column;gap:7px;max-width:520px;color:#53687b;font-size:12px;font-weight:600}.permission-user-picker select{height:40px;border:1px solid #dfe7ee;border-radius:7px;background:#fff;padding:0 11px;color:#30485e;font:13px inherit;font-family:inherit;min-width:260px}.permission-help{margin:13px 0;padding:10px 12px;background:#f3f8fb;border:1px solid #e1edf4;border-radius:7px;color:#648096;font-size:11px}.permission-table{border:1px solid #edf1f5;border-radius:8px}.permission-table table{min-width:560px}.permission-table th,.permission-table td{text-align:center}.permission-table th:first-child,.permission-table td:first-child{text-align:start}.permission-check-cell input{width:18px;height:18px;accent-color:#23658e;cursor:pointer}.permission-check-cell input:disabled{cursor:wait}.permission-actions{display:flex;justify-content:flex-start;margin-top:14px}.role-management-head{border-top:1px solid #edf1f5;margin-top:4px}@media(max-width:600px){.global-search-wrap{width:38px;max-width:none}.global-search-wrap:not(:focus-within)>.searchbox input,.global-search-wrap:not(:focus-within)>.searchbox kbd{display:none}.global-search-wrap>.searchbox{width:38px;padding:0 10px;border:0;background:transparent}.global-search-wrap:focus-within{width:min(250px,62vw);position:absolute;inset-inline-end:105px;top:0}.global-search-wrap:focus-within>.searchbox{width:100%;background:#fff;border:1px solid #dfe7ee}.global-search-wrap:focus-within .searchbox input{display:block}.global-search-wrap:focus-within .searchbox kbd{display:none}.global-search-results{width:min(300px,85vw);inset-inline-end:0;inset-inline-start:auto}}.global-search-wrap{position:relative;width:290px;max-width:38vw;z-index:25}.global-search-wrap>.searchbox{width:100%}.search-clear{border:0;background:transparent;color:#8293a3;display:grid;place-items:center;padding:3px;cursor:pointer}.global-search-results{position:absolute;top:calc(100% + 8px);inset-inline:0;background:#fff;border:1px solid #e4ebf1;border-radius:10px;box-shadow:0 14px 35px #19364d20;overflow:hidden;max-height:390px;overflow-y:auto;z-index:50}.global-search-result{width:100%;display:flex;align-items:center;gap:10px;text-align:start;border:0;border-bottom:1px solid #f0f3f6;background:#fff;padding:11px 12px;color:#718397;cursor:pointer;font-family:inherit}.global-search-result:last-child{border-bottom:0}.global-search-result:hover{background:#f5f9fc}.global-search-result-icon{width:31px;height:31px;flex:0 0 31px;border-radius:8px;background:#edf5fa;color:#34779c;display:grid;place-items:center}.global-search-result-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.global-search-result-copy b{font-size:12px;color:#30495e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search-result-copy small{font-size:10px;color:#8a99a8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search-empty{padding:17px 13px;text-align:center;color:#8b9aa8;font-size:11px;line-height:1.7}@media(max-width:600px){.global-search-wrap{width:38px;max-width:none}.global-search-wrap:focus-within{width:min(250px,62vw);position:absolute;inset-inline-end:105px;top:0}.global-search-wrap:focus-within>.searchbox{width:100%;background:#fff;border:1px solid #dfe7ee}.global-search-wrap:focus-within .searchbox input{display:block}.global-search-wrap:focus-within .searchbox kbd{display:none}.global-search-results{width:min(300px,85vw);inset-inline-end:0;inset-inline-start:auto}}.sidebar-nav{display:flex;flex-direction:column;gap:5px;padding-bottom:12px}.nav-dashboard{margin-bottom:5px}.nav-group{border:1px solid transparent;border-radius:9px;overflow:hidden}.nav-group.expanded{background:#ffffff09;border-color:#ffffff0e}.nav-group-toggle{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:0 13px;border:0;border-radius:8px;background:transparent;color:#a9bdcb;font:600 11px inherit;font-family:inherit;text-align:start;cursor:pointer;transition:background .15s,color .15s}.nav-group-toggle>span{flex:1}.nav-group-toggle:hover,.nav-group-toggle.contains-active{background:#ffffff12;color:#fff}.nav-group-chevron{transition:transform .18s ease;opacity:.75}.nav-group.expanded .nav-group-chevron{transform:rotate(180deg)}.nav-subitems{display:flex;flex-direction:column;gap:2px;padding:3px 7px 7px}.nav-item.nav-subitem{min-height:36px;padding-inline:12px 9px;margin:0 0 0 8px;width:calc(100% - 8px);font-size:10.5px;color:#aabac7;border-radius:7px}.nav-item.nav-subitem svg{width:15px;height:15px;opacity:.88}.nav-item.nav-subitem.active{background:linear-gradient(90deg,#4797c238,#4797c214);color:#fff;box-shadow:inset 3px 0 #78c1e8}.rtl .nav-item.nav-subitem.active{box-shadow:inset -3px 0 #78c1e8}.nav-item.nav-subitem:hover:not(.active){background:#ffffff0e;color:#fff}@media(max-width:900px){.sidebar-nav{padding-bottom:18px}.nav-group-toggle{min-height:44px}.nav-item.nav-subitem{min-height:39px}}.sidebar-nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff35 transparent}.sidebar-nav::-webkit-scrollbar{width:5px}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff35;border-radius:8px}
