/* Recovery screens share the existing NRI TDP auth card and form components. */
.auth-card [hidden] { display: none !important; }
.screen[data-route="forgot-password"] .section-kicker,
.screen[data-route="reset-password"] .section-kicker { color: var(--yellow-deep); }
.auth-recovery-card { position: relative; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 22px 54px rgba(0,0,0,.09); }
.auth-recovery-card::before { content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px; background: linear-gradient(90deg,var(--yellow),var(--red-primary)); }
.auth-recovery-copy { margin: 12px 0 4px; color: var(--text); font-size: 14px; line-height: 1.55; }
.auth-recovery-link { margin: 13px 0 0; font-size: 13px; text-align: right; }
.screen[data-route="login"] .auth-recovery-link { grid-column: 1 / -1; margin: -6px 0 0; }
.screen[data-route="login"] #loginError { grid-column: 1 / -1; width: 100%; box-sizing: border-box; }
.auth-recovery-link a { color: var(--red-primary); font-weight: 800; }
.auth-recovery-link a:focus-visible,
.auth-password-toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.auth-password-toggle { justify-self: start; margin: -7px 0 1px; padding: 5px 0;
  border: 0; background: none; color: var(--red-primary); font: inherit;
  font-size: 12px; font-weight: 800; cursor: pointer; }
.auth-password-hint { margin: -2px 0 0; color: var(--muted); font-size: 12px; }
.auth-success { margin: 14px 0 0; padding: 10px 13px; border-radius: 10px;
  border: 1px solid #eac447; background: var(--yellow-soft); color: var(--ink);
  font-size: 13px; font-weight: 700; line-height: 1.5; }
.auth-recovery-card .app-form input { border-color: #e3e3e3; }
@media (max-width: 520px) {
  .auth-recovery-card h2 { font-size: 26px; }
  .auth-recovery-link { text-align: left; }
}
