/* Registration dialog alignment and visibility fixes */
.auth-dialog{box-sizing:border-box;position:fixed;width:min(430px,calc(100vw - 32px));max-width:430px;max-height:calc(100dvh - 32px);margin:auto;padding:26px;overflow-y:auto;overflow-x:hidden;text-align:left;background:#fff;color:#171a18;border:1px solid #e2e5e2;border-radius:22px;box-shadow:0 24px 80px #101a182b}
.auth-dialog[open]{display:block}
.auth-dialog::backdrop{background:#11191570;backdrop-filter:blur(5px)}
.auth-dialog[open]{z-index:1001}
.auth-heading{display:flex;align-items:center;gap:14px;margin:0 46px 22px 0}
.auth-heading>div:last-child{min-width:0}
.auth-dialog h2{margin:0 0 4px;font:700 20px/1.25 var(--display);letter-spacing:-.3px;color:#171a18}
.auth-description{margin:0;color:#778078;font:12px/1.45 var(--font)}
.auth-dialog .dialog-close{position:absolute;right:17px;top:17px;width:34px;height:34px;padding:0;display:grid;place-items:center;background:#f0f2f0;border:0;border-radius:10px;color:#59615b;font-size:22px;line-height:1}
.auth-dialog form{display:flex;flex-direction:column;gap:15px;margin:0}
.auth-field{display:block;min-width:0}
.auth-field[hidden],#username-field[hidden],#password-confirm-field[hidden]{display:none!important}
.auth-field label{display:flex;justify-content:space-between;align-items:center;margin:0 0 7px;color:#69736b;font:11px/1.4 var(--font)}
.auth-field label small{font-size:9px;color:#88918a}
.auth-input-wrap{box-sizing:border-box;width:100%;height:47px;display:flex;align-items:center;gap:11px;padding:0 13px;background:#f6f7f6;border:1px solid #dfe4df;border-radius:13px;color:#788079}
.auth-input-wrap:focus-within{border-color:#bd50e6;box-shadow:0 0 0 3px #bd50e619}
.auth-input-wrap>span{width:15px;flex:0 0 15px;text-align:center;font-size:14px;color:#7c867e}
.auth-input-wrap input{box-sizing:border-box;display:block;flex:1;min-width:0;width:0;height:100%;margin:0;padding:0;border:0;outline:0;background:transparent;color:#202521;font:12px var(--font);box-shadow:none}
.auth-input-wrap input::placeholder{color:#9ba39c;opacity:1}
.auth-input-wrap input:focus{outline:0;box-shadow:none}
.auth-input-wrap .password-toggle{flex:0 0 26px;width:26px;height:30px;padding:0;display:grid;place-items:center;color:#79817b;background:transparent;border:0}
.captcha-wrap{width:100%;min-width:0;text-align:center}
.captcha-wrap .h-captcha{width:100%;min-height:78px;display:flex;justify-content:center;overflow:hidden}
.captcha-wrap iframe{max-width:100%}
.captcha-wrap>small{display:block;margin-top:4px;color:#828a83;font-size:9px}
.auth-dialog .auth-submit{box-sizing:border-box;width:100%;height:49px;min-height:49px;margin:0;display:flex;justify-content:center;align-items:center;gap:11px;padding:0 16px;border:0;border-radius:13px;background:#c748ef;color:#fff;box-shadow:0 7px 22px #9d2ac333;font:700 12px var(--font);cursor:pointer}
.auth-dialog .auth-submit:hover{background:#b938e2}
.auth-message{min-height:16px;margin:8px 0 0;color:#a52dc4;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.auth-switch{margin:0;padding-top:14px;border-top:1px solid #e8eae8;color:#778078;font-size:11px}
.auth-switch button{padding:0;color:#ad36d1;font-weight:700}
.auth-dialog .forgot-password{display:none}
@media(max-width:480px){.auth-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:22px 19px;border-radius:19px}.auth-heading{margin-bottom:18px}.auth-dialog form{gap:13px}}
