/* Manual adaptation of HeroUI v3 Input, Checkbox, Button and Surface styles.
 * Sources: github.com/heroui-inc/heroui/tree/v3/packages/styles/components
 * HeroUI is Apache-2.0 licensed; see ../reference/heroui-registration/LICENSE. No React or component library dependency. */
.auth-register-page{background:#111!important;color:#fafafa}.auth-register-shell{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:32px 20px}html body .auth-register{position:relative;width:100%;max-width:440px;padding:30px;background:#18181b;color:#fafafa;border:1px solid #ffffff0b;border-radius:24px;box-shadow:0 16px 48px #0002;box-sizing:border-box;text-align:left;margin:0}html body .auth-register h1{color:#fafafa!important;font-size:25px!important;font-weight:500!important;letter-spacing:-.035em;line-height:1.3;text-align:left!important;margin:0 0 27px!important}html body .auth-register-form{display:flex;flex-direction:column;gap:18px;margin:0}.auth-register-field{min-width:0}.auth-register-field>label{display:block;font-size:13px;line-height:20px;font-weight:500;color:#f4f4f5;margin-bottom:7px}.auth-register-required{margin-left:3px;color:#f31260}.auth-register .auth-register-input{display:block;width:100%;min-width:0;box-sizing:border-box;min-height:44px;padding:11px 13px;border:1px solid #ffffff06!important;border-radius:12px!important;background:#27272a!important;color:#fafafa!important;font:400 14px/20px 'Google Sans',sans-serif!important;outline:none!important;box-shadow:none!important;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;color-scheme:dark}.auth-register .auth-register-input:hover{background:#303033!important}.auth-register .auth-register-input:focus{border-color:#008fff!important;box-shadow:0 0 0 2px #008fff30!important}.auth-register .auth-register-input[aria-invalid=true]{border-color:#f31260!important}.auth-register .auth-register-input::placeholder{color:#71717a}.auth-register .auth-register-input:autofill{background:#27272a!important;color:#fafafa!important}.auth-register .auth-register-input:-webkit-autofill,.auth-register .auth-register-input:-webkit-autofill:hover,.auth-register .auth-register-input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #27272a inset!important;-webkit-text-fill-color:#fafafa!important;caret-color:#fafafa}.auth-register textarea{resize:vertical}.auth-register-password{position:relative}.auth-register-password .auth-register-input{padding-right:45px}.auth-register .auth-register-reveal{position:absolute;top:3px;right:4px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:transparent;color:#a1a1aa;cursor:pointer}.auth-register-reveal:hover{color:#fafafa;background:#ffffff08}.auth-register-help,.auth-register-error{display:block;font-size:11px;line-height:17px;margin:5px 0 0}.auth-register-help{color:#a1a1aa}.auth-register-error{color:#fa759b}.auth-register-error:empty{display:none}.auth-register .auth-register-check{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:12px;line-height:20px;color:#a1a1aa;margin:0;min-width:0}.auth-register .auth-register-check input{appearance:none!important;-webkit-appearance:none!important;position:relative!important;display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:1px 0 0!important;border:1.5px solid #71717a!important;border-radius:5px!important;background:transparent!important;box-shadow:none!important;cursor:pointer;opacity:1!important}.auth-register .auth-register-check input:checked{border-color:#008fff!important;background:#008fff!important}.auth-register .auth-register-check input:checked:after{content:'';position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.auth-register-check input[type=radio]{border-radius:50%!important}.auth-register-check input[type=radio]:checked:after{left:4px;top:4px;width:7px;height:7px;border:0;border-radius:50%;background:white;transform:none}.auth-register-options{display:flex;flex-direction:column;gap:10px}.auth-register .auth-register-submit,.auth-register .auth-register-provider{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;box-sizing:border-box;min-height:42px;padding:10px 14px;border:0;border-radius:999px;background:#008fff!important;color:white!important;font-size:14px;font-weight:500;line-height:20px;cursor:pointer;text-decoration:none!important}.auth-register-submit:hover{background:#0084eb!important}.auth-register-submit:active{transform:scale(.98)}.auth-register .auth-register-provider{background:#27272a!important;color:#fafafa!important;border:1px solid #ffffff08}.auth-register .auth-register-provider:hover{background:#303033!important}.auth-register-provider i{font-size:18px}.auth-register-provider img{object-fit:contain}.auth-register .auth-register-provider--discord i{color:#5865f2}.auth-register-providers{display:flex;flex-direction:column;gap:10px}.auth-register a{color:#59b3ff!important}.auth-register a:hover{text-decoration:underline}.auth-register-divider{display:flex;align-items:center;gap:14px;margin:22px 0;font-size:11px;color:#71717a}.auth-register-divider:before,.auth-register-divider:after{content:'';height:1px;flex:1;background:#ffffff12}.auth-register .auth-register-login{text-align:center;font-size:12px;color:#a1a1aa;line-height:20px;margin:22px 0 0}.auth-register-login a{margin-left:5px}.auth-register-alert,.auth-register-notice{padding:12px 14px;border-radius:12px;margin-bottom:20px;font-size:12px;line-height:19px;background:#f3126012;color:#ff9bb7;border:1px solid #f3126026}.auth-register-alert p{margin:0}.auth-register-notice{color:#a1a1aa;background:#008fff0c;border-color:#008fff22}.auth-register-captcha{display:flex;justify-content:center;max-width:100%;overflow:auto}.auth-register-close{display:none}.auth-register :is(input,button,a,select,textarea):focus-visible{outline:2px solid #008fff;outline-offset:3px}#registerModal .modal-dialog{width:calc(100% - 32px);max-width:440px!important;margin:32px auto}#registerModal .modal-content{padding:0!important;background:transparent!important;border:0!important;border-radius:24px!important;box-shadow:none!important;overflow:visible!important}#registerModal .register-menu:not(.auth-register){padding:0!important;background:transparent!important;margin:0!important}#registerModal .auth-register{max-width:none;max-height:calc(100dvh - 64px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3f3f46 transparent}#registerModal .auth-register-close{position:absolute;right:17px;top:17px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:transparent;border:0;border-radius:50%;color:#a1a1aa;cursor:pointer}#registerModal .auth-register-close:hover{background:#ffffff0a;color:white}@media(max-width:480px){.auth-register-shell{padding:20px 12px}.auth-register-shell .auth-register{padding:24px}.auth-register h1{padding-right:20px}#registerModal .auth-register{padding:24px}#registerModal .modal-dialog{margin:16px auto}#registerModal .auth-register{max-height:calc(100dvh - 32px)}}@media(prefers-reduced-motion:reduce){.auth-register *{transition:none!important}}

#loginModal .modal-dialog{width:calc(100% - 32px);max-width:440px!important;margin:32px auto}#loginModal .modal-content{padding:0!important;background:transparent!important;border:0!important;border-radius:24px!important;box-shadow:none!important;overflow:visible!important}#loginModal .login-menu:not(.auth-register){padding:0!important;background:transparent!important;margin:0!important}#loginModal .auth-register{max-width:none;max-height:calc(100dvh - 64px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3f3f46 transparent}#loginModal .auth-register-close{position:absolute;right:17px;top:17px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:transparent;border:0;border-radius:50%;color:#a1a1aa;cursor:pointer}#loginModal .auth-register-close:hover{background:#ffffff0a;color:white}
.auth-login-options{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.auth-login-options>a{font-size:12px}
@media(max-width:480px){#loginModal .auth-register{padding:24px;max-height:calc(100dvh - 32px)}#loginModal .modal-dialog{margin:16px auto}}

html body #loginModal .modal-dialog,html body #registerModal .modal-dialog { width:calc(100% - 32px)!important; max-width:440px!important; }
html body #loginModal .modal-content,html body #registerModal .modal-content,html body #loginModal .login-menu:not(.auth-register),html body #registerModal .register-menu:not(.auth-register) { background:transparent!important; border:0!important; padding:0!important; box-shadow:none!important; border-radius:24px!important; width:100%!important; }
html body .auth-register .auth-login-options { display:flex!important; align-items:center!important; justify-content:space-between!important; gap:12px; flex-wrap:nowrap; }
html body .auth-register .auth-login-options>a { display:inline!important; width:auto!important; margin:0!important; font-size:12px!important; white-space:nowrap; }
html body .auth-register .auth-login-options .auth-register-check { margin:0!important; }
html body :is(#loginModal,#registerModal) .auth-register-close { display:flex!important; }
html body .auth-register form input.auth-register-input:-webkit-autofill { border:1px solid #ffffff0b!important; outline:0!important; -webkit-box-shadow:0 0 0 1000px #27272a inset!important; -webkit-text-fill-color:#fafafa!important; }
html body .auth-register form input.auth-register-input:autofill { border-color:#ffffff0b!important; outline:0!important; }
html body .auth-register form input.auth-register-input:-webkit-autofill:focus { border-color:#008fff!important; }


.auth-register-modes{display:flex;gap:4px;padding:4px;border-radius:14px;background:#111;margin:-7px 0 24px}.auth-register .auth-register-modes a{display:flex;align-items:center;justify-content:center;flex:1;padding:9px 12px;border-radius:10px;color:#a1a1aa!important;font-size:13px;text-decoration:none!important}.auth-register .auth-register-modes a[aria-current=page]{background:#27272a;color:#fafafa!important}.header-account .header-account__login{color:#fafafa!important;text-decoration:none!important;min-height:38px;padding:8px 18px}

/* Keep autofill paint and borders consistent in both authentication forms. */
html body .auth-register :is(#form-login,#form-register) input.auth-register-input,
html body .auth-register :is(#form-login,#form-register) input.auth-register-input:is(:hover,:focus,:active,:autofill),
html body .auth-register :is(#form-login,#form-register) input.auth-register-input:-webkit-autofill {
 border:0!important;outline:0!important;background:#27272a!important;caret-color:#fafafa;
 box-shadow:0 0 0 1000px #27272a inset!important;-webkit-box-shadow:0 0 0 1000px #27272a inset!important;-webkit-text-fill-color:#fafafa!important;
}
html body .auth-register :is(#form-login,#form-register) input.auth-register-input:focus {
 box-shadow:0 0 0 1000px #27272a inset,0 0 0 2px #008fff50!important;-webkit-box-shadow:0 0 0 1000px #27272a inset,0 0 0 2px #008fff50!important;
}
html body .auth-register :is(#form-login,#form-register) input.auth-register-input[aria-invalid=true] {
 box-shadow:0 0 0 1000px #27272a inset,0 0 0 1px #f31260!important;-webkit-box-shadow:0 0 0 1000px #27272a inset,0 0 0 1px #f31260!important;
}

html body .auth-register .auth-input-surface { position:relative; overflow:hidden; isolation:isolate; border-radius:12px; background:#27272a; transform:translateZ(0); }
html body .auth-register .auth-input-surface:focus-within { box-shadow:0 0 0 2px #008fff50; }
html body .auth-register .auth-input-surface:has([aria-invalid=true]) { box-shadow:0 0 0 1px #f31260; }
html body .auth-register .auth-input-surface input.auth-register-input { border-radius:0!important; }
html body .auth-register .auth-input-surface input.auth-register-input:focus { -webkit-box-shadow:0 0 0 1000px #27272a inset!important; box-shadow:0 0 0 1000px #27272a inset!important; }
