.recovery-link { display: block; margin: 18px auto 0; padding: 6px; border: 0; background: none; color: var(--text-soft); font: inherit; font-size: var(--type-body); cursor: pointer; text-decoration: none; }
.recovery-form [hidden], #password-recovery-form[hidden], #login-form[hidden], #forgot-password[hidden] { display: none !important; }
.recovery-form .form-group { margin-bottom: 20px; }
.recovery-form fieldset { border: 0; padding: 0; min-width: 0; }
.recovery-form label { display: block; color: #424245; font-size: var(--type-caption); font-weight: 700; margin-bottom: 8px; }
:is(#password-recovery-form, #recovery-email-form) input { display: block; width: 100%; height: 50px; background: #fafafa; border: 1px solid #e4e4e6; border-radius: 10px; padding: 0 15px; color: #1d1d1f; font: inherit; font-size: var(--type-body); }
:is(#password-recovery-form, #recovery-email-form) input:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0,113,227,.1); }
.recovery-form .btn-primary { width: 100%; min-height: 49px; margin-top: 9px; background: #1d1d1f; border-radius: 10px; font-weight: 600; }
.recovery-form .btn-primary:disabled { opacity: .6; cursor: wait; }
.recovery-hint, .recovery-status { font-size: var(--type-body); line-height: var(--leading-body); color: var(--text-soft); margin-top: 12px; overflow-wrap: anywhere; }
.recovery-status:empty { display: none; }
.recovery-status.recovery-error { color: var(--red); }
#recovery-email-dialog { margin: auto; width: min(420px, calc(100vw - 36px)); padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 16px 60px #0002; }
#recovery-email-dialog::backdrop { background: #0005; }
.recovery-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.recovery-dialog-heading h2 { font-size: var(--type-title); line-height: var(--leading-heading); font-weight: 700; }
.recovery-close { border: 0; background: transparent; color: var(--text-soft); font: inherit; font-size: var(--type-metric); width: 36px; height: 36px; cursor: pointer; }
#recovery-email-form { margin-top: 22px; }
.recovery-link:focus-visible, .recovery-close:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 4px; }
