@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
:root{color-scheme:light;--bg:#f1f4f1;--paper:#fff;--ink:#183a34;--muted:#64746e;--line:#dce5df;--field:#f8faf8;--green:#10564b;--gold:#c6a46b;--error:#a42c36}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer} .login-shell{min-height:100vh;max-width:1600px;margin:auto;padding:28px clamp(20px,5vw,80px) 18px;display:flex;flex-direction:column}.top{display:flex;align-items:center;gap:24px;padding-bottom:25px}.top img{width:180px;max-height:75px;object-fit:contain;background:white;border-radius:8px;padding:6px}.portal-label{border-right:1px solid var(--line);padding-right:24px;color:var(--muted);font-size:14px}.theme{margin-inline-start:auto;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:50%;width:44px;height:44px;font-size:23px}.layout{display:grid;grid-template-columns:1.05fr 1fr;flex:1;min-height:610px;border-radius:26px;overflow:hidden;box-shadow:0 22px 65px #173a3420;border:1px solid var(--line)}.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#083e35,#10594d 65%,#174b40);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(35px,5vw,76px)}.hero:before,.hero:after{content:'';position:absolute;z-index:-1;border:1px solid #c6a46b45;width:520px;height:520px;transform:rotate(45deg);border-radius:80px;left:-300px;bottom:-180px;box-shadow:0 0 0 35px #ffffff06,0 0 0 70px #ffffff05,0 0 0 105px #ffffff04}.hero:after{left:auto;right:-420px;top:-370px;bottom:auto}.eyebrow{color:#e5c99d;font-size:15px;font-weight:600}.gold-line{height:3px;width:52px;background:var(--gold);margin:25px 0}.hero h1{font-size:clamp(36px,4.3vw,66px);line-height:1.35;margin:0 0 20px;font-weight:700;letter-spacing:-1px}.hero p{font-size:18px;line-height:1.9;color:#d9e8e1;max-width:460px}.features{display:grid;gap:17px;margin-top:40px}.features div{display:flex;align-items:center;gap:14px;font-size:15px}.feature-icon{display:grid;place-items:center;border:1px solid #d7bb8270;border-radius:10px;width:40px;height:40px;color:#e5c99d;font-size:13px;direction:ltr}.hero-footer{align-self:flex-start;margin-top:45px;font-size:12px;letter-spacing:4px;color:#d6e2db}.hero-footer span{color:var(--gold)}.access{background:var(--paper);display:grid;place-items:center;padding:40px clamp(24px,5vw,80px)}.access-inner{width:100%;max-width:420px}.system-logo{display:block;width:190px;height:105px;object-fit:contain;object-position:right center;background:#fff;border-radius:10px;margin-bottom:20px}.kicker{color:var(--muted);font-size:14px;font-weight:600}.access h2{font-size:38px;margin:6px 0;line-height:1.3}.intro{color:var(--muted);margin:0 0 30px;font-size:15px}.field{margin-bottom:20px}.field label{display:block;font-weight:600;font-size:14px;margin-bottom:8px}.input{width:100%;height:56px;border:1px solid var(--line);background:var(--field);color:var(--ink);border-radius:11px;padding:0 16px;outline:none;transition:border-color .2s,box-shadow .2s}.input:focus{border-color:#428779;box-shadow:0 0 0 4px #42877925}.input::placeholder{color:var(--muted)}.password-wrap{position:relative}.password-wrap .input{padding-inline-end:80px}.show-password{position:absolute;inset-inline-end:8px;top:8px;height:40px;border:0;background:transparent;color:var(--ink);padding:0 10px;font-size:13px}.submit{width:100%;height:56px;background:linear-gradient(110deg,#0b4a40,#187062);color:white;border:0;border-radius:11px;font-weight:600;font-size:17px;box-shadow:0 8px 20px #10564b30;cursor:pointer;transition:filter .2s}.submit:hover{filter:brightness(1.12)}button:focus-visible,.submit:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.result{color:var(--error);font-size:14px;margin-top:12px}.result span:not(:empty){display:block;border:1px solid currentColor;border-radius:8px;padding:10px}.restricted{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:25px;padding-top:20px;color:var(--muted);font-size:13px}.restricted svg{width:22px;height:22px;flex:none}.footer{display:flex;justify-content:space-between;gap:15px;padding-top:20px;font-size:12px;color:var(--muted)}.waiting[hidden]{display:none}.waiting{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:#062d29a8;backdrop-filter:blur(5px)}.waiting-card{background:var(--paper);color:var(--ink);border-radius:20px;padding:35px 50px;text-align:center;box-shadow:0 20px 60px #0003}.waiting-card strong{display:block;margin-top:20px;font-size:20px}.waiting-card p{color:var(--muted);margin:8px 0}.spinner{display:block;width:48px;height:48px;border:4px solid var(--line);border-top-color:#17816e;border-right-color:var(--gold);border-radius:50%;margin:auto;animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}html[data-theme=dark]{color-scheme:dark;--bg:#101d1b;--paper:#192b28;--ink:#eef5f0;--muted:#b2c5bd;--line:#38504a;--field:#132420;--error:#ffb2b7}@media(max-width:800px){.layout{grid-template-columns:1fr;min-height:0}.hero{padding:30px}.hero h1{font-size:36px}.hero p{font-size:15px}.features,.hero-footer{display:none}.access{padding:35px 24px}.portal-label{display:none}.footer{flex-wrap:wrap}.system-logo{height:85px}.login-shell{padding:18px 14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:2s!important;transition:none!important}}

.captcha-field{padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--field)}.captcha-row{display:flex;align-items:center;gap:10px;margin:8px 0 12px;flex-wrap:wrap}.captcha-image{width:260px;max-width:100%;height:auto;border:1px solid var(--line);border-radius:8px;display:block}.captcha-refresh{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;padding:8px 12px;cursor:pointer}.captcha-input{direction:ltr;text-align:center;letter-spacing:3px;font-weight:600}.captcha-input::placeholder{direction:rtl;letter-spacing:0;font-weight:400}.captcha-help{display:block;color:var(--muted);font-size:12px;margin-top:8px}
