.cognito-authenticator-dialog{max-height:calc(100dvh - (var(--web-authenticator-space-6) * 2));gap:var(--web-authenticator-space-4);border:1px solid var(--web-authenticator-border);border-radius:var(--web-authenticator-radius-card);padding:calc(var(--web-authenticator-space-6) * 1.25);background:var(--web-authenticator-background);color:var(--web-authenticator-text);font-family:var(--font-sans);box-shadow:var(--web-authenticator-shadow-card);display:grid;overflow-y:auto}.cognito-authenticator-dialog,.cognito-authenticator-dialog *,.cognito-authenticator-dialog :before,.cognito-authenticator-dialog :after{box-sizing:border-box}.cognito-authenticator-dialog__close{top:var(--web-authenticator-space-4);right:var(--web-authenticator-space-4);color:var(--web-authenticator-text-muted);position:absolute}.cognito-authenticator-dialog__back{min-height:44px;color:var(--web-authenticator-primary);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:.35rem;padding:0 .25rem;font-size:1rem;font-weight:800;display:inline-flex}.cognito-authenticator-dialog__back-icon{flex:none;width:1.5rem;height:1.5rem}.cognito-authenticator-dialog__header{gap:.5rem;padding-right:3rem;display:grid}.cognito-authenticator-dialog__header h2,.cognito-authenticator-dialog__header p,.cognito-authenticator-dialog__message{margin:0}.cognito-authenticator-dialog__header h2{color:var(--web-authenticator-text);letter-spacing:-.025em;font-size:clamp(1.45rem,4vw,1.85rem);font-weight:900;line-height:1.1}.cognito-authenticator-dialog__header p{overflow-wrap:anywhere;color:var(--web-authenticator-text-muted);font-size:.96rem;font-weight:600;line-height:1.45}.cognito-authenticator-dialog__form,.cognito-authenticator-dialog__actions{gap:var(--web-authenticator-space-2);display:grid}.cognito-authenticator-dialog__autofill-username{display:none}.cognito-authenticator-dialog__field{gap:.5rem;display:grid}.cognito-authenticator-dialog__field>label{color:var(--web-authenticator-text);font-size:.86rem;font-weight:800}.cognito-authenticator-dialog__field-control{display:block;position:relative}.cognito-authenticator-dialog__field input{border:1px solid var(--web-authenticator-border-strong);border-radius:var(--web-authenticator-radius-control);background:var(--web-authenticator-background);width:100%;min-height:3rem;color:var(--web-authenticator-text);font:inherit;outline:none;padding:.72rem .88rem;font-size:1rem;font-weight:600}.cognito-authenticator-dialog__field input[aria-invalid=true]{border-color:var(--web-authenticator-error)}.cognito-authenticator-dialog__field-error{color:var(--web-authenticator-error);margin:-.25rem 0 0;font-size:.8rem;font-weight:700;line-height:1.35}.cognito-authenticator-dialog__field-control--password input{padding-right:3.25rem}.cognito-authenticator-dialog__password-toggle{border-radius:var(--web-authenticator-radius-control);width:2.75rem;min-height:2.75rem;color:var(--web-authenticator-text-muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:.25rem;translate:0 -50%}.cognito-authenticator-dialog__password-toggle:hover{color:var(--web-authenticator-primary)}.cognito-authenticator-dialog__field input:focus-visible,.cognito-authenticator-dialog__button:focus-visible,.cognito-authenticator-dialog__close:focus-visible,.cognito-authenticator-dialog__back:focus-visible,.cognito-authenticator-dialog__text-button:focus-visible,.cognito-authenticator-dialog__password-toggle:focus-visible{box-shadow:var(--web-authenticator-focus-ring);outline:none}.cognito-authenticator-dialog__button{border-radius:var(--web-authenticator-radius-control);min-height:3rem;font:inherit;cursor:pointer;padding:.72rem 1rem;font-size:.94rem;font-weight:800}.cognito-authenticator-dialog__button--primary{background:var(--web-authenticator-primary-gradient);color:var(--web-authenticator-primary-foreground);box-shadow:var(--web-authenticator-shadow-primary);border:0}.cognito-authenticator-dialog__button--secondary{border:1px solid var(--web-authenticator-border);background:var(--web-authenticator-background);color:var(--web-authenticator-text)}.cognito-authenticator-dialog__text-button{min-height:2.4rem;color:var(--web-authenticator-primary);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:center;padding-inline:.5rem;font-size:.86rem;font-weight:800}.cognito-authenticator-dialog__message{border-radius:var(--web-authenticator-radius-control);padding:.5rem var(--web-authenticator-space-4);font-size:.86rem;font-weight:700;line-height:1.4}.cognito-authenticator-dialog__message--error{background:var(--web-authenticator-error-soft);color:var(--web-authenticator-error)}.cognito-authenticator-dialog__message--notice{background:var(--web-authenticator-success-soft);color:var(--web-authenticator-success)}.cognito-authenticator-dialog button:disabled,.cognito-authenticator-dialog input:disabled{cursor:wait;opacity:.62}.cognito-authenticator-dialog .cognito-authenticator-dialog__button--primary:disabled{cursor:not-allowed;opacity:1;background:var(--web-authenticator-border);color:var(--web-authenticator-text-muted);box-shadow:none}@media (width<=32rem){.cognito-authenticator-dialog{top:auto;right:auto;bottom:max(.5rem, var(--web-authenticator-safe-bottom));max-height:calc(100dvh - var(--web-authenticator-safe-top) - var(--web-authenticator-safe-bottom) - .5rem - .5rem);padding:var(--web-authenticator-space-6);overscroll-behavior:contain;left:50%;translate:-50%}}@media (prefers-reduced-motion:no-preference){.cognito-authenticator-dialog__button,.cognito-authenticator-dialog__close{transition:box-shadow .15s,opacity .15s,transform .15s}.cognito-authenticator-dialog__button:active,.cognito-authenticator-dialog__close:active{transform:translateY(1px)}}
