/* Scoped sign-in composition; no external font, animation library or image download. */
.auth-page{margin:0!important;min-height:100vh;background:#f6f6f8!important;color:#202026;font-family:Vazirmatn,Tahoma,Arial,sans-serif!important;display:block!important;padding:32px 24px!important;box-sizing:border-box}
.auth-page *{box-sizing:border-box}.auth-page [hidden]{display:none!important}
.auth-page .auth-shell{width:min(1040px,100%);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #e6e4e8;border-radius:24px;overflow:hidden;box-shadow:0 12px 50px #24152208}
.auth-page .auth-container{width:auto!important;max-width:none!important;margin:0!important;padding:38px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;min-width:0;text-align:start!important}
.auth-page .auth-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.auth-page .auth-brand{display:flex;gap:10px;align-items:center;color:#222!important;font-size:12px;font-weight:700}.auth-page .auth-brand img{width:44px;height:48px;object-fit:contain}.auth-page .auth-language{border:1px solid #dedbe1;border-radius:9px;padding:8px 12px;min-height:40px;display:inline-flex;align-items:center;color:#444!important;font-size:12px}
.auth-page h1{margin:0 0 10px!important;font-size:28px!important;line-height:1.6!important;color:#19191f!important}.auth-page .auth-intro{font-size:13px;line-height:1.9;color:#62616d;margin:0 0 24px!important}.auth-page .input-group{margin:0 0 17px!important;display:block!important}.auth-page label{display:block!important;font-size:12px!important;color:#36343d!important;font-weight:650;margin:0 0 8px!important}.auth-page input,.auth-page select{width:100%!important;min-height:49px!important;border:1px solid #d8d5dc!important;background:#fff!important;border-radius:10px!important;padding:11px 14px!important;font:inherit!important;font-size:15px!important;color:#222!important;box-shadow:none!important;margin:0!important}.auth-page input:focus,.auth-page select:focus{border-color:#b91028!important;outline:0;box-shadow:0 0 0 3px #b9102812!important}.auth-page input::placeholder{color:#8a8792;opacity:1}.auth-page input:is([type=tel],[autocomplete=one-time-code]){direction:ltr;text-align:start;letter-spacing:.04em}.auth-page #otp-input,.auth-page #forgot-code-input,.auth-page #signup-otp_code{letter-spacing:.24em;font-size:18px!important}
.auth-page button,.auth-page .telegram-entry{font:inherit!important;min-height:48px;box-shadow:none!important;border-radius:10px!important;font-size:13px!important;line-height:1.6;cursor:pointer;transition:background .15s,border-color .15s}.auth-page :is(button[type=submit],#telegram-start,#telegram-finish){width:100%;display:flex;align-items:center;justify-content:center;background:#b91028!important;border:1px solid #b91028!important;color:#fff!important;font-weight:750!important;padding:12px 15px!important;margin-top:12px!important}.auth-page button[type=button]:not(#telegram-start):not(#telegram-finish){width:100%;background:#fff!important;border:1px solid #d5cbd0!important;color:#a60d24!important;padding:11px 14px!important;margin:10px 0 0!important}.auth-page button:hover:not(:disabled){filter:brightness(.96)}.auth-page button:disabled{cursor:not-allowed;opacity:.62!important}.auth-page .status-msg,.auth-page #signup-status{font-size:12px;line-height:1.9;overflow-wrap:anywhere;margin:12px 0 0;min-height:0}.auth-page .status-msg:empty{display:none}
.auth-page .auth-secondary{margin-top:24px!important;padding-top:20px;border-top:1px solid #eeebf0}.auth-page .auth-secondary>a,.auth-page .auth-footer a,.auth-page .signup-footer a,.auth-page .telegram-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #e2dce2;border-radius:9px;background:#fff;padding:9px 12px;color:#8f1227!important;font-size:12px!important;line-height:1.7;text-decoration:none!important}.auth-page .auth-secondary>a{width:100%}.auth-page .auth-secondary #forgot-toggle-btn{border-color:transparent!important;color:#55515e!important;background:#f8f7f9!important}.auth-page #forgot-form{padding-top:20px}.auth-page .auth-footer,.auth-page .signup-footer{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;justify-content:center}.auth-page .auth-footer a{flex:1}.auth-page .auth-email-note{font-size:12px;line-height:1.8;color:#6d6875;margin:20px 0 0}
.auth-page .auth-visual{position:relative;background:#fbf6f7;border-inline-start:1px solid #eee2e6;display:flex;flex-direction:column;justify-content:center;padding:42px;overflow:hidden}.auth-page .auth-visual:before{content:'';position:absolute;inset:0;opacity:.25;background-image:radial-gradient(#b69ca8 1px,transparent 1px);background-size:22px 22px}.auth-page .auth-visual>*{position:relative}.auth-page .auth-visual svg{width:100%;max-width:330px;align-self:center;margin-bottom:30px}.auth-page .auth-visual h2{font-size:25px;line-height:1.7;color:#251c25;margin:0 0 12px}.auth-page .auth-visual p{font-size:14px;line-height:2;color:#69616c;margin:0}.auth-page .auth-visual .auth-visual-label{font-size:11px;letter-spacing:.08em;direction:ltr;text-align:start;color:#9e1932;font-weight:750;margin-bottom:12px}
.auth-page .telegram-otp-choice{padding:15px;border:1px solid #e6dee3;border-radius:12px;background:#fbf9fb;margin-top:18px!important}.auth-page .telegram-otp-choice select{background:#fff!important;cursor:pointer}.auth-page .telegram-otp-choice p{font-size:12px;line-height:1.9;color:#69616f;margin:12px 0}.auth-page .telegram-otp-choice a{display:flex;align-items:center;justify-content:center;border:1px solid #e1d5de;border-radius:8px;min-height:42px;padding:8px 11px;margin-top:8px;background:#fff;color:#93132a!important;font-size:12px}.auth-page .telegram-entry{border:1px solid #d9d3dd!important;background:#f8f7fa!important;color:#4d4659!important;display:flex;align-items:center;justify-content:center;margin:18px 0 0!important;padding:11px!important}
.otp-wait{display:flex;align-items:center;gap:13px;border:1px solid #eadde2;border-radius:12px;background:#fcf8fa;padding:12px 14px;margin:12px 0;font-family:Vazirmatn,Tahoma,Arial,sans-serif}.otp-wait[hidden]{display:none!important}.otp-clock{position:relative;flex:0 0 45px;width:45px;height:45px;display:grid;place-items:center;color:#a20d28}.otp-clock svg{position:absolute;inset:0;width:44px;height:44px;transform:rotate(-90deg);fill:none;stroke-width:3}.otp-clock .otp-track{stroke:#eddde4}.otp-clock .otp-progress{stroke:#b91028;stroke-dasharray:100;transition:stroke-dashoffset .8s linear}.otp-clock>span{font-size:26px;line-height:1}.otp-wait-copy{min-width:0;flex:1}.otp-wait .otp-phase{font-size:11px;color:#655565;margin:0!important;line-height:1.8}.otp-wait .otp-retry{font-size:21px;color:#90152b;line-height:1.7;font-variant-numeric:tabular-nums;display:block}.otp-wait .otp-valid{display:block;font-size:11px;line-height:1.7;color:#716672}.otp-wait .otp-valid time{display:inline-block;font-variant-numeric:tabular-nums}.otp-ready{background:#f7faf8;border-color:#dce8df}.otp-ready .otp-retry{font-size:14px;color:#28613b}.auth-page #login-form:has(#send-otp-btn[hidden])>#send-otp-btn-wait{display:none!important}
.auth-page .telegram-page{max-width:520px!important;width:100%!important;margin:0 auto!important;border:1px solid #e4dfe6!important;border-radius:22px!important;padding:32px!important}.auth-page .telegram-brand{background:#fff;border-radius:50%;padding:9px;border:1px solid #eee5e8;object-fit:contain}.auth-page .telegram-page p{font-size:13px;line-height:1.9}.auth-page .telegram-nav{gap:9px}.auth-page .telegram-link{border:1px solid #e3d9de!important;background:#faf7f8!important;color:#9c122a!important;padding:12px!important}.auth-page #telegram-code-box{background:#fcf8fa;border-color:#eadde2}.auth-page #telegram-code{color:#93152a}
@media(max-width:780px){.auth-page{padding:20px 14px!important}.auth-page .auth-shell{display:block;max-width:480px;border-radius:18px}.auth-page .auth-visual{display:none}.auth-page .auth-container{padding:25px 22px!important}.auth-page .auth-top{margin-bottom:24px}.auth-page h1{font-size:25px!important}.auth-page .auth-intro{font-size:13px}.auth-page .telegram-page{padding:25px 22px!important}.auth-page button,.auth-page .telegram-entry{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){.auth-page *,.otp-wait *{transition:none!important}}
.auth-page .auth-top .lang-toggle{border:1px solid #dedbe1;border-radius:9px;padding:8px 12px;min-height:40px;display:inline-flex;align-items:center;color:#444!important;font-size:12px}.auth-page button:disabled{box-shadow:none!important}.auth-page .auth-visual p{max-width:37ch}.auth-page #login-form .telegram-otp-choice{margin-bottom:17px!important}
