:root{--ink:#17332f;--muted:#667772;--green:#174d43;--green-2:#236c5e;--gold:#c99b51;--cream:#f7f5ef;--line:#dfe7e3;--white:#fff;--danger:#b33a3a;--shadow:0 16px 50px rgba(23,51,47,.09);font-family:Cairo,sans-serif;color:var(--ink);background:#fafbf9}*{box-sizing:border-box}html{direction:rtl;scroll-behavior:smooth}body{margin:0;min-width:320px;background:#fafbf9}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{text-decoration:none;color:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}:focus-visible{outline:3px solid rgba(201,155,81,.5);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.public-nav{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid #edf0ed;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50% 50% 44% 56%;background:var(--green);color:#fff;font-size:24px;font-weight:800}.brand>span:last-child{display:flex;flex-direction:column;line-height:1.2}.brand b{font-size:20px}.brand small{font-size:10px;color:var(--muted)}.brand.light{color:#fff}.brand.light small{color:#b9cdc8}.nav-link{font-size:14px;font-weight:700;color:var(--green);padding:10px}.footer{padding:30px 20px;text-align:center;background:#113e36;color:#fff}.footer p{margin:0 0 4px;font-weight:700}.footer small{color:#b7cdc7}.hero{min-height:650px;background:linear-gradient(135deg,#f2eee3,#f8f7f1 58%,#dcebe5);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:70px 20px 110px;text-align:center}.hero:after{content:"";position:absolute;inset:auto 0 0;height:85px;background:linear-gradient(3deg,#fff 49%,transparent 51%)}.hero-content{position:relative;z-index:1;max-width:800px;width:100%}.hero-kicker,.eyebrow{color:var(--gold);font-weight:800;font-size:13px;letter-spacing:.04em}.hero h1{font-size:clamp(38px,7vw,74px);margin:14px 0 12px;line-height:1.2}.hero h1 em{font-style:normal;color:var(--green-2)}.hero-content>p{font-size:clamp(17px,2.2vw,21px);color:var(--muted);margin:0 auto 34px;max-width:650px}.search-box{display:flex;align-items:center;background:#fff;border:1px solid #dfe6e2;border-radius:18px;padding:8px;box-shadow:var(--shadow);max-width:720px;margin:auto;gap:8px}.search-box:focus-within{border-color:var(--gold);box-shadow:0 0 0 4px #c99b511f,var(--shadow)}.search-symbol{font-size:27px;color:var(--gold);margin-inline:9px}.search-box input{border:0;outline:0;min-width:0;flex:1;height:48px;font-size:17px;background:transparent}.btn{border:0;border-radius:11px;min-height:44px;padding:10px 20px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn.primary{background:var(--green);color:#fff}.btn.primary:hover{background:#0d3c34}.btn.secondary{background:#e7f1ee;color:var(--green)}.btn.ghost{background:#f2f4f3;color:var(--ink)}.btn.danger{background:var(--danger);color:#fff}.btn.full{width:100%}.search-hint,.form-hint{display:block;color:var(--muted);margin-top:14px;font-size:13px}.hero-badge{position:absolute;bottom:24px;right:max(20px,calc((100vw - 1080px)/2));z-index:2;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 18px;display:grid;grid-template-columns:35px auto;column-gap:8px;text-align:right;box-shadow:var(--shadow)}.hero-badge>span{grid-row:1/3;color:var(--gold);font-size:25px}.hero-badge small{color:var(--muted)}.hero-orbit{position:absolute;border:1px solid rgba(23,77,67,.12);border-radius:50%}.hero-orbit.one{width:420px;height:420px;left:-180px;top:-140px}.hero-orbit.two{width:250px;height:250px;right:-90px;bottom:50px}.steps{padding:70px 20px 90px;text-align:center;background:#fff}.steps h2{font-size:32px;margin:8px 0 38px}.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1050px;margin:auto;text-align:right}.step-grid article{padding:28px;border:1px solid var(--line);border-radius:20px}.step-grid b{color:var(--gold);font-size:26px}.step-grid h3{margin:15px 0 8px}.step-grid p{margin:0;color:var(--muted)}.page{width:min(1180px,calc(100% - 32px));margin:auto;padding:60px 0 90px;min-height:70vh}.public-page>.search-box{margin:25px 0;max-width:none}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.page-heading h1{font-size:clamp(28px,4vw,42px);margin:7px 0}.page-heading p{margin:0;color:var(--muted)}.results-head,.section-title{display:flex;justify-content:space-between;align-items:center;margin:35px 0 18px}.results-head h2,.section-title h2{margin:0}.results-head span,.section-title>span{color:var(--muted)}.student-grid,.qualification-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.student-card,.qualification{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 6px 24px #17332f0d}.student-card-head{display:flex;gap:13px;align-items:center;margin-bottom:16px}.avatar,.profile-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#e4efec;color:var(--green);font-weight:800;font-size:24px}.student-card h2{font-size:18px;margin:0 0 3px}.area{color:var(--muted);font-size:13px}.graduation-mini{background:#f7f9f8;border-radius:13px;padding:13px;margin-bottom:12px}.graduation-title{display:flex;justify-content:space-between;gap:8px}.graduation-mini p{font-size:13px;margin:7px 0;color:#536762}.badge{display:inline-flex;border-radius:99px;padding:4px 9px;background:#f5e9e4;color:#97503b;font-size:11px;font-weight:700;white-space:nowrap}.badge.verified{background:#dcf0e8;color:#196448}.loader-wrap,.empty{display:flex;align-items:center;justify-content:center;gap:10px;padding:60px 20px;color:var(--muted)}.spinner{width:24px;height:24px;border:3px solid #dbe4e1;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty{flex-direction:column;text-align:center;background:#fff;border:1px dashed #cedad6;border-radius:20px}.empty h3,.empty p{margin:0}.empty-icon{font-size:40px;color:var(--gold)}.back-link{display:inline-block;color:var(--green);font-weight:700;margin-bottom:25px}.back-link.center{display:block;text-align:center;margin:20px 0 0}.profile-hero{display:flex;align-items:center;gap:22px;background:linear-gradient(135deg,#174d43,#22695b);color:#fff;border-radius:24px;padding:35px}.profile-avatar{width:85px;height:85px;font-size:38px;background:#ffffff24;color:#fff}.profile-hero h1{margin:5px 0;font-size:36px}.profile-hero p{margin:0;color:#c8dcd7}.qualification-top{display:flex;justify-content:space-between}.grad-icon,.stat-icon,.institution-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e6f0ed;color:var(--green);font-size:22px}.qualification h3{margin:17px 0}.qualification dl{margin:0}.qualification dl div{padding:10px 0;border-top:1px solid #edf0ee}.qualification dt{font-size:11px;color:var(--muted)}.qualification dd{margin:3px 0 0;font-weight:700}.login-page{min-height:100vh;display:grid;grid-template-columns:45% 55%}.login-brand{background:linear-gradient(145deg,#103d35,#1e6758);color:#fff;padding:55px clamp(30px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between}.login-brand h1{font-size:clamp(36px,5vw,60px);line-height:1.35;max-width:550px}.login-brand p{color:#c2d6d1;max-width:520px;font-size:18px}.light-text{color:#e6c785}.login-panel{display:grid;place-items:center;padding:30px;background:#f8f9f7}.login-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);padding:40px;border-radius:24px;box-shadow:var(--shadow)}.login-card h2{font-size:30px;margin:0}.login-card>p{color:var(--muted);margin-bottom:28px}.login-card label,.filters label,.form-panel label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;margin-bottom:16px}.login-card input,.filters input,.filters select,.form-panel input,.form-panel select,.alias-add input{height:48px;border:1px solid #d7e0dd;border-radius:10px;padding:0 13px;background:#fff;outline:0}.field-error{color:var(--danger);display:block;margin:-10px 0 12px}.mobile-logo{display:none}.admin-shell{min-height:100vh;background:#f5f7f5}.sidebar{position:fixed;inset:0 0 0 auto;width:260px;background:#123f37;color:#fff;padding:25px 18px;display:flex;flex-direction:column;z-index:20}.sidebar nav{margin-top:50px;display:flex;flex-direction:column;gap:7px}.sidebar nav>span{font-size:11px;color:#8eb0a7;padding:0 12px 10px}.sidebar nav a,.sidebar-bottom a,.sidebar-bottom button{padding:12px;border-radius:10px;color:#c4d7d2;border:0;background:transparent;text-align:right}.sidebar nav a.active,.sidebar nav a:hover{background:#ffffff1a;color:#fff}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;border-top:1px solid rgba(255,255,255,.1);padding-top:14px}.admin-main{margin-right:260px}.admin-top{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;gap:12px}.admin-top>div{display:flex;flex-direction:column}.admin-top small{color:var(--muted)}.admin-user{margin-right:auto;width:40px;height:40px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:50%}.menu-btn{display:none;border:0;background:#edf3f1;border-radius:9px;width:44px;height:44px}.admin-content{padding:35px;max-width:1500px;margin:auto}.admin-content .page-heading h1{font-size:32px}.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;display:flex;align-items:center;gap:14px}.stat-card div{display:flex;flex-direction:column}.stat-card strong{font-size:28px}.stat-card div span{font-size:12px;color:var(--muted)}.dashboard-panels{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.panel,.data-panel,.form-panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px}.panel h2{margin-top:0}.progress-row{display:flex;justify-content:space-between}.progress{height:9px;background:#edf1ef;border-radius:99px;margin:10px 0}.progress span{display:block;height:100%;background:var(--green-2);border-radius:inherit}.panel>p{color:var(--muted);font-size:13px}.system-ok{display:flex;align-items:center;gap:12px}.system-ok>span{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#ddf0e8;color:#18704e}.system-ok div{display:flex;flex-direction:column}.system-ok small{color:var(--muted)}.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.filters label{min-width:145px;margin:0}.filters .grow{flex:1;min-width:220px}.data-panel{padding:0;overflow:hidden}table{width:100%;border-collapse:collapse;text-align:right}th{background:#f2f5f3;color:#62736f;font-size:12px;padding:13px}td{padding:14px;border-top:1px solid #edf0ee;font-size:13px}td small{display:block;color:var(--muted)}.row-actions{display:flex;gap:7px;align-items:center}.row-actions a,.row-actions button{border:0;background:#edf3f1;color:var(--green);padding:7px 9px;border-radius:7px;font-size:12px}.row-actions .danger-text,.danger-text{color:var(--danger);background:#faeded}.mobile-records{display:none}.pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:18px;border-top:1px solid var(--line)}.form-panel{max-width:1000px;margin:auto}.form-panel fieldset{border:0;padding:0;margin:0 0 28px}.form-panel legend{font-size:19px;font-weight:800;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 18px}.form-grid .span-2{grid-column:span 2}.form-panel .check{flex-direction:row;align-items:center}.form-panel .check input{height:20px;width:20px}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px}.form-panel.compact{margin:20px 0;max-width:none}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.info-grid div{display:flex;flex-direction:column}.info-grid small,.admin-qualification p{color:var(--muted)}.institution-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.institution-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px;display:flex;align-items:center;gap:13px}.institution-card h3,.institution-card p{margin:0}.institution-card p{color:var(--muted);font-size:12px}.grow{flex:1}.dialog-backdrop{position:fixed;inset:0;background:#091f1b8c;display:grid;place-items:center;padding:20px;z-index:100}.dialog{background:#fff;border-radius:20px;padding:25px;width:min(440px,100%);box-shadow:var(--shadow)}.dialog .actions{display:flex;justify-content:flex-end;gap:8px}.alias-dialog{width:min(600px,100%)}.alias-add{display:flex;gap:8px}.alias-add input{flex:1}.alias-list{padding:0;list-style:none;max-height:280px;overflow:auto}.alias-list li{display:flex;justify-content:space-between;padding:11px;border-bottom:1px solid var(--line)}.alias-list button{border:0;background:transparent;color:var(--danger)}.toasts{position:fixed;top:18px;left:18px;z-index:200;display:flex;flex-direction:column;gap:8px}.toast{border:0;border-radius:10px;padding:12px 16px;color:#fff;background:#38514c;box-shadow:var(--shadow)}.toast.success{background:#287058}.toast.error{background:#a74040}@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(3,1fr)}.student-grid,.qualification-grid{grid-template-columns:repeat(2,1fr)}table{display:none}.mobile-records{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:14px}.mobile-records article{border:1px solid var(--line);border-radius:13px;padding:15px}.mobile-records article>div:first-child{display:flex;justify-content:space-between;gap:8px}.mobile-records h3{font-size:15px;margin:0}.mobile-records p{font-size:12px;color:var(--muted)}}@media(max-width:760px){.public-nav{height:66px}.brand-mark{width:38px;height:38px}.nav-link{font-size:12px}.hero{min-height:590px;padding-top:45px}.hero-badge{display:none}.search-box{border-radius:15px}.search-box input{font-size:15px}.search-box .btn{padding-inline:18px}.steps{padding-top:50px}.steps h2{font-size:26px}.step-grid,.student-grid,.qualification-grid{grid-template-columns:1fr}.page{width:min(100% - 24px,1180px);padding-top:38px}.page-heading{align-items:flex-start;flex-direction:column}.profile-hero{padding:25px}.profile-avatar{width:65px;height:65px}.profile-hero h1{font-size:25px}.login-page{display:block;background:#f8f9f7;padding:22px;min-height:100vh}.login-brand{display:none}.login-panel{padding:0;min-height:calc(100vh - 44px)}.login-card{padding:27px 20px}.mobile-logo{display:block;color:var(--green);font-weight:800;font-size:25px;margin-bottom:25px}.sidebar{transform:translate(100%);transition:.25s}.drawer-open .sidebar{transform:translate(0)}.drawer-shade{display:none;position:fixed;inset:0;background:#0007;z-index:19}.drawer-open .drawer-shade{display:block}.admin-main{margin:0}.admin-top{padding:0 14px}.menu-btn{display:block}.admin-content{padding:24px 12px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{padding:14px}.stat-card strong{font-size:22px}.dashboard-panels{grid-template-columns:1fr}.filters{align-items:stretch}.filters label{flex:1 1 140px}.filters .btn{width:100%}.mobile-records,.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.institution-grid{grid-template-columns:1fr}.institution-card{align-items:flex-start;flex-wrap:wrap}.institution-card .row-actions{width:100%}.info-grid{grid-template-columns:1fr 1fr}.toasts{right:12px;left:12px}.toast{width:100%}}@media(max-width:380px){.search-symbol{display:none}.search-box{padding:6px}.search-box input{padding-inline:8px}.brand small{display:none}.stats-grid,.info-grid{grid-template-columns:1fr}.admin-content .page-heading h1{font-size:27px}}.back-button{border:0;background:transparent;font:inherit;cursor:pointer;padding:0;margin-bottom:14px}.input-error{color:var(--danger);font-weight:600}.form-panel input.ng-invalid.ng-touched,.form-panel select.ng-invalid.ng-touched{border-color:var(--danger);box-shadow:0 0 0 3px #b33a3a14}.filter-actions{display:flex;gap:8px}.list-status{display:flex;justify-content:flex-end;color:var(--muted);font-size:13px;margin:-8px 4px 12px}.row-actions .edit-action{background:var(--green);color:#fff}.row-actions a,.row-actions button{transition:transform .15s,background-color .15s}.row-actions a:hover,.row-actions button:hover{transform:translateY(-1px)}@media(max-width:760px){.filter-actions{width:100%}.filter-actions .btn{flex:1}.form-actions{flex-wrap:wrap}.form-actions .btn{flex:1}}
