@font-face{font-family:Rigure UI;src:url('../fonts/rigure/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
@font-face{font-family:Rigure Persian;src:url('../fonts/rigure/vazirmatn.ttf') format('truetype');font-weight:100 900;font-display:swap}
*{box-sizing:border-box}html{color-scheme:dark}body.rigure-auth-page{margin:0;min-height:100svh;padding:0 24px 28px;background:radial-gradient(ellipse at 50% 0,#211442,transparent 65%),#07091c;color:#f4f3ff;font:400 15px/1.55 'Rigure UI',system-ui,sans-serif}
html:is([lang=fa],[lang=ar]) body.rigure-auth-page{font-family:'Rigure Persian',system-ui,sans-serif}
.auth-header{max-width:1080px;margin:0 auto;min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px}.auth-brand{display:flex;align-items:center;gap:10px;color:#f4f3ff;text-decoration:none;font-size:25px;font-weight:750;order:-1}.auth-brand img{object-fit:contain}.auth-stage{position:relative;isolation:isolate;overflow:hidden;max-width:1040px;min-height:610px;margin:clamp(12px,5vh,70px) auto 0;display:grid;grid-template-columns:1fr 1fr;background:#11152b;color:#f4f3ff;border:1px solid #434468;border-radius:24px;box-shadow:0 24px 80px #0004;direction:ltr}
.auth-stage[aria-busy=true]{pointer-events:none}.auth-pane{grid-row:1;padding:56px 56px 44px;align-self:center;min-width:0;z-index:1}.auth-login{grid-column:1}.auth-register{grid-column:2}.auth-pane h1{margin:0 0 22px;font-size:26px;font-weight:750;letter-spacing:-.8px;line-height:1.25}.auth-pane h1:after{content:'';display:block;width:38px;height:2px;background:#a78bfa;margin-top:12px}.auth-intro{margin:-9px 0 27px;color:#b9bcd6}.field{margin:0 0 19px}label{display:block;font-size:13px;color:#b9bcd6;margin-bottom:4px}input{font:inherit;width:100%;min-height:42px;padding:7px 2px;border:0;border-bottom:1px solid #626a8c;border-radius:0;background:transparent;color:#f4f3ff;outline:none;box-shadow:none}input:focus{border-bottom:2px solid #b69cff;background:#1b2040}input[type=email]{direction:ltr;text-align:start}input:autofill{box-shadow:0 0 0 80px #1b2040 inset}.auth-password{display:flex;align-items:stretch;border-bottom:1px solid #626a8c}.auth-password input{border:0;min-width:0}.auth-password:focus-within{border-bottom:2px solid #b69cff}.auth-password button{flex:none;border:0;background:transparent;color:#c6afff;font:inherit;font-size:12px;font-weight:700;padding:0 10px;min-height:44px;cursor:pointer}.auth-recovery{text-align:end;font-size:13px;margin:0 0 22px}.auth-pane a{color:#c6afff;text-underline-offset:4px;text-decoration-thickness:1px;font-weight:650}.auth-submit{width:100%;min-height:49px;padding:12px 22px;border:0;border-radius:30px;background:linear-gradient(180deg,#8349ff,#6426df);box-shadow:0 5px 12px #7136ff26;color:#fff;font:inherit;font-weight:700;cursor:pointer}.auth-submit:hover{background:#8a55ff}.auth-submit:disabled{opacity:.6;cursor:wait}.auth-switch{font-size:13px;color:#b9bcd6;line-height:1.8;margin:23px 0 0}.auth-hint{font-size:12px;color:#b9bcd6;margin:7px 0 0}.auth-private{text-align:center;font-size:12px;color:#afb3d1;margin:26px 0 0}.auth-welcome{position:absolute;inset:0;background:radial-gradient(ellipse at 95% 0,#38166e,#101730 80%);clip-path:polygon(47% 0,100% 0,100% 100%,59% 100%);z-index:2;pointer-events:none}.auth-welcome:after{content:'';position:absolute;inset:0;background:#8c63db;clip-path:polygon(47% 0,47.15% 0,59.15% 100%,59% 100%)}.auth-welcome-copy{position:absolute;left:60%;right:6%;top:50%;transform:translateY(-50%);color:#c3bee3;max-width:310px}.auth-welcome-title{font-family:Georgia,'Times New Roman',serif;font-size:48px;line-height:1.08;letter-spacing:-1.5px;color:#f4f3ff;margin:24px 0}.auth-welcome-title em{color:#b69cff;font-weight:400}.auth-welcome-copy>p:last-child{font-size:14px;line-height:1.8}.auth-stage[data-auth-mode=register] .auth-welcome{clip-path:polygon(0 0,41% 0,53% 100%,0 100%)}.auth-stage[data-auth-mode=register] .auth-welcome:after{clip-path:polygon(41% 0,41.15% 0,53.15% 100%,53% 100%)}.auth-stage[data-auth-mode=register] .auth-welcome-copy{left:6%;right:60%}.auth-blade{position:absolute;z-index:3;inset:-1px -20%;background:linear-gradient(110deg,#101730,#38166e);border-inline:1px solid #8c63db;transform:translateX(120%) skewX(12deg);pointer-events:none;visibility:hidden}.auth-blade.is-moving{visibility:visible}.errors{padding:12px 14px;background:#351b35;border-inline-start:3px solid #f48ca6;color:#ffb6c5;margin-bottom:22px;border-radius:4px;font-size:13px}.errors p{margin:3px 0}[hidden]{display:none!important}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b69cff;outline-offset:4px}h1:focus{outline:none}html[dir=rtl] .auth-pane,html[dir=rtl] .auth-welcome-copy{direction:rtl}html[dir=rtl] .auth-welcome-title{letter-spacing:normal}
@media(max-width:820px){body.rigure-auth-page{padding:0 16px 24px}.auth-header{min-height:80px}.auth-stage{grid-template-columns:1fr;min-height:0;margin-top:12px;border-radius:20px;padding-top:150px}.auth-pane,.auth-register{grid-column:1;padding:30px 26px 36px}.auth-welcome,.auth-stage[data-auth-mode=register] .auth-welcome{height:160px;clip-path:polygon(0 0,100% 0,100% 82%,0 100%)}.auth-welcome:after,.auth-stage[data-auth-mode=register] .auth-welcome:after{clip-path:polygon(0 99%,100% 81%,100% 82%,0 100%)}.auth-welcome-copy,.auth-stage[data-auth-mode=register] .auth-welcome-copy{left:26px;right:26px;top:24px;transform:none;max-width:none}.auth-welcome-copy img{position:absolute;right:0;top:8px;width:44px;height:55px}.auth-welcome-title{font-size:34px;margin:0 58px 8px 0;letter-spacing:-.7px}.auth-welcome-title br{display:none}.auth-welcome-title em:before{content:' '}.auth-welcome-copy>p:last-child{font-size:12px;max-width:78%;margin:6px 0;line-height:1.5}.auth-pane h1{font-size:24px}.auth-private{margin-top:20px}.auth-intro{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:820px){html[dir=rtl] .auth-welcome-copy img{right:auto;left:0}html[dir=rtl] .auth-welcome-title{margin-right:0;margin-left:58px}html[dir=rtl] .auth-welcome-copy>p:last-child{margin-left:auto}}

input:autofill{color:#f4f3ff;-webkit-text-fill-color:#f4f3ff;caret-color:#b69cff}::selection{background:#7136ff;color:#fff}
.auth-private a{color:#c6afff;text-underline-offset:4px}
