@font-face{font-family:InstituteArabic;src:url('/admin_dash/assets/fonts/diodrum-arabic-medium.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:InstituteArabic;src:url('/admin_dash/assets/fonts/diodrum-arabic-bold.ttf') format('truetype');font-weight:700;font-display:swap}
.i360-auth{margin:0;min-height:100vh;background:var(--paper,#F6F5EF);color:#172b35;font:1rem/1.7 InstituteArabic,system-ui,sans-serif}
.i360-auth *{box-sizing:border-box}
.i360-auth a{color:var(--brand-dark,#005b57);text-decoration:none}
.i360-auth a:hover{text-decoration:underline}
.i360-auth button,.i360-auth input{font:inherit}
.i360-auth :focus-visible{outline:3px solid var(--brand,#007F78);outline-offset:4px}
.auth-frame{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100vh;padding:1.25rem;gap:1.25rem;max-width:1700px;margin:auto}
.auth-story{background:var(--identity-header,#102A32);color:var(--identity-header-text,#fff);border-radius:1.5rem;padding:clamp(1.5rem,4vw,4rem);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.auth-brand{display:flex;align-items:center;gap:.9rem;color:inherit!important;width:fit-content}
.auth-brand img{width:64px;height:64px;object-fit:contain;background:white;border-radius:14px;padding:6px}
.auth-brand strong{font-size:1.3rem;display:block}.auth-brand small{opacity:.75;font-family:system-ui,sans-serif}
.orbit-mark{display:block;width:48px;height:48px;border:9px solid currentColor;border-inline-end-color:var(--identity-accent,#C8F36A);border-radius:50%;transform:rotate(-30deg)}
.auth-story-copy{padding-block:3rem 1rem;position:relative}.auth-eyebrow{font-size:.95rem;color:var(--identity-accent,#C8F36A)}
.auth-story h1{white-space:pre-line;font-size:clamp(2.4rem,4vw,4.3rem);line-height:1.25;letter-spacing:-.03em;margin:1.25rem 0;font-weight:700}
.auth-story p{max-width:26rem;font-size:1.1rem;opacity:.8;margin:0}.auth-orbit{height:210px;position:relative;display:grid;place-items:center;margin-block:1rem}
.auth-orbit span,.auth-orbit i{position:absolute;width:245px;height:170px;border:2px solid color-mix(in srgb,var(--identity-header-text,#fff) 24%,transparent);border-radius:50%;transform:rotate(-28deg)}
.auth-orbit i{transform:rotate(35deg);border-color:var(--identity-accent,#C8F36A);border-width:3px;border-left-color:transparent}
.auth-orbit b{font:500 3rem/1 system-ui,sans-serif;letter-spacing:-.08em;opacity:.95}.auth-features{display:flex;gap:.6rem;flex-wrap:wrap}.auth-features span{border:1px solid color-mix(in srgb,currentColor 25%,transparent);padding:.3rem .8rem;border-radius:99px;font-size:.9rem}
.auth-story-footer{opacity:.65}.auth-main{display:flex;flex-direction:column;padding:1rem clamp(.75rem,4vw,4rem)}
.auth-top{display:flex;justify-content:space-between;gap:1rem;align-items:center;font-size:.95rem;color:#52616a}.auth-top a{border:1px solid color-mix(in srgb,var(--brand,#007F78) 22%,white);border-radius:99px;padding:.3rem .9rem}
.auth-content{width:100%;max-width:420px;margin:auto;padding-block:3rem}.auth-step{font-size:.9rem;color:var(--brand,#007F78);font-weight:700}
.auth-content h2{font-size:2.1rem;line-height:1.3;margin:.6rem 0}.auth-description{color:#52616a;margin:0 0 2rem}
.auth-form{display:flex;flex-direction:column;gap:.65rem}.auth-form label{font-weight:700;font-size:.95rem}.auth-form>input,.auth-password{margin-bottom:.65rem}
.auth-form input:not([type=checkbox]):not([type=hidden]){width:100%;min-height:52px;border:1px solid #b7c3c7;border-radius:10px;background:#fff;color:#172b35;padding:.7rem .9rem}
.auth-form input:focus{border-color:var(--brand,#007F78);outline:3px solid color-mix(in srgb,var(--brand,#007F78) 15%,transparent);outline-offset:1px}
.auth-label-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.auth-label-row a{font-size:.9rem}
.auth-password{position:relative}.auth-password input{padding-inline-end:5rem!important}.auth-password button{position:absolute;inset-inline-end:.7rem;top:50%;transform:translateY(-50%);background:transparent;border:0;color:var(--brand,#007F78);padding:.2rem;cursor:pointer;font-size:.9rem}
.auth-checkbox{display:flex;align-items:center;gap:.6rem;font-weight:400!important;margin-block:.2rem .8rem}.auth-checkbox input{width:18px;height:18px;accent-color:var(--brand,#007F78)}
.auth-submit{min-height:52px;border:0;border-radius:10px;background:var(--brand,#007F78);color:var(--identity-primary-text,#fff);padding:.7rem 1rem;font-weight:700!important;cursor:pointer;transition:filter .15s}
.auth-submit:hover{filter:brightness(.92)}.auth-submit:disabled{opacity:.55;cursor:wait}.auth-secondary{display:flex;justify-content:center;gap:.6rem;border-top:1px solid #d6dedf;margin-top:1.8rem;padding-top:1.4rem;font-size:.95rem}
.auth-home,.auth-return{display:block;text-align:center;margin-top:1.5rem;font-size:.95rem}.auth-home{color:#52616a!important}.auth-footer{text-align:center;color:#52616a;font-size:.9rem;padding-bottom:1rem}
.auth-alert{border:1px solid color-mix(in srgb,var(--brand,#007F78) 30%,white);background:color-mix(in srgb,var(--brand,#007F78) 7%,white);padding:.8rem 1rem;border-radius:10px;margin-bottom:1rem;font-size:.95rem;color:#172b35}.auth-alert ul{margin:0;padding-inline-start:1.2rem}.auth-alert-error{background:#fff1f1;border-color:#f0b6b6;color:#9b2525}
.auth-otp{display:flex;gap:.5rem;margin:.4rem 0 1rem}.auth-otp input{min-width:0;text-align:center;font-size:1.5rem!important;padding:.5rem!important;font-family:system-ui,sans-serif!important}
.auth-resend{text-align:center;margin-top:1.5rem}.auth-resend p{margin:0 0 .4rem;color:#52616a}.auth-resend button{color:var(--brand,#007F78);background:transparent;border:0;cursor:pointer}.auth-resend button:disabled{color:#52616a;cursor:wait}
@media(max-width:800px){.auth-frame{display:block;padding:.75rem}.auth-story{padding:1.5rem;border-radius:1rem}.auth-story-copy{padding:1.5rem 0 0}.auth-story h1{font-size:2rem;margin:.5rem 0}.auth-story p,.auth-features,.auth-orbit,.auth-story-footer,.auth-eyebrow{display:none}.auth-main{padding:1.5rem .75rem 0}.auth-content{padding-block:2rem;max-width:480px}.auth-content h2{font-size:1.8rem}.auth-top{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){.i360-auth *{transition:none!important}}
/* Account journeys share one card system and the institute's selected palette. */
.auth-frame{padding:1.5rem;gap:0;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}
.auth-story{border-radius:24px;background:var(--identity-header);padding:clamp(1.75rem,4vw,4rem);min-height:calc(100vh - 3rem)}
.auth-story::after{content:"";position:absolute;width:370px;height:370px;border:1px solid color-mix(in srgb,var(--identity-accent) 30%,transparent);border-radius:50%;inset-inline-end:-210px;bottom:-160px;pointer-events:none}
.auth-story h1{font-size:clamp(2rem,3.3vw,3.3rem);line-height:1.7;letter-spacing:0}
.auth-main{padding:1.5rem clamp(1rem,3.7vw,4rem)}
.auth-content{max-width:480px;padding:2.25rem;background:#fff;border:1px solid color-mix(in srgb,var(--brand) 13%,#fff);border-radius:20px;box-shadow:0 14px 45px color-mix(in srgb,var(--identity-header) 6%,transparent);margin-block:2rem}
.auth-page-symbol{display:grid;place-items:center;width:58px;height:58px;background:color-mix(in srgb,var(--brand) 9%,white);color:var(--brand);border:1px solid color-mix(in srgb,var(--brand) 15%,white);border-radius:17px;font-size:1.8rem;margin-bottom:22px}
.auth-content h2{font-size:1.65rem;line-height:1.8;margin:.45rem 0 .7rem;letter-spacing:0}
.auth-description{font-size:.95rem;line-height:1.9;margin-bottom:1.5rem}
.auth-step{font-size:.8rem;letter-spacing:0}
.auth-form label{font-size:.85rem}.auth-form{gap:.65rem}.auth-label-row a{font-size:.8rem}
.auth-submit{font-size:.95rem;min-height:52px;border-radius:10px;box-shadow:0 5px 15px color-mix(in srgb,var(--brand) 12%,transparent)}
.auth-resend{padding-top:1.25rem;border-top:1px solid #e5ebee;font-size:.9rem}
.auth-secondary{font-size:.85rem;flex-wrap:wrap;line-height:1.9}.auth-top{font-size:.85rem}.auth-footer{font-size:.8rem;margin-top:auto}.auth-home,.auth-return{font-size:.85rem}
.auth-alert{font-size:.85rem;line-height:1.9}.auth-otp{gap:.4rem}.auth-otp input{border-radius:9px}
@media(min-width:801px){.auth-content{align-self:center}.auth-orbit{height:180px}.auth-features span{font-size:.8rem}.auth-story-copy{padding-top:2rem}.auth-story p{font-size:1rem;line-height:1.9}}
@media(max-width:800px){.auth-frame{padding:0}.auth-story{min-height:0;border-radius:0 0 24px 24px;padding:1.5rem}.auth-story h1{font-size:1.55rem;line-height:1.8}.auth-story-copy{padding-top:.7rem}.auth-main{padding:1.25rem 1rem}.auth-content{padding:1.5rem;width:100%;max-width:500px;margin-block:1.5rem}.auth-content h2{font-size:1.4rem}.auth-brand strong{font-size:1.05rem}.auth-brand img{width:48px;height:48px}.auth-page-symbol{width:50px;height:50px;font-size:1.5rem;margin-bottom:16px}.auth-description{font-size:.9rem}.auth-otp{gap:.3rem}}
@media(max-width:380px){.auth-content{padding:1.1rem}.auth-label-row{flex-wrap:wrap;gap:.3rem}.auth-otp input{font-size:1.15rem!important}}
