body[data-layout=auth]{--auth-ink:#080c14;--auth-ink-2:#101925;--auth-surface:rgba(18,27,40,.92);--auth-border:rgba(212,175,55,.18);--auth-gold:#d4af37;--auth-gold-light:var(--ms-accent-text);--auth-text:var(--ms-text);--auth-muted:var(--ms-text-muted);--auth-field:#0b121d}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Vazirmatn,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html{background-color:#0b1018;color:#f8fafc}body.ms-layout[data-layout=auth]{color:var(--ms-text);background-color:var(--ms-page)}body.ms-layout[data-layout=auth] .ms-layout-main{background-color:transparent;color:var(--ms-text)}body.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;color:var(--auth-text);background:radial-gradient(circle at 18% 18%,rgba(212,175,55,.13),transparent 28%),radial-gradient(circle at 85% 82%,rgba(39,61,91,.38),transparent 34%),linear-gradient(145deg,#070b12,#0c131f 58%,#080d15)}.auth-frame{width:min(100%,1040px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:18px;align-items:stretch}.auth-visual{color:var(--ms-text);position:relative;overflow:hidden;min-height:620px;padding:38px;border:1px solid rgba(212,175,55,.16);border-radius:30px;background:linear-gradient(150deg,#121b28d1,#070c14e6);box-shadow:0 28px 80px #00000057,inset 0 1px #ffffff0a}.auth-visual:before{content:"";position:absolute;inset:18%;border:1px solid rgba(212,175,55,.08);transform:rotate(45deg);border-radius:28px}.auth-visual:after{content:"";position:absolute;inset:auto -15% -26% auto;width:300px;height:300px;border-radius:50%;background:#d4af3714;filter:blur(10px)}.auth-brand{position:relative;z-index:1;display:flex;align-items:center;gap:14px}.auth-crest{width:56px;height:56px;display:grid;place-items:center;border:1px solid rgba(212,175,55,.38);border-radius:17px;background:linear-gradient(145deg,#171f2d,#090e16);box-shadow:0 10px 30px #00000047}.auth-brand-name{font-size:1.14rem;font-weight:900;color:#f4df9a}.auth-brand-sub{margin-top:2px;color:var(--ms-text-muted);font-size:.58rem;letter-spacing:.14em}.auth-copy{position:relative;z-index:1;margin-top:96px;max-width:500px}.auth-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#e3c968;font-size:.67rem;font-weight:800;letter-spacing:.12em}.auth-eyebrow:before{content:"";width:24px;height:1px;background:linear-gradient(90deg,transparent,#d4af37)}.auth-copy h1{margin:14px 0;font-size:clamp(2rem,4vw,3.5rem);line-height:1.18;letter-spacing:-.03em}.auth-copy p{margin:0;color:#a8b4c4;font-size:.92rem;line-height:1.9;max-width:430px}.auth-benefits{position:absolute;z-index:1;right:38px;left:38px;bottom:34px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.auth-benefit{padding:12px;border:1px solid rgba(255,255,255,.06);border-radius:14px;background:#ffffff06}.auth-benefit strong{display:block;color:#e9d486;font-size:.72rem}.auth-benefit span{display:block;margin-top:4px;color:var(--ms-text-muted);font-size:.6rem;line-height:1.55}.auth-card{color:var(--ms-text);position:relative;display:flex;flex-direction:column;justify-content:center;min-height:620px;padding:34px;border:1px solid var(--auth-border);border-radius:30px;background:linear-gradient(180deg,#111925f7,#0a1019f7);box-shadow:0 28px 80px #0000005c,inset 0 1px #ffffff0a}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;border:1px solid rgba(255,255,255,.06);border-radius:14px;background:#ffffff06}.auth-tab{min-height:42px;border:1px solid transparent;border-radius:10px;color:var(--ms-text-muted);background:transparent;font-size:.78rem;font-weight:800}.auth-tab.is-active{color:#151b25;background:linear-gradient(145deg,#f0d47a,#c99c33)}.auth-title{margin:26px 0 7px;font-size:1.55rem;line-height:1.3}.auth-subtitle{margin:0 0 24px;color:var(--auth-muted);font-size:.77rem;line-height:1.75}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-field{display:flex;flex-direction:column;gap:7px}.auth-field label{font-size:.71rem;font-weight:800;color:#bcc7d5}.auth-input-wrap{position:relative}.auth-input{width:100%;min-height:52px;padding:0 15px;border:1px solid #64748b;border-radius:15px;background:var(--auth-field);color:#f3f6fa;font-size:.95rem;direction:ltr;text-align:left;transition:border-color .2s,box-shadow .2s}.auth-input::placeholder{color:var(--ms-placeholder)}.auth-input:focus{outline:3px solid #f1dc9b;outline-offset:2px;border-color:#f1dc9b;box-shadow:0 0 0 3px #d4af3726}.auth-input.otp{text-align:center;letter-spacing:.42em;font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:900}.auth-actions{display:flex;flex-direction:column;gap:9px;margin-top:2px}.auth-primary,.auth-secondary{width:100%;min-height:50px;border-radius:15px;font-weight:900}.auth-primary{border:1px solid rgba(255,239,181,.18);background:linear-gradient(145deg,#efd37a,#c99c33 70%,#a6791f);color:#111821;box-shadow:0 12px 28px #c99c332b}.auth-secondary{border:1px solid #64748b;background:#1b2635;color:#f8fafc}.auth-note{margin-top:12px;color:var(--ms-text-muted);font-size:.62rem;line-height:1.65}.auth-note strong{color:#cdb35f}.auth-message{min-height:20px;margin:0;color:var(--ms-text-muted);font-size:.68rem;line-height:1.55}.auth-message.is-error{color:var(--ms-danger-text);background:var(--ms-danger-surface);border-inline-start:3px solid var(--ms-danger-text);border-radius:8px;padding:8px 10px}.auth-message.is-success{color:var(--ms-success-text);background:var(--ms-success-surface);border-inline-start:3px solid var(--ms-success-text);border-radius:8px;padding:8px 10px}.auth-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:18px;color:var(--ms-text-muted);font-size:.67rem}.auth-back:hover{color:#f1dc9b}.auth-step[hidden],.auth-secondary[hidden]{display:none}.auth-timer{color:#d7c575;font-size:.66rem}@media(max-width:860px){body.auth-page{padding:12px}.auth-frame{grid-template-columns:1fr}.auth-visual{display:none}.auth-card{min-height:auto;padding:28px 20px;border-radius:24px}}@media(max-width:420px){.auth-card{padding:24px 16px}.auth-title{font-size:1.32rem}.auth-input{min-height:50px}}.auth-form[hidden]{display:none!important}.auth-secondary:disabled{opacity:1;background:#1b2635;color:#cbd5e1;border-color:#64748b;cursor:not-allowed}.auth-primary:disabled{opacity:1;background:#d9c78c;color:#0f172a;border-color:#d9c78c;box-shadow:none;cursor:not-allowed}body[data-layout=auth] :is(.auth-tab,.auth-primary,.auth-secondary,.auth-back):focus-visible{outline:3px solid #f1dc9b;outline-offset:3px}body[data-layout=auth] .auth-tab:not(.is-active):is(:hover,:focus-visible){background:#1b2635;color:#f8fafc;border-color:#94a3b8}body[data-layout=auth] .auth-secondary:not(:disabled):is(:hover,:active){background:#334155;color:#fff;border-color:#94a3b8}body[data-layout=auth] .auth-back{text-decoration:none}body[data-layout=auth] .auth-timer{color:#fde68a;font-weight:700}body[data-layout=auth] .auth-note strong{color:#f1dc9b}body[data-layout=auth] .auth-message:not(.is-error):not(.is-success){color:var(--ms-text-muted)}body[data-layout=auth] .auth-field label{color:#f8fafc}body[data-layout=auth] .auth-input:disabled{background:#1b2635;color:#cbd5e1;opacity:1}body[data-layout=auth] .auth-frame>:is(.auth-visual,.auth-card),body[data-layout=auth] .auth-card :is(.auth-tabs,.auth-tab,.auth-title,.auth-subtitle,.auth-form,.auth-field,.auth-actions){min-width:0;max-width:100%}body[data-layout=auth] .auth-card :is(.auth-title,.auth-subtitle,.auth-message,.auth-note){overflow-wrap:anywhere}body[data-layout=auth] .auth-card .auth-actions--verify{flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:10px}body[data-layout=auth] .auth-card .auth-actions--verify .auth-primary{flex:1 1 100%;min-width:0}body[data-layout=auth] .auth-card .auth-actions--verify .auth-secondary{box-sizing:border-box;flex:1 1 135px;width:auto;min-width:0;max-width:100%;padding:10px 12px;font:inherit;font-size:.81rem;font-weight:800;line-height:1.6;white-space:normal;overflow-wrap:anywhere;text-align:center}body[data-layout=auth] .auth-card .auth-otp-status{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 10px;min-width:0;max-width:100%;margin:10px 0 0;color:var(--ms-text-muted);font-size:.77rem;line-height:1.85}body[data-layout=auth] .auth-card .auth-otp-recipient{display:inline;min-width:0;overflow-wrap:anywhere}body[data-layout=auth] .auth-card .auth-otp-recipient strong{display:inline-block;color:#f1dc9b;direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}body[data-layout=auth] .auth-card .auth-otp-status .auth-timer{display:inline-flex;min-width:0;color:#fde68a;font-size:.77rem;font-weight:700;line-height:1.75;white-space:normal}body[data-layout=auth] .auth-card #auth-message{max-width:100%;min-height:0;margin-top:16px;font-size:.81rem;line-height:1.85;white-space:normal}body[data-layout=auth] .auth-card .auth-field-error{display:block;max-width:100%;margin:0;font-size:.78rem;line-height:1.8}body[data-layout=auth] .auth-card .auth-error-summary{box-sizing:border-box;max-width:100%;margin:0 0 12px;padding:12px 14px;border:1px solid var(--ms-danger-text);border-radius:12px;background:var(--ms-danger-surface);color:var(--ms-danger-text);font-size:.81rem;line-height:1.8;overflow-wrap:anywhere}body[data-layout=auth] .auth-card .auth-error-summary ul{margin:8px 0 0;padding-inline-start:20px}body[data-layout=auth] .auth-card .auth-error-summary :is(a,span){color:inherit;overflow-wrap:anywhere}body[data-layout=auth] .auth-card .auth-error-summary a:focus-visible{outline:3px solid #f1dc9b;outline-offset:3px}@media(max-width:420px){body[data-layout=auth] .auth-card .auth-actions--verify{gap:8px}body[data-layout=auth] .auth-card .auth-actions--verify .auth-secondary{flex-basis:125px;padding:10px 9px;font-size:.78rem}body[data-layout=auth] .auth-card .auth-otp-status{font-size:.76rem}}body[data-layout=auth] a,body[data-layout=auth] a:is(:link,:visited,:hover,:focus,:focus-visible,:active){text-decoration:none}
