body.page-login{margin:0!important;background:#07172d!important;color:#14233b!important;overflow-x:hidden}body.page-login>*:not(.ms-auth-page):not(script):not(.modal):not(.tooltip){ }body.page-login .footer-section{display:none!important}
.ms-auth-page{--auth-navy:#07172d;--auth-blue:#286be0;--auth-green:#18bf83;position:relative;min-height:100vh;padding:34px 5vw 24px;overflow:hidden;background:radial-gradient(circle at 12% 15%,rgba(31,193,159,.17),transparent 28%),radial-gradient(circle at 88% 84%,rgba(45,108,224,.2),transparent 30%),linear-gradient(125deg,#06152b,#0a2844 62%,#0b3b49);font-family:"IRANYekan",Tahoma,sans-serif;isolation:isolate}
.ms-auth-page:before{content:"";position:absolute;inset:0;z-index:-2;opacity:.17;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:58px 58px;mask-image:linear-gradient(to bottom,#000,transparent 88%)}
.ms-auth-page:after{content:"";position:absolute;inset:auto -10% -42% -10%;height:55%;z-index:-1;border-radius:50% 50% 0 0;background:rgba(255,255,255,.025);filter:blur(1px)}
.ms-auth-orb{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.ms-auth-orb-one{width:280px;height:280px;left:-130px;top:-100px;background:rgba(76,233,186,.12);box-shadow:0 0 100px rgba(76,233,186,.12)}.ms-auth-orb-two{width:350px;height:350px;right:-170px;bottom:-150px;background:rgba(57,111,234,.14)}
.ms-auth-brand{position:relative;z-index:2;max-width:1230px;margin:0 auto 25px;display:flex;align-items:center;width:100%;gap:12px;color:#fff!important;text-decoration:none!important}.ms-auth-brand img{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 7px 16px rgba(0,0,0,.25))}.ms-auth-brand span{display:flex;flex-direction:column}.ms-auth-brand strong{font-family:"Pinar","IRANYekan",sans-serif;font-size:16px}.ms-auth-brand small{color:#91a9c2;font-size:9px;margin-top:2px}
.ms-auth-shell{position:relative;z-index:2;max-width:1230px;min-height:690px;margin:auto;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(390px,.82fr);direction:rtl;border:1px solid rgba(255,255,255,.13);border-radius:30px;background:rgba(7,24,46,.56);box-shadow:0 35px 95px rgba(0,7,22,.42);backdrop-filter:blur(22px);overflow:hidden}
.ms-auth-showcase{position:relative;padding:70px 64px 45px;color:#fff;overflow:hidden}.ms-auth-showcase:after{content:"";position:absolute;width:330px;height:330px;left:-120px;bottom:-160px;border:60px solid rgba(71,221,174,.045);border-radius:50%}.ms-auth-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid rgba(83,228,183,.24);border-radius:30px;background:rgba(26,186,133,.09);color:#65e3b6;font-size:10px;font-weight:800}.ms-auth-badge i{font-size:9px}.ms-auth-showcase h1{margin:24px 0 15px;color:#fff!important;font-family:"Pinar","IRANYekan",sans-serif;font-size:37px;line-height:1.55;letter-spacing:-1px}.ms-auth-showcase h1 span{background:linear-gradient(90deg,#58e3b1,#5ec7ef);-webkit-background-clip:text;background-clip:text;color:transparent}.ms-auth-showcase>p{max-width:590px;margin:0;color:#b1c2d5;font-size:12px;line-height:2.1}
.ms-auth-server-visual{position:relative;max-width:545px;margin:35px 0 31px;padding:17px;border:1px solid rgba(128,172,210,.22);border-radius:19px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035));box-shadow:0 25px 45px rgba(0,8,24,.2)}.ms-auth-server-head,.ms-auth-server-foot{display:flex;align-items:center;justify-content:space-between;color:#bdd0e3;font-size:9px}.ms-auth-server-head span{font-family:Inter,sans-serif;font-weight:700;letter-spacing:.5px}.ms-auth-server-head span i{color:#5de0b1;margin-left:6px}.ms-auth-server-head em{font-style:normal;color:#65dfb3}.ms-auth-server-head em b{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#35d599;box-shadow:0 0 12px #35d599}.ms-auth-server-row{height:48px;margin-top:10px;padding:0 13px;display:flex;align-items:center;gap:8px;border:1px solid rgba(164,190,216,.13);border-radius:10px;background:rgba(2,16,35,.43)}.ms-auth-server-row>i{width:6px;height:6px;border-radius:50%;background:#34d298;box-shadow:0 0 8px rgba(52,210,152,.6)}.ms-auth-server-row>i+ i{background:#3995f2;box-shadow:0 0 8px rgba(57,149,242,.6)}.ms-auth-server-row strong{margin-left:auto;color:#abc1d6;font-family:Inter,sans-serif;font-size:8px;letter-spacing:.6px}.ms-auth-server-row>span{width:33px;height:4px;border-radius:5px;background:rgba(121,157,189,.28)}.ms-auth-server-foot{margin-top:13px;color:#809ab4}.ms-auth-server-foot i{color:#55dbaa;margin-left:5px}
.ms-auth-points{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:590px}.ms-auth-points>div{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.045)}.ms-auth-points>div>i{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:rgba(45,120,226,.15);color:#6ca6f7;font-size:11px}.ms-auth-points>div:nth-child(2)>i{background:rgba(34,198,143,.13);color:#52d9aa}.ms-auth-points span{display:flex;flex-direction:column}.ms-auth-points strong{color:#eaf2fb;font-size:9px}.ms-auth-points small{margin-top:3px;color:#829ab3;font-size:7px}
.ms-auth-card{align-self:stretch;padding:67px 55px 35px;border-right:1px solid rgba(255,255,255,.11);background:#fff;box-shadow:-30px 0 70px rgba(0,12,32,.12)}.ms-auth-card-head{display:flex;align-items:center;gap:14px;margin-bottom:24px}.ms-auth-icon{width:52px;height:52px;flex:0 0 52px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#e9f1ff,#e7faf3);color:#2168db;font-size:18px;box-shadow:inset 0 0 0 1px #dbe6f3}.ms-auth-card-head span{color:#0eae76;font-size:9px;font-weight:800}.ms-auth-card-head h2{margin:3px 0 4px!important;color:#102039!important;font-family:"Pinar","IRANYekan",sans-serif!important;font-size:23px!important;line-height:1.5!important}.ms-auth-card-head p{margin:0;color:#718096;font-size:10px}.ms-auth-card .alert{border-radius:11px!important;font-size:10px!important}.ms-auth-field{margin-bottom:17px}.ms-auth-field label{display:block;margin-bottom:7px;color:#314159;font-size:10px;font-weight:800}.ms-auth-label-row{display:flex;align-items:center;justify-content:space-between}.ms-auth-label-row a{color:#286be0;font-size:9px}.ms-auth-input{position:relative}.ms-auth-input>i{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#8aa0b8;font-size:12px;z-index:2}.ms-auth-input input{width:100%!important;height:48px!important;padding:7px 42px 7px 42px!important;border:1px solid #dce5ef!important;border-radius:12px!important;background:#f8fafc!important;color:#1d2c42!important;font-family:"IRANYekan",sans-serif!important;font-size:11px!important;text-align:right!important;direction:ltr!important;box-shadow:none!important;transition:.2s}.ms-auth-input input:focus{border-color:#70a0ea!important;background:#fff!important;box-shadow:0 0 0 4px rgba(40,107,224,.08)!important}.ms-password-toggle{position:absolute;left:8px;top:7px;width:34px;height:34px;border:0;border-radius:9px;background:#edf3fa;color:#6c8199;cursor:pointer}.ms-auth-remember{display:flex!important;align-items:center;gap:8px;margin:3px 0 18px;color:#526278!important;font-size:9px!important;cursor:pointer}.ms-auth-remember input{position:absolute;opacity:0}.ms-auth-remember span{width:19px;height:19px;border:1px solid #d6e0eb;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:transparent;font-size:8px}.ms-auth-remember input:checked+span{border-color:#16ac77;background:#16ac77;color:#fff}.ms-auth-submit{width:100%;height:49px;padding:0 18px;border:0;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#2d70e9,#2459c9);color:#fff;font-family:"IRANYekan",sans-serif;font-size:11px;font-weight:850;box-shadow:0 13px 25px rgba(40,107,224,.23);cursor:pointer;transition:.2s}.ms-auth-submit:hover{transform:translateY(-2px);box-shadow:0 17px 30px rgba(40,107,224,.29)}.ms-auth-submit i{font-size:10px}.ms-auth-divider{position:relative;margin:14px 0;text-align:center}.ms-auth-divider:before{content:"";position:absolute;right:0;left:0;top:50%;height:1px;background:#e4eaf1}.ms-auth-divider span{position:relative;padding:0 10px;background:#fff;color:#8795a7;font-size:8px}.ms-auth-register{margin-top:19px;padding:12px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:8px;background:#f5f8fc;color:#728096;font-size:9px}.ms-auth-register a{color:#1269dc!important;font-weight:800}.ms-auth-register i{margin-right:4px}.ms-auth-security{margin-top:15px;text-align:center;color:#8c9aab;font-size:8px}.ms-auth-security i{color:#18b37b;margin-left:5px}.ms-auth-captcha{margin:10px 0;overflow:hidden}.ms-auth-captcha .form-group{margin-bottom:10px}.ms-auth-card .social-login-group .btn{border-radius:10px!important}
.ms-auth-footer{position:relative;z-index:2;max-width:1230px;margin:18px auto 0;display:flex;gap:20px;align-items:center;color:#8098b1;font-size:8px}.ms-auth-footer span{margin-left:auto}.ms-auth-footer a{color:#a7bdd2!important}
@media(max-width:1000px){.ms-auth-page{padding:24px}.ms-auth-shell{grid-template-columns:1fr;max-width:620px}.ms-auth-showcase{padding:42px 42px 36px}.ms-auth-card{padding:45px 42px;border-right:0;border-top:1px solid rgba(255,255,255,.1)}.ms-auth-server-visual{display:none}.ms-auth-showcase h1{font-size:30px}.ms-auth-points{margin-top:25px}}
@media(max-width:600px){.ms-auth-page{padding:17px 12px}.ms-auth-brand{margin-bottom:14px}.ms-auth-brand img{width:43px;height:43px}.ms-auth-shell{border-radius:21px}.ms-auth-showcase{padding:31px 22px}.ms-auth-showcase h1{font-size:24px;margin-top:18px}.ms-auth-points{grid-template-columns:1fr}.ms-auth-card{padding:32px 21px}.ms-auth-card-head h2{font-size:19px!important}.ms-auth-footer{justify-content:center;flex-wrap:wrap}.ms-auth-footer span{width:100%;margin:0;text-align:center}}

/* Auth v2 field alignment corrections */
.ms-auth-form,.ms-auth-field{direction:rtl!important;text-align:right!important}
.ms-auth-field>label{float:none!important;display:block!important;width:100%!important;margin:0 0 8px!important;text-align:right!important;direction:rtl!important}
.ms-auth-label-row{width:100%!important;direction:rtl!important;text-align:right!important}
.ms-auth-label-row>label{float:none!important;width:auto!important;margin:0 0 8px!important;text-align:right!important}
.ms-auth-label-row>a{margin-right:auto!important;margin-left:0!important;text-align:left!important}
.ms-auth-input{direction:rtl!important}
.ms-auth-input #inputEmail{direction:ltr!important;text-align:left!important;padding-right:43px!important;padding-left:14px!important;font-family:Inter,"IRANYekan",sans-serif!important;letter-spacing:.1px}
.ms-auth-input #inputEmail::placeholder{direction:ltr;text-align:left;color:#9aa9ba}
.ms-auth-input #inputPassword{direction:ltr!important;text-align:left!important;padding-right:43px!important;padding-left:48px!important}
.ms-auth-input>i{right:14px!important;left:auto!important}
.ms-auth-field:focus-within>label,.ms-auth-field:focus-within .ms-auth-label-row>label{color:#1f65d1!important}
.ms-auth-field:focus-within .ms-auth-input>i{color:#2569d9!important}

/* Auth v3: Persian RTL showcase and login emblem */
.ms-auth-showcase{direction:rtl!important;text-align:right!important}
.ms-auth-showcase h1,.ms-auth-showcase>p{direction:rtl!important;text-align:right!important;unicode-bidi:plaintext}
.ms-auth-showcase h1{font-family:"Pinar","IRANYekan",Tahoma,sans-serif!important;font-weight:850!important}
.ms-auth-showcase>p{margin-right:0!important;margin-left:auto!important;font-family:"IRANYekan",Tahoma,sans-serif!important}
.ms-auth-intro-row{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:11px;direction:rtl;margin-bottom:4px}
.ms-auth-login-mark{position:relative;width:45px;height:45px;flex:0 0 45px;border:1px solid rgba(91,230,183,.28);border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,rgba(37,196,145,.2),rgba(45,112,230,.14));color:#68e5b8;font-size:17px;box-shadow:0 10px 25px rgba(0,10,28,.2),inset 0 0 20px rgba(91,230,183,.045)}
.ms-auth-login-mark:before{content:"";position:absolute;inset:-5px;border:1px solid rgba(91,230,183,.1);border-radius:17px}
.ms-auth-login-mark span{position:absolute;left:5px;top:5px;width:7px;height:7px;border:2px solid #0c2a43;border-radius:50%;background:#48dda9;box-shadow:0 0 10px #48dda9}
.ms-auth-badge{direction:rtl!important;text-align:right!important}
.ms-auth-points{direction:rtl!important}.ms-auth-points>div{direction:rtl!important;text-align:right!important}.ms-auth-points span,.ms-auth-points strong,.ms-auth-points small{direction:rtl!important;text-align:right!important}
.ms-auth-server-visual{direction:ltr!important;text-align:left!important}.ms-auth-server-head,.ms-auth-server-row,.ms-auth-server-foot{direction:ltr!important}
.ms-auth-card,.ms-auth-card-head,.ms-auth-register,.ms-auth-security{direction:rtl!important;text-align:right!important}.ms-auth-card-head h2,.ms-auth-card-head p,.ms-auth-card-head span{text-align:right!important;direction:rtl!important}
@media(max-width:600px){.ms-auth-intro-row{align-items:flex-start}.ms-auth-login-mark{width:40px;height:40px;flex-basis:40px}.ms-auth-badge{white-space:normal;line-height:1.7}}
