@font-face{font-family:Tajawal;src:url('fonts/Tajawal-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Tajawal;src:url('fonts/Tajawal-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Tajawal;src:url('fonts/Tajawal-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Tajawal;src:url('fonts/Tajawal-ExtraBold.ttf') format('truetype');font-weight:800;font-style:normal;font-display:swap}
:root{--bg:#f5f7fa;--ink:#1b3545;--muted:#788894;--brand:#087e82;--border:#e7edf1}
body{font-family:Tajawal,Arial,sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
svg{flex-shrink:0;vertical-align:middle}
aside{width:258px;padding:36px 22px 24px;background:#142d3e;overflow-y:auto}
.brand{gap:12px;font-size:23px;line-height:1.3}
.brand strong{font-weight:800;display:block;white-space:nowrap}
.brand small{display:block;direction:ltr;text-align:start;color:#87a5b6;font:9px/2 Arial,sans-serif;letter-spacing:2.8px;margin-top:4px}
.logo{width:47px;height:47px;display:grid;place-items:center;border-radius:14px;padding:0;background:#0b7f82;color:#d7ffff;box-shadow:0 5px 18px #0002}
.sidebar-caption{font-size:12px;color:#9bb5c4;margin:18px 4px 0}
.nav-label{font-size:10px;letter-spacing:1px;color:#7996a8;margin:42px 16px 14px}
aside nav{margin:0}
aside nav a{display:flex;align-items:center;gap:13px;padding:13px 16px;margin:0 0 8px;color:#b5c8d4;font-weight:500;font-size:15px;border:1px solid transparent}
aside nav a.active{background:#1d4353;color:#fff;border-color:#285866}
aside nav a.active svg{color:#65cfcb}
aside nav a:hover{background:#1c3d4e}
.nav-dot{width:5px;height:5px;background:#7196a8;border-radius:50%;margin-inline-start:auto}
.sidebar-info{margin:44px 3px 25px;border:1px solid #2b485a;border-radius:12px;padding:20px 17px;color:#72cecb;background:linear-gradient(135deg,#20475666,transparent)}
.sidebar-info strong{display:block;font-size:14px;color:#e5edf1;margin-top:12px}
.sidebar-info p{font-size:12px;color:#9cb5c4;line-height:1.9;margin:8px 0 16px}
.version-pill{font-size:10px;color:#a2c1ce;background:#2c4b5b;border-radius:5px;padding:4px 9px;display:inline-block}
.aside-bottom{border-top:1px solid #2b4555;padding-top:20px}
.account{display:flex;align-items:center;gap:12px;min-width:0}
.account>span:last-child{min-width:0}
.account strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eaf2f6}
.account small{color:#8faab9;font-size:11px}
.avatar{background:#d0eae7;color:#186a68;width:37px;height:37px;border-radius:11px;display:grid;place-items:center;font-weight:700;flex-shrink:0}
.aside-bottom .logout-button{display:flex;align-items:center;gap:8px;background:transparent;color:#a4bcc9;font-size:12px;padding:8px 0;margin-top:10px}
main{margin-inline-start:258px;padding:0;max-width:none}
header{padding:0 38px;height:91px;background:#fff;border-bottom:1px solid var(--border);margin:0}
.breadcrumb{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700}
.breadcrumb small{font-size:11px;font-weight:400;margin-top:2px}
.workspace-mark{display:grid;place-items:center;width:38px;height:38px;background:#eef5f6;border-radius:10px;color:#53858b}
.header-actions{display:flex;align-items:center;gap:22px}
.header-date{font-size:12px;color:var(--muted);padding-inline-end:22px;border-inline-end:1px solid var(--border)}
.language-button{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dde6eb;color:#3f5a6b;font-size:13px;padding:7px 13px;border-radius:8px;min-height:39px}
.page-content{max-width:1510px;margin:0 auto;padding:31px 38px 15px}
.heading{margin-bottom:25px}
h1{font-size:29px;line-height:1.4;font-weight:800;margin:5px 0 7px;letter-spacing:-.4px}
h2{font-size:19px;font-weight:700;margin-bottom:18px;line-height:1.5}
.heading p{font-size:14px;margin:0}
.eyebrow{font-size:11px;font-weight:700}
.today-pill{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:20px;font-size:11px;color:#647b88;padding:6px 11px;white-space:nowrap}
.status-dot{display:inline-block;width:6px;height:6px;background:#2b9d89;border-radius:50%}
.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:17px;padding:30px 34px;background:radial-gradient(ellipse at 0 100%,#265563,#163e4e 65%);color:white;display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:232px}
[dir=ltr] .hero{background:radial-gradient(ellipse at 100% 100%,#265563,#163e4e 65%)}
.hero-kicker{color:#a7dcd8;font-size:13px}
.hero h2{font-size:29px;margin:8px 0 10px;font-weight:800;line-height:1.4;letter-spacing:-.3px}
.hero p{font-size:14px;color:#bfced5;margin:0;max-width:530px}
.hero-actions{display:flex;align-items:center;gap:26px;margin-top:23px}
.hero .button{background:#fff;color:#175d65;border:0;font-weight:700;box-shadow:0 3px 6px #0001;font-size:14px;padding:9px 18px}
.hero-link{display:flex;align-items:center;gap:9px;color:#e0eeef;font-size:13px}
.button,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-size:14px;padding:10px 18px;border-radius:8px;line-height:1.6;min-height:41px;font-weight:500}
.directional{transform:none}[dir=rtl] .directional{transform:rotate(180deg)}
.scanner-art{position:relative;width:215px;height:172px;flex-shrink:0;margin-inline:18px;opacity:.95}
.paper{position:absolute;inset-inline-start:41px;top:6px;width:124px;height:143px;background:#e3f1f1;border-radius:8px;padding:50px 17px 12px;transform:rotate(-5deg);box-shadow:0 10px 30px #0e273344}
.paper-back{transform:rotate(10deg);background:#779ea6;top:1px;inset-inline-start:53px}
.paper-badge{position:absolute;top:15px;inset-inline-start:17px;width:28px;height:28px;display:grid;place-items:center;background:#bee1d9;color:#2c8b7c;border-radius:50%}
.paper i{display:block;height:4px;background:#afc9d0;border-radius:3px;margin-bottom:9px}.paper i:nth-of-type(2){width:65%}
.paper-row{display:flex;gap:7px}.paper-row b{width:23px;height:15px;border-radius:3px;background:#bfd4d9}
.scanner-base{position:absolute;bottom:0;inset-inline:12px;background:#85b1b5;height:42px;border-radius:10px;box-shadow:0 10px 20px #0d293a44}
.scanner-base:before{content:'';position:absolute;height:9px;inset-inline:16px;top:9px;background:#244c5c;border-radius:4px}
.scanner-base span{position:absolute;bottom:7px;inset-inline-end:17px;width:5px;height:5px;border-radius:50%;background:#c8f2de}
.scan-line{position:absolute;top:73px;inset-inline:7px;height:2px;background:#80eadb;box-shadow:0 0 18px 4px #4ce6d755;z-index:2}
.art-spark{position:absolute;color:#8bc2c5;font:25px Arial}.spark-one{inset-inline-end:0;top:10px}.spark-two{inset-inline-start:0;bottom:44px;font-size:18px}
.stats{gap:18px;margin:24px 0}
.panel{border-radius:13px;padding:23px;border-color:var(--border);box-shadow:0 3px 5px #15354b02}
.stat-card{position:relative;display:block;color:var(--ink);padding:21px 23px;transition:border-color .15s,transform .15s}
.stat-card:hover{border-color:#abd1cf;transform:translateY(-2px)}
.stat-top{display:flex;align-items:center;gap:11px}
.stat-icon{background:#e8f5f1;color:#298777;width:39px;height:39px;display:grid;place-items:center;border-radius:11px}
.stat-documents .stat-icon{background:#ebf2fd;color:#4e80b9}.stat-pending .stat-icon{background:#fff5de;color:#c19336}.stat-exams .stat-icon{background:#f1edfa;color:#8870b5}
.stat-label{font-size:13px;color:#526b7a;font-weight:500}
.stats strong{font-size:32px;line-height:1.2;margin:19px 0 6px;letter-spacing:-1px;font-weight:800}
.stat-caption{color:#8a99a4;font-size:11px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}
.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}
.panel-heading h2{margin:0 0 3px;font-size:17px}.panel-heading p{font-size:11px;color:var(--muted);margin:0}
.text-link{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;font-weight:700;margin-top:4px}
.mini-icon{background:#f2f6f8;border-radius:9px;padding:7px;color:#73919e}
.recent-panel table{font-size:13px}.recent-panel th{font-size:11px}
.review-donut{width:158px;height:158px;margin:29px auto 25px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#318e80 0 var(--approved),#d77a72 var(--approved) var(--reviewed),#e7bf63 var(--reviewed) 100%)}
.review-donut.no-data{background:#edf2f5}.review-donut>div{width:130px;height:130px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:50%;background:#fff}.review-donut strong{font-size:31px;line-height:1.3;font-weight:800}.review-donut span{font-size:11px;color:var(--muted)}
.legend>div{display:flex;justify-content:space-between;align-items:center;margin:12px 0;font-size:12px}.legend>div>span{display:flex;align-items:center;gap:8px;color:#6c818f}.legend strong{font-size:13px}
.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.legend-dot.approved{background:#318e80}.legend-dot.pending{background:#e7bf63}.legend-dot.rejected{background:#d77a72}
.expiry-summary{display:flex;align-items:center;gap:8px;border-top:1px solid var(--border);padding-top:15px;margin-top:19px;font-size:11px;color:#8a7961}.expiry-summary strong{margin-inline-start:auto;color:var(--ink)}
.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.quick-actions a{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--border);border-radius:11px;color:var(--ink);transition:background .15s}
.quick-actions a:hover{background:#f5faf9;border-color:#c5e1df}.quick-icon{color:#508e91;background:#eff6f6;border-radius:10px;padding:10px;display:flex}
.quick-actions strong{font-size:14px;display:block}.quick-actions small{font-size:10px;line-height:1.7;margin-top:3px}.quick-actions a>svg:last-child{margin-inline-start:auto;color:#91a3ae}
.processing-notice{display:flex;align-items:flex-start;gap:12px;background:#f0f5f7;border-color:#e2e9ed;color:#6b818f;font-size:12px;margin:0 0 14px}
label{font-size:14px;margin-bottom:19px;font-weight:500}input,select,textarea{border-color:#dce5eb;background:#fcfdfe;padding:12px;border-radius:8px;font-family:inherit;font-size:15px;line-height:1.5;transition:border-color .15s;min-height:46px}input:focus,select:focus,textarea:focus{background:#fff;outline:2px solid #a7d9d5;border-color:#73b3b3}input::placeholder{color:#a3b0b9}
th{background:#f7f9fb;border-bottom:1px solid #e9eef2;font-size:12px;padding:13px 12px}td{padding:17px 12px}.badge{padding:4px 9px;line-height:1.5;font-weight:500;font-size:11px}
.empty{height:220px;color:#8b9ca8;white-space:normal;font-size:13px}.recent-panel .empty{height:288px;background:radial-gradient(ellipse,#f8fafb,white 70%)}
.columns{grid-template-columns:minmax(270px,1fr) minmax(0,2fr);gap:22px}.history{font-size:14px}.history strong{font-weight:700}.table-wrap{scrollbar-width:thin}
.login{max-width:450px;margin:40px auto 60px;padding:34px 37px;box-shadow:0 10px 45px #17354b06}
.login-symbol{width:58px;height:58px;background:#e7f4f1;color:#258782;border-radius:17px;display:grid;place-items:center;margin-bottom:23px}.login .eyebrow{display:block}.login h1{font-size:30px;margin:7px 0 10px}.login>.muted{font-size:14px;margin-bottom:27px}.login .full-width{width:100%;margin-top:4px;padding-block:12px;justify-content:space-between}.login-security{display:flex;gap:7px;align-items:flex-start;margin:21px 0 0;line-height:1.8}.login-security svg{margin-top:2px}.guest .sidebar-info{margin-top:auto;margin-bottom:24px}.guest aside{padding-bottom:30px}
footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:23px;margin-top:12px;font-size:11px}.footer-locale{display:flex;align-items:center;gap:8px}
.skip-link{position:absolute;inset-inline-start:290px;top:-100px;background:#fff;padding:12px 18px;z-index:10;border:1px solid var(--brand);border-radius:8px}.skip-link:focus{top:10px}
:focus-visible{outline:2px solid #339c99;outline-offset:4px}.notice.error{font-size:14px}
@media(min-width:1600px){.hero{min-height:250px}.hero h2{font-size:34px}}
@media(max-width:1200px){.page-content{padding:28px 25px 12px}header{padding-inline:25px}.quick-actions{grid-template-columns:1fr}.quick-actions a{padding:13px 17px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 260px}.stats{gap:12px}.stat-card{padding:18px}.stat-top{gap:8px}.stat-label{font-size:12px}.scanner-art{margin-inline:0;transform:scale(.85);width:190px}.hero{padding:25px}.hero h2{font-size:25px}}
@media(max-width:1050px){.columns{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.review-summary .review-donut{margin-block:20px}.review-summary .legend{max-width:330px;margin:auto}.review-summary .expiry-summary{max-width:330px;margin:20px auto 0}.header-date{display:none}.hero h2{font-size:27px}.hero p{max-width:350px}.scanner-art{display:none}.hero{min-height:215px}}
@media(max-width:700px){aside{position:static;width:100%;padding:20px 18px 12px;overflow:visible}.brand{font-size:21px}.brand small{font-size:8px}.logo{width:40px;height:40px}.sidebar-caption,.nav-label,.sidebar-info{display:none}.guest .sidebar-info{display:none}aside nav{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:22px}aside nav a{flex-direction:column;gap:4px;padding:8px 3px;margin:0;font-size:11px;border-radius:9px}aside nav a svg{width:20px;height:20px}.nav-dot{display:none}.aside-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:12px}.aside-bottom .logout-button{margin:0;font-size:10px}.account .avatar{height:27px;width:27px;border-radius:8px;font-size:12px}.account strong{font-size:11px;max-width:180px}.account small{display:none}main{margin:0}.page-content{padding:24px 16px 10px}header{height:72px;padding-inline:16px}.breadcrumb{font-size:12px;gap:8px}.breadcrumb small{font-size:9px}.workspace-mark{width:32px;height:32px}.language-button{font-size:12px;padding:6px 9px;min-height:35px}.language-button svg{width:16px}.heading{flex-direction:row;align-items:center;margin-bottom:20px;gap:8px}.heading h1{font-size:25px}.heading p{font-size:12px}.today-pill{display:none}.hero{padding:24px 22px;min-height:220px;border-radius:13px}.hero h2{font-size:26px}.hero p{font-size:13px;line-height:1.9}.hero-actions{gap:22px}.hero .button{font-size:12px;padding:9px 13px}.hero-link{font-size:12px}.hero-kicker{font-size:12px}.stats{gap:11px;margin:18px 0}.stat-card{padding:17px}.stat-icon{width:31px;height:31px;border-radius:9px}.stat-icon svg{width:18px}.stat-label{font-size:11px}.stats strong{font-size:29px;margin-top:14px}.stat-caption{font-size:10px}.dashboard-grid{gap:0}.panel{padding:20px 17px;margin-bottom:18px}.panel-heading{gap:8px}.panel-heading h2{font-size:16px}.panel-heading p{font-size:10px}.text-link{font-size:11px}.recent-panel .empty{height:180px}.login{margin:20px auto 40px;padding:28px 24px}.login h1{font-size:28px}footer{font-size:10px;gap:20px}.skip-link{inset-inline-start:15px}.processing-notice{font-size:11px;padding:13px}.columns{margin-top:18px}body{font-size:15px}.guest aside{padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
