:root{--bg: #f4f6fb;--panel: #ffffff;--line: #e9edf5;--muted: #64748b;--text: #101828;--primary: #0f6dff;--primary-soft: #e9f1ff;--success: #14b86b;--warning: #f59e0b;--danger: #ef4444;--shadow: 0 18px 50px rgba(15, 23, 42, .08)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;font-family:Cairo,Inter,sans-serif;background:var(--bg);color:var(--text);direction:rtl}body{text-align:right}button,input,select{font:inherit}button{cursor:pointer}a{text-decoration:none}.page-shell{min-height:100vh;padding:24px}.topbar{max-width:1600px;margin:0 auto 20px;background:#fff;border:1px solid var(--line);border-radius:16px;display:flex;justify-content:space-between;align-items:center;padding:18px 20px;box-shadow:var(--shadow)}.brand{display:flex;align-items:center;gap:12px;font-weight:800}.brand-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#173c8d,#4d8ef7);display:grid;place-items:center;color:#fff}.nav{display:flex;gap:12px;flex-wrap:wrap}.nav-link{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:10px;padding:10px 14px;font-weight:600}.nav-link.active{background:var(--primary-soft);color:var(--primary);border-color:transparent}.full-layout{max-width:1600px;margin:0 auto;display:flex;flex-direction:column;gap:24px}.list-panel,.form-panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.list-panel{width:100%;padding:20px}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-header h3{margin:0;font-size:1.4rem}.table-wrap{overflow-x:auto}table{width:100%;min-width:1600px;border-collapse:collapse}thead th{text-align:right;color:var(--muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;padding:10px 12px;white-space:nowrap}tbody tr{border-top:1px solid var(--line)}tbody tr.selected{background:#f8fbff}tbody td{padding:12px;vertical-align:middle;text-align:right;white-space:nowrap}.employee-cell{display:flex;align-items:center;justify-content:flex-end;gap:10px}.employee-link{color:var(--primary);font-weight:700}.mini-avatar{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#eff6ff);color:var(--primary);font-size:.7rem;font-weight:800}.actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.form-panel{padding:22px}.form-panel h4{margin-top:0;margin-bottom:16px;font-size:1.1rem}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px}label{display:flex;flex-direction:column;gap:8px;font-size:.9rem;color:var(--muted)}input,select{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 12px;color:var(--text);text-align:right}input:focus,select:focus{outline:none;border-color:#0f6dff73;box-shadow:0 0 0 4px #0f6dff14}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.primary,.secondary,.small-btn{border:none;border-radius:10px;padding:10px 14px;font-weight:700}.primary{background:var(--primary);color:#fff}.secondary{background:#eef2ff;color:#1d4ed8}.small-btn{background:#eef5ff;color:var(--primary);padding:7px 10px;font-size:.8rem}.small-btn.danger{background:#ffeaea;color:var(--danger)}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;font-weight:700;text-transform:capitalize;font-size:.85rem}.status-pill.valid{background:#ebfff4;color:var(--success)}.status-pill.pending{background:#fff7df;color:var(--warning)}.status-pill.expired{background:#ffeaea;color:var(--danger)}@media (max-width: 980px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.page-shell{padding:12px}.topbar{flex-direction:column;align-items:flex-start;gap:10px}.panel-header{flex-direction:column;align-items:flex-start;gap:12px}.form-grid{grid-template-columns:1fr}}.partner-footer{margin-top:24px;padding:18px 24px;background:#fff;border-top:1px solid var(--line)}.internal-record-notice{margin:0 0 16px;text-align:center;color:var(--muted);font-size:.85rem;font-weight:700}.partner-logos{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:28px}.partner-logos img{display:block;width:auto;max-width:150px;height:48px;object-fit:contain}@media (max-width: 640px){.partner-logos{gap:18px}.partner-logos img{max-width:120px;height:40px}}.employee-details-page{min-height:100vh;padding:46px 0 0;background:#f0f1f2;color:#17212b;font-family:Cairo,sans-serif}.ajeer-site-layout{min-height:100vh;display:flex;flex-direction:column;background:#f0f1f2;color:#17212b;font-family:Cairo,sans-serif}.site-header{flex:0 0 auto;background:#fff;border-bottom:1px solid #e5e7e8}.site-header__inner{width:min(100%,1440px);min-height:52px;margin:0 auto;padding:4px 24px;display:flex;align-items:center;justify-content:space-between;direction:ltr}.site-header--verification .site-header__inner{min-height:68px}.site-header--verification .site-header__brand{order:2}.site-header--verification .site-header__ministry{order:1}.site-header__brand,.site-header__ministry{display:inline-flex;align-items:center}.site-header__brand img{display:block;width:52px;height:42px;object-fit:contain}.site-header__ministry img{display:block;width:auto;max-width:116px;height:42px;object-fit:contain}.site-content{flex:1 0 auto}.site-footer{flex:0 0 auto;background:#fff;border-top:1px solid #e5e7e8}.site-footer__inner{width:min(100%,1440px);margin:0 auto;padding:24px;display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);align-items:center;gap:28px}.site-footer__links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.site-footer__group{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;color:#17212b}.site-footer__group h2{margin:0 0 4px;font-size:15px;font-weight:700}.site-footer__group a{color:#52616a;font-size:13px;overflow-wrap:anywhere}.site-footer__group a:hover{color:#174b81;text-decoration:underline}.site-footer__contact a:first-of-type{display:inline-flex;align-items:center;gap:8px}.site-footer__social-icon{width:16px;height:16px;object-fit:contain}.site-footer__partners{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px}.site-footer__partner-logos{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px}.site-footer__partner-logos img,.site-footer__digital-stamp img{display:block;width:auto;max-width:82px;height:38px;object-fit:contain}.employee-details-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;min-height:70px;padding:12px 4%;background:#fff;border-bottom:1px solid #ddd}.employee-details-header{color:#17212b}.employee-details-header-brand{display:inline-flex;align-items:center;gap:10px;font-weight:700}.employee-details-header-mark{display:grid;place-items:center;width:34px;aspect-ratio:1;border:1px solid #9db5aa;color:#315d4d;font-weight:800}.employee-details-header-label{color:#52616a;font-size:13px}.employee-details-notice{width:min(900px,calc(100% - 28px));margin:16px auto 0;padding:9px;text-align:center;background:#fff5d6;border:1px solid #e6d79e;color:#5b4b17;font-size:13px}.employee-details-card{width:min(1080px,calc(100% - 32px));margin:0 auto 42px;padding:28px 20px;background:#fff}.employee-details-title{display:grid;grid-template-columns:22% 48% 30%;align-items:center;min-height:126px;border:1px solid #cbd2d6;direction:ltr}.employee-details-title>*{height:100%;box-sizing:border-box}.employee-details-status,.employee-details-title-label{direction:rtl;text-align:center}.employee-details-status{display:grid;place-items:center;border-right:1px solid #cbd2d6;color:#18764b;font-weight:700}.employee-details-status.pending{color:#a36a00}.employee-details-status.expired{color:#b42318}.employee-details-title h1{display:grid;place-items:center;margin:0;padding:12px;border-right:1px solid #cbd2d6;text-align:center;font-size:25px}.employee-details-title-branding{display:flex;align-items:center;justify-content:center;gap:20px;direction:rtl}.employee-details-title-branding .site-header__brand img{width:75px;height:68px}.employee-details-title-branding .site-header__ministry img{max-width:108px;height:68px}.employee-details-verification{min-height:134px;display:grid;place-items:center;text-align:center;font-size:18px}.employee-details-verification p{margin:0}.employee-details-summary{margin:24px 0;text-align:center}.employee-qr-page{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px;padding:24px;background:#f0f1f2}.employee-qr-name{color:#0d5bd7;font-size:1.4rem;font-weight:700;text-align:center;text-decoration:underline;text-underline-offset:.18em;overflow-wrap:anywhere;cursor:pointer}.employee-qr-name:hover{color:#093e94}.employee-qr-name:focus-visible{outline:2px solid #0d5bd7;outline-offset:4px}.employee-qr-page svg{display:block;width:min(240px,68vw);height:auto;background:#fff;outline:1px solid #cbd2d6}.employee-details-group{margin-top:16px;border:1px solid #cbd2d6}.employee-details-verification+.employee-details-group{margin-top:0}.employee-details-group h2{margin:0;padding:8px;background:#e8eeee;text-align:center;font-size:16px}.employee-details-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:1px;background:#cbd2d6}.employee-details-label,.employee-details-value{display:flex;align-items:center;min-width:0;min-height:42px;padding:8px 10px;overflow-wrap:anywhere}.employee-details-label{background:#e8eeee;color:#52616a}.employee-details-value{background:#fff}.employee-details-footer{justify-content:center;border-top:1px solid #ddd}.employee-details-footer img{width:auto;max-width:140px;height:40px;object-fit:contain}@media (max-width: 760px){.site-footer__inner{grid-template-columns:1fr;padding:20px 16px}.site-footer__links{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer__partners{justify-content:flex-start}}@media (max-width: 600px){.site-header__inner{min-height:48px;padding:4px 14px}.site-header__brand img{width:46px;height:38px}.site-header__ministry img{max-width:104px;height:38px}.site-header--verification .site-header__inner{min-height:52px}.employee-details-card{padding:12px}.employee-details-title{grid-template-columns:1fr}.employee-details-title>*{min-height:66px}.employee-details-status,.employee-details-title h1{border-right:0;border-bottom:1px solid #cbd2d6}.employee-details-title h1{font-size:21px}.employee-details-title-branding{gap:12px}.employee-details-title-branding .site-header__brand img,.employee-details-title-branding .site-header__ministry img{height:52px}.employee-details-grid{grid-template-columns:1fr}.employee-details-footer img{max-width:110px;height:34px}.site-footer__links{gap:18px 14px}.site-footer__partner-logos img,.site-footer__digital-stamp img{max-width:72px;height:34px}}
