/* Alshorok Manage — Pro login screen (Motana Hi-Tech). Layered on top of the original auth layout. */
:root{--ml-p:#a30260;--ml-p2:#d81b7d;--ml-p3:#ff4fa3;--ml-ink:#140d24;--ml-font:"Heebo","Rubik","Assistant","Segoe UI",system-ui,-apple-system,Arial,sans-serif}
html,body{min-height:100%}
/* building / crane line-art at the bottom (college of construction & engineering) */
.mt-skyline{position:fixed;left:0;right:0;bottom:0;height:34vh;max-height:300px;z-index:1;pointer-events:none;opacity:.38}
.mt-skyline svg{width:100%;height:100%}
.mt-skyline .hook{animation:ml-hook 6s ease-in-out infinite;transform-origin:50% 0}
@keyframes ml-hook{0%,100%{transform:translateY(0)}50%{transform:translateY(14px)}}
html.mt-login body{font-family:var(--ml-font)!important;background:#140d24!important;color:#fff;overflow-x:hidden}
html.mt-login body [style*="login-back-min"]{background-image:none!important}
html.mt-login body .custom-login{position:relative;min-height:100vh;background:transparent!important}
/* animated backdrop */
.mt-bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;
  background:radial-gradient(1200px 700px at 85% -10%,rgba(216,27,125,.55),transparent 60%),radial-gradient(900px 600px at -10% 110%,rgba(91,33,182,.55),transparent 60%),linear-gradient(160deg,#1f0f35 0%,#140d24 55%,#0d0a1c 100%)}
.mt-bg:before{content:"";position:absolute;inset:-2px;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:92px 92px,92px 92px,23px 23px,23px 23px;-webkit-mask-image:radial-gradient(ellipse at 50% 40%,#000 0%,transparent 75%);mask-image:radial-gradient(ellipse at 50% 40%,#000 0%,transparent 75%);animation:ml-grid 30s linear infinite}
.mt-blob{position:absolute;border-radius:50%;filter:blur(60px);opacity:.55;mix-blend-mode:screen;animation:ml-float 18s ease-in-out infinite}
.mt-blob.b1{width:460px;height:460px;background:#d81b7d;top:-120px;right:-80px}
.mt-blob.b2{width:380px;height:380px;background:#7c3aed;bottom:-120px;left:-60px;animation-delay:-6s}
.mt-blob.b3{width:260px;height:260px;background:#ff4fa3;top:45%;left:52%;opacity:.28;animation-delay:-11s}
.mt-spark{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;box-shadow:0 0 10px 2px rgba(255,79,163,.8);opacity:0;animation:ml-spark 7s linear infinite}
html.mt-login body .custom-login-inner,html.mt-login body main.custom-wrapper,html.mt-login body .auth-footer{position:relative;z-index:2}
/* layout */
html.mt-login body main.custom-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px 16px 108px!important}
html.mt-login body .custom-row{width:100%;max-width:460px;margin:0 auto!important;display:flex;flex-direction:column;align-items:center}
html.mt-login body .custom-row>.card{width:100%;background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important}
/* logo */
html.mt-login body .custom-row>.card>.card-body:first-child{margin:0 0 18px!important;padding:0!important;text-align:center;position:relative}
html.mt-login body .custom-row>.card>.card-body:first-child img{position:static!important;transform:none!important;right:auto!important;width:250px!important;max-width:72vw;border-radius:0!important;filter:drop-shadow(0 10px 30px rgba(216,27,125,.45));animation:ml-logo 6s ease-in-out infinite}
.mt-logo-wrap{position:relative;display:inline-block;overflow:hidden;border-radius:18px;padding:6px 10px}

/* glass card */
html.mt-login body .custom-row>.card>.card-body:nth-child(2){opacity:1!important;width:100%;padding:34px 32px 30px!important;border-radius:26px;
  background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.06))!important;border:1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);
  box-shadow:0 30px 80px rgba(8,4,20,.55),inset 0 1px 0 rgba(255,255,255,.25);animation:ml-rise .7s cubic-bezier(.2,.8,.2,1) both;position:relative;overflow:hidden}
html.mt-login body .custom-row>.card>.card-body:nth-child(2):before{content:"";position:absolute;inset:0;border-radius:26px;padding:1px;background:linear-gradient(140deg,rgba(255,79,163,.9),rgba(255,255,255,.05) 40%,rgba(124,58,237,.8));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
html.mt-login body h2.f-w-600{color:#fff!important;font-weight:800!important;font-size:28px!important;margin-bottom:4px!important;font-family:var(--ml-font)!important}
.mt-sub{color:rgba(255,255,255,.72);font-size:14.5px;margin:0 0 24px}
html.mt-login body .form-label{color:rgba(255,255,255,.85)!important;font-weight:600;font-size:13.5px;margin-bottom:7px}
html.mt-login body .form-control{height:52px!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(255,255,255,.09)!important;color:#fff!important;font-size:15.5px!important;padding:0 46px 0 16px!important;transition:border-color .2s,box-shadow .25s,background .2s;background-repeat:no-repeat!important;background-position:right 15px center!important;background-size:20px!important}
html.mt-login body .form-control::placeholder{color:rgba(255,255,255,.5)!important}
html.mt-login body .form-control:focus{border-color:var(--ml-p3)!important;background-color:rgba(255,255,255,.13)!important;box-shadow:0 0 0 4px rgba(255,79,163,.2),0 0 24px rgba(255,79,163,.35)!important;outline:0}
html.mt-login body #email{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffb3d9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E")!important}
html.mt-login body #password{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffb3d9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='4' y='10' width='16' height='11' rx='3'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important}
html.mt-login body input:-webkit-autofill{-webkit-text-fill-color:#fff!important;-webkit-box-shadow:0 0 0 40px #3a1a4c inset!important;caret-color:#fff}
html.mt-login body .form-control.is-invalid{border-color:#ff6b81!important}
html.mt-login body .text-danger,html.mt-login body .invalid-email small,html.mt-login body .invalid-password small{color:#ffb4c1!important}
html.mt-login body .alert-danger{background:rgba(239,68,68,.18)!important;border:1px solid rgba(239,68,68,.4)!important;color:#fff!important;border-radius:14px}
html.mt-login body .simplecheckbox{accent-color:var(--ml-p3)!important;width:1.15em!important;height:1.15em!important}
html.mt-login body label[for=rememberMe]{color:rgba(255,255,255,.8)!important;margin-top:0!important}
.mt-pass-toggle{position:absolute;left:12px;bottom:12px;width:30px;height:30px;border:0;border-radius:9px;background:rgba(255,255,255,.1);color:#ffd1e8;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}
.mt-pass-toggle:hover{background:rgba(255,255,255,.2)}
html.mt-login body .pss-field{position:relative}
html.mt-login body .mainbtnlog{height:54px;border-radius:14px!important;border:0!important;font-weight:800!important;font-size:17px!important;letter-spacing:.3px;
  background:linear-gradient(135deg,#a30260 0%,#d81b7d 50%,#ff4fa3 100%)!important;background-size:200% 100%!important;color:#fff!important;
  box-shadow:0 14px 34px rgba(216,27,125,.5)!important;position:relative;overflow:hidden;transition:transform .15s,box-shadow .25s,background-position .5s}
html.mt-login body .mainbtnlog:hover{background-position:100% 0!important;transform:translateY(-2px);box-shadow:0 18px 42px rgba(216,27,125,.62)!important;border:0!important}
html.mt-login body .mainbtnlog:active{transform:scale(.98)}
html.mt-login body .mainbtnlog:after{content:"";position:absolute;top:0;bottom:0;width:60px;left:-90px;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:ml-shine 3.6s ease-in-out infinite}
html.mt-login body .mainbtnlog.mt-busy{pointer-events:none;opacity:.9}
html.mt-login body .mainbtnlog.mt-busy:before{content:"";display:inline-block;width:18px;height:18px;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;margin-inline-end:10px;vertical-align:-3px;animation:ml-spin .8s linear infinite}
/* app badges */
.mt-apps{display:flex!important;gap:12px;justify-content:center;margin:22px auto 0!important;scale:1!important;padding:0!important;max-width:360px!important;bottom:auto!important}
.mt-apps img{width:48%!important;margin:0!important;border-radius:10px;transition:transform .2s,filter .2s;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))}
.mt-apps img:hover{transform:translateY(-3px)}
/* footer */
html.mt-login body .auth-footer{position:relative!important;bottom:auto!important;left:auto;right:auto;margin-top:-92px;padding:0 0 14px;text-align:center;z-index:3}
html.mt-login body .auth-footer button{cursor:pointer;line-height:1.55;padding:6px 14px!important;border-radius:12px;transition:background .2s}
html.mt-login body .auth-footer button:hover{background:rgba(255,255,255,.08)!important}
html.mt-login body .auth-footer .mt-credit{display:inline-block;margin-top:2px;font-size:12.5px!important;color:#ffb3d9!important;font-weight:700;letter-spacing:.2px}
html.mt-login body .auth-footer *{color:rgba(255,255,255,.6)!important}
html.mt-login body .dash-header{display:none!important}
html.mt-login body .pct-customizer{display:none!important}
@keyframes ml-float{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(-40px,30px) scale(1.08)}66%{transform:translate(30px,-25px) scale(.95)}}
@keyframes ml-grid{to{background-position:46px 46px,46px 46px}}
@keyframes ml-logo{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes ml-shine{0%,55%{left:-120px}100%{left:130%}}
@keyframes ml-rise{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:none}}
@keyframes ml-spark{0%{opacity:0;transform:translateY(0)}10%{opacity:1}100%{opacity:0;transform:translateY(-160px)}}
@keyframes ml-spin{to{transform:rotate(360deg)}}
@media (max-width:575px){
  html.mt-login body main.custom-wrapper{padding:28px 14px 104px!important;align-items:flex-start}
  html.mt-login body .custom-row>.card>.card-body:nth-child(2){padding:26px 20px 22px!important;border-radius:22px}
  html.mt-login body h2.f-w-600{font-size:24px!important}
  .mt-blob.b1{width:300px;height:300px}.mt-blob.b2{width:260px;height:260px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important}}

/* logo: shine every 3 seconds + twinkling dots of "ش" */
.mt-logo-fx{position:absolute;pointer-events:none;overflow:hidden;z-index:2}
.mt-logo-fx i{position:absolute;width:5.2%;aspect-ratio:1;transform:translate(-50%,-50%) scale(.6);border-radius:50%;opacity:0;
  background:radial-gradient(circle,rgba(255,255,255,.95) 0 30%,rgba(255,226,140,.75) 42%,rgba(255,226,140,0) 70%);animation:mt-dot 3s ease-in-out infinite;mix-blend-mode:screen}
.mt-logo-fx b{position:absolute;top:-20%;bottom:-20%;width:18%;left:-30%;background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.7) 50%,transparent 100%);transform:skewX(-20deg);animation:mt-logo-shine 3s ease-in-out infinite}
@keyframes mt-logo-shine{0%{left:-30%}28%{left:120%}100%{left:120%}}
@keyframes mt-dot{0%,100%{opacity:0;transform:translate(-50%,-50%) scale(.6)}12%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}26%{opacity:0;transform:translate(-50%,-50%) scale(.8)}}
@media (prefers-reduced-motion:reduce){.mt-logo-fx{display:none}}

/* developer card popup: centred over a soft dark blur (the login page hides Bootstrap's backdrop) */
html.mt-login body #newModal{background:rgba(10,5,22,.62)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:0!important}
html.mt-login body #newModal .modal-dialog{display:flex!important;align-items:center;min-height:calc(100% - 2rem);margin:1rem auto!important;max-width:420px!important;width:calc(100% - 24px);transform:none}
html.mt-login body #newModal.fade .modal-dialog{transform:translateY(14px) scale(.97);transition:transform .3s cubic-bezier(.2,.9,.3,1.2)}
html.mt-login body #newModal.show .modal-dialog{transform:none}
html.mt-login body #newModal .modal-content{width:100%;border:0;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.16),0 0 60px rgba(216,27,125,.25)}
html.mt-login body #newModal .modal-content:not(:has(.mt-dev)) .modal-body{min-height:220px}

/* first paint = the new look (no flash of the old background before the scripts run) */
html.mt-login,html.mt-login body{background:radial-gradient(1200px 700px at 85% -10%,rgba(216,27,125,.55),transparent 60%),radial-gradient(900px 600px at -10% 110%,rgba(91,33,182,.55),transparent 60%),linear-gradient(160deg,#1f0f35 0%,#140d24 55%,#0d0a1c 100%) fixed #140d24!important}
html.mt-login .custom-img,html.mt-login .custom-login>img,html.mt-login .login-back-img,html.mt-login [class*="login-back"]{display:none!important}
html.mt-login body .custom-row,html.mt-login body .auth-footer{opacity:0}
html.mt-login body.mt-ready .custom-row,html.mt-login body.mt-ready .auth-footer{opacity:1;transition:opacity .35s ease}
html.mt-login body:not(.mt-ready) .custom-row,html.mt-login body:not(.mt-ready) .auth-footer{animation:ml-reveal .3s 1.5s forwards}
@keyframes ml-reveal{to{opacity:1}}
.mt-bg,.mt-skyline{animation:ml-fadein .7s ease both}
@keyframes ml-fadein{from{opacity:0}}
