*{box-sizing:border-box}body{margin:0;font-family:Tahoma,Arial,sans-serif;background:#f5f7f8;color:#17202a}.app{min-height:100vh;display:flex;direction:rtl}.sidebar{width:260px;background:#102a2b;color:#e7f3f2;padding:24px 16px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px}.logo{width:42px;height:42px;border-radius:12px;background:#0f766e;display:grid;place-items:center;font-weight:800;font-size:22px}.brand strong,.brand span{display:block}.brand strong{font-size:16px}.brand span{font-size:11px;opacity:.65;letter-spacing:2px;margin-top:3px}.sidebar nav{display:grid;gap:6px}.sidebar button{border:0;background:transparent;color:#c9dddd;text-align:right;padding:12px;border-radius:10px;display:flex;align-items:center;gap:11px;font-size:14px;cursor:pointer}.sidebar button.active,.sidebar button:hover{background:#174849;color:#fff}.clinic{margin-top:auto;border-top:1px solid #2a494a;padding:16px 8px;line-height:1.8;font-size:12px;color:#c9dddd}.clinic small{opacity:.65}main{flex:1;padding:30px;max-width:1500px;margin:auto;width:100%}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}h1,h2,p{margin-top:0}h1{font-size:27px;margin-bottom:6px}header p{color:#748085;font-size:14px}.user{background:#fff;border:1px solid #e4e9ea;padding:9px 16px;border-radius:12px;text-align:center;font-size:13px}.user small{color:#7a8589}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:#fff;border:1px solid #e4e9ea;border-radius:16px;padding:20px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.card svg{grid-row:span 2;color:#0f766e}.card span{color:#6b777b;font-size:13px}.welcome{margin-top:20px;background:linear-gradient(120deg,#e8f5f3,#fff);border:1px solid #d5e8e5;border-radius:18px;padding:25px;display:flex;justify-content:space-between;align-items:center}.welcome h2{font-size:20px;margin-bottom:8px}.welcome p{color:#667579;max-width:720px;line-height:1.8;font-size:14px;margin:0}.badge{background:#fff;border:1px solid #cfe2df;border-radius:20px;padding:8px 14px;color:#0f766e;font-size:12px}.panel{margin-top:20px;background:#fff;border:1px solid #e4e9ea;border-radius:18px;padding:22px}.panel h2{font-size:17px}.status{background:#f6faf9;border-radius:10px;padding:13px;color:#516467;font-size:13px}.status span{display:inline-block;width:8px;height:8px;background:#1aa36f;border-radius:50%;margin-left:7px}@media(max-width:850px){.sidebar{width:76px;padding:18px 10px}.brand div:not(.logo),.sidebar button span,.clinic{display:none}.sidebar button{justify-content:center}.cards{grid-template-columns:repeat(2,1fr)}main{padding:20px}}@media(max-width:520px){.cards{grid-template-columns:1fr}.welcome{display:block}.badge{display:inline-block;margin-top:14px}}.nav-caption{font-size:11px;color:#779494;padding:0 12px;margin-bottom:-17px}.sidebar nav{gap:5px}.sidebar button{width:100%;transition:background .18s}.sidebar button.active{background:#17605d;color:#fff;box-shadow:inset -3px 0 #55c5b3}.clinic{display:flex;align-items:center;gap:10px}header{gap:16px}.heading{flex:1}.header-actions{display:flex;align-items:center;gap:10px}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e9e9;border-radius:11px;padding:10px 12px;color:#829092}.search input{border:0;outline:0;width:190px;font:inherit;font-size:12px;background:transparent}.icon-button,.mobile-menu{border:1px solid #e2e9e9;background:#fff;border-radius:11px;width:40px;height:40px;display:grid;place-items:center;color:#526466;cursor:pointer}.mobile-menu{display:none}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e4f2ef;color:#0f766e;font-weight:700}.user{display:flex;align-items:center;gap:9px;text-align:right}.card{position:relative;grid-template-columns:42px 1fr;column-gap:12px}.card-icon{grid-row:span 3;width:42px;height:42px;border-radius:12px;background:#e9f5f2;color:#0f766e;display:grid;place-items:center}.card strong{font-size:25px}.card small{font-size:10px;color:#9aa5a6}.eyebrow{font-size:11px;color:#0f766e;font-weight:700}.welcome{background:linear-gradient(115deg,#e8f5f2,#fff);min-height:160px}.welcome-mark{width:94px;height:94px;border-radius:28px;background:#0f766e;color:#fff;display:grid;place-items:center;font-size:48px;font-weight:800;opacity:.95}.lower-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin-top:18px}.lower-grid .panel{margin-top:0}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.panel-title h2{margin:0}.panel-title span{font-size:11px;color:#899596}.quick-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-links button,.search-results button{display:flex;align-items:center;gap:9px;border:1px solid #edf0f0;background:#fbfcfc;border-radius:10px;padding:12px;color:#425456;text-align:right;cursor:pointer;font:inherit;font-size:12px}.quick-links button svg:first-child{color:#0f766e}.quick-links button svg:last-child{margin-right:auto;color:#9aa7a7}.status{margin:9px 0;background:#f3faf7;padding:11px;border-radius:9px;font-size:12px;color:#4c6560}.status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#1aa36f;margin-left:7px}.status.pending{background:#f8f9fa;color:#687578}.status.pending i{background:#d4a34d}.security-note{font-size:11px;color:#8a9698;line-height:1.7;margin:14px 0 0}.search-results{position:absolute;z-index:5;left:190px;top:92px;background:#fff;border:1px solid #e4e9ea;border-radius:12px;padding:8px;display:grid;gap:5px;min-width:230px;box-shadow:0 10px 30px #102a2b18}.search-results span{padding:12px;font-size:12px;color:#778}.module-panel{background:#fff;border:1px solid #e4e9ea;border-radius:18px;padding:45px 25px;text-align:center;max-width:760px;margin:35px auto}.module-icon{margin:0 auto 18px;width:64px;height:64px;border-radius:18px;background:#e9f5f2;color:#0f766e;display:grid;place-items:center}.module-panel h2{font-size:22px}.module-panel p{color:#718082;font-size:13px}.coming-soon{background:#f6f9f8;border-radius:12px;padding:18px;color:#617170;font-size:13px;line-height:1.8;margin:20px 0}.primary-button{border:0;border-radius:10px;background:#0f766e;color:#fff;padding:11px 17px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font:inherit}footer{text-align:center;color:#9aa4a5;font-size:10px;padding:25px 0 5px}footer span{padding:0 7px;color:#0f766e}@media(max-width:850px){.header-actions{gap:6px}.search input{width:125px}.lower-grid{grid-template-columns:1fr}.search-results{left:20px;top:90px}}@media(max-width:600px){.mobile-menu{display:grid;flex-shrink:0}.sidebar{position:fixed;z-index:10;right:0;top:0;bottom:0;transform:translate(100%);transition:transform .2s;width:260px}.sidebar.mobile-open{transform:translate(0)}.sidebar.mobile-open .brand div:not(.logo),.sidebar.mobile-open button span,.sidebar.mobile-open .clinic{display:flex}.sidebar.mobile-open button{justify-content:flex-start}.header-actions .search{display:none}.user{padding:5px 8px}.user span{font-size:11px}main{padding:16px}.cards{grid-template-columns:1fr 1fr}.card{padding:14px}.welcome-mark{display:none}.quick-links{grid-template-columns:1fr}}.user-button{font:inherit;cursor:pointer;color:#405456;border:1px solid #e4e9ea}.auth-page{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(circle at 15% 15%,#dff0ec 0,transparent 35%),#f4f7f7;direction:rtl}.auth-card{width:min(100%,430px);background:#fff;border:1px solid #e2e9e8;border-radius:22px;padding:34px;box-shadow:0 18px 55px #173b3a12}.auth-logo{width:55px;height:55px;border-radius:16px;background:#0f766e;color:#fff;display:grid;place-items:center;font-size:28px;font-weight:800;margin-bottom:18px}.auth-kicker{font-size:10px;letter-spacing:2px;color:#0f766e;font-weight:800}.auth-card h1{font-size:25px;margin:12px 0 8px}.auth-card>p{font-size:13px;color:#778587;line-height:1.8;margin-bottom:25px}.auth-label{display:block;font-size:12px;font-weight:700;color:#425455;margin:15px 0 7px}.auth-input{height:47px;border:1px solid #dfe7e6;border-radius:11px;display:flex;align-items:center;gap:10px;padding:0 13px;color:#78908d}.auth-input:focus-within{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e12}.auth-input input{border:0;outline:0;flex:1;min-width:0;font:inherit;font-size:13px;direction:ltr;text-align:left}.auth-submit{width:100%;height:47px;border:0;border-radius:11px;background:#0f766e;color:#fff;font:inherit;font-weight:700;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:22px;cursor:pointer}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-foot{display:flex;align-items:center;justify-content:center;gap:7px;color:#8b9998;font-size:11px;margin-top:20px}.auth-error,.auth-warning{display:flex;align-items:flex-start;gap:8px;padding:11px;border-radius:9px;background:#fff4f1;color:#a34c3c;font-size:12px;line-height:1.7;margin-top:13px}.auth-warning{background:#fff8e9;color:#886b2f}.setup-row{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #e9eeee;border-radius:10px;margin-top:9px}.setup-row code{direction:ltr;text-align:left;color:#0f766e;font-size:12px}.setup-row span{font-size:11px;color:#778}.auth-loading{min-height:100vh;display:grid;place-items:center;color:#567}.employees-page{display:grid;gap:16px}.employees-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff;border:1px solid #e4e9ea;border-radius:15px;padding:16px 18px}.employees-count{display:flex;align-items:center;gap:11px}.employee-count-icon{width:42px;height:42px;border-radius:12px;background:#e9f5f2;color:#0f766e;display:grid;place-items:center}.employees-count strong,.employees-count span{display:block}.employees-count strong{font-size:21px}.employees-count span{font-size:11px;color:#7c898a;margin-top:3px}.employees-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.employee-search{display:flex;align-items:center;gap:8px;background:#f8faf9;border:1px solid #e4eae9;border-radius:10px;padding:10px 12px;color:#7c8b89}.employee-search input{border:0;outline:0;background:transparent;font:inherit;font-size:12px;width:220px}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;border:1px solid #dfe7e5;background:#fff;border-radius:10px;color:#536462;font:inherit;font-size:12px;cursor:pointer}.secondary-button:disabled{opacity:.55;cursor:wait}.employees-page .primary-button{font-size:12px}.employee-table-wrap{overflow-x:auto;background:#fff;border:1px solid #e4e9ea;border-radius:15px}.employee-table{width:100%;border-collapse:collapse;min-width:850px;text-align:right}.employee-table th{background:#f7f9f9;color:#6e7d7d;font-size:11px;font-weight:700;padding:14px 15px;white-space:nowrap}.employee-table td{border-top:1px solid #edf0f0;padding:13px 15px;font-size:12px;color:#465655}.employee-table td strong,.employee-table td small{display:block}.employee-table td small{font-size:10px;color:#8a9695;margin-top:4px}.employee-number{font-weight:700;color:#0f766e!important;direction:ltr;text-align:right}.employee-empty{text-align:center!important;padding:35px!important;color:#84908f!important}.employee-status{display:inline-block;border-radius:20px;padding:5px 9px;font-size:10px;white-space:nowrap}.employee-status.status-active{background:#e8f6ef;color:#16734d}.employee-status.status-other{background:#f1f3f3;color:#697574}.edit-employee{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#0f766e;font:inherit;font-size:11px;cursor:pointer}.employee-footnote{font-size:10px;color:#899594;padding:0 4px}.employee-notice,.employee-error{display:flex;align-items:center;gap:8px;border-radius:10px;padding:11px 13px;font-size:12px}.employee-notice{background:#edf8f2;color:#246b4b}.employee-error{background:#fff2ef;color:#a44b3e;line-height:1.7}.employee-form{background:#fff;border:1px solid #dce8e5;border-radius:15px;padding:20px}.employee-form-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.employee-form-heading h2{font-size:17px;margin:0 0 5px}.employee-form-heading p{font-size:11px;color:#83908f;margin:0}.close-form{border:0;background:#f2f5f4;color:#687775;border-radius:9px;width:34px;height:34px;display:grid;place-items:center;cursor:pointer}.employee-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.employee-fields label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#566563}.employee-fields input,.employee-fields select,.employee-fields textarea{width:100%;min-width:0;border:1px solid #dfe7e5;border-radius:9px;padding:10px 11px;background:#fff;color:#283a38;font:inherit;font-size:12px;outline:0}.employee-fields input:focus,.employee-fields select:focus,.employee-fields textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e12}.employee-notes-field{grid-column:1/-1}.employee-fields textarea{resize:vertical}.employee-form-actions{display:flex;justify-content:flex-start;gap:8px;margin-top:17px;padding-top:15px;border-top:1px solid #edf0ef}@media(max-width:800px){.employees-toolbar{align-items:flex-start;flex-direction:column}.employees-actions{width:100%}.employee-search{flex:1}.employee-search input{width:100%}.employee-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.employee-fields{grid-template-columns:1fr}.employee-notes-field{grid-column:auto}.employees-actions>*{flex:1}.employee-search{flex-basis:100%}}.attendance-page{display:grid;gap:16px}.attendance-summary{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px}.attendance-summary-card,.attendance-date{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e4e9ea;border-radius:14px;padding:15px}.attendance-summary-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#e9f5f2;color:#0f766e}.attendance-summary-card strong,.attendance-summary-card small{display:block}.attendance-summary-card strong{font-size:21px}.attendance-summary-card small{font-size:11px;color:#7c898a;margin-top:3px}.attendance-date{justify-content:space-between;flex-wrap:wrap}.attendance-date strong{font-size:13px}.attendance-date span{font-size:12px;color:#748381;direction:ltr}.attendance-intro{display:flex;justify-content:space-between;align-items:center;padding:5px 2px}.attendance-intro h2{font-size:17px;margin:0 0 6px}.attendance-intro p{font-size:11px;color:#81908e;margin:0}.attendance-live-dot{font-size:10px;color:#0f766e;background:#eaf6f2;padding:7px 10px;border-radius:20px}.attendance-action{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:9px;padding:9px 11px;font:inherit;font-size:11px;cursor:pointer;white-space:nowrap}.attendance-action:disabled{opacity:.55;cursor:wait}.checkin-action{background:#e8f6ef;color:#16734d}.checkout-action{background:#fff2e9;color:#a45c2a}.attendance-footnote{font-size:10px;color:#879391;line-height:1.8;margin:0;padding:0 4px}@media(max-width:850px){.attendance-summary{grid-template-columns:1fr 1fr}.attendance-date{grid-column:1/-1}}@media(max-width:520px){.attendance-summary{grid-template-columns:1fr 1fr}.attendance-summary-card{padding:11px}.attendance-date{gap:8px}.attendance-intro{align-items:flex-start;gap:10px}}.shifts-page{display:grid;gap:16px}.shifts-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #e4e9ea;border-radius:15px;padding:16px 18px}.shifts-panel{margin-top:0}.shifts-panel .panel-title{margin-bottom:14px}.shifts-panel .employee-table{min-width:720px}@media(max-width:650px){.shifts-toolbar{align-items:flex-start;flex-direction:column}.shifts-toolbar .employees-actions{width:100%}.shifts-toolbar .employees-actions button{flex:1}}
