/* Forgot password and choose-a-new-password pages (forgot-password.html, reset-password.html).
   They reuse the login page's styles; these rules add only what those pages need. */
body.nh-reset-page .login-form .input-group + .input-group { margin-top: 14px; }
body.nh-reset-page .nh-reset-rules {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin: 16px 2px 0;
  padding: 0;
  color: #60829a;
  font-size: 12.5px;
  line-height: 1.4;
}
body.nh-reset-page .nh-reset-rules li { position: relative; padding-left: 20px; }
body.nh-reset-page .nh-reset-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 1.5px solid #9dbccf;
  border-radius: 50%;
}
body.nh-reset-page .nh-reset-rules li[data-met="true"] { color: #245b78; font-weight: 650; }
body.nh-reset-page .nh-reset-rules li[data-met="true"]::before {
  border-color: #3f8fb0;
  background: #3f8fb0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8.2 9 4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
body.nh-reset-page .nh-reset-done {
  margin: 23px 37px 0;  /* Same side margins as the form it replaces (nh-auth-feature-banner.css). */
  padding: 16px 18px;
  border: 1px solid #cfe4ef;
  border-radius: 12px;
  background: #eef7fb;
  color: #26738c;
  font-size: 14px;
  line-height: 1.55;
}
body.nh-reset-page .nh-reset-done p { margin: 0; }
body.nh-reset-page .nh-reset-done-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  text-decoration: none;
}
body.nh-reset-page .nh-reset-done:not([hidden]) ~ .signup-prompt { display: none; }  /* The box has its own button. */
@media (max-width: 700px) { body.nh-reset-page .nh-reset-done { margin: 21px 23px 0; } }
@media (max-width: 400px) { body.nh-reset-page .nh-reset-rules { grid-template-columns: 1fr; } }
@media (max-width: 390px) { body.nh-reset-page .nh-reset-done { margin-inline: 16px; } }
