/* ---- password reset dialog (rendered into body by UI.message_box) ---- */
.waio-auth-reset-lead {
  margin: 0 0 var(--waio-s-4);
  color: var(--waio-ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.waio-auth-reset .waio-form {
  margin: 0;
}

.waio-auth-reset-msg {
  min-height: 16px;
  margin: 6px 0 0;
  color: var(--waio-danger);
  font-size: 12.5px;
  line-height: 1.3;
}

.waio-auth-reset #cg_email.error .waio-input {
  border-color: var(--waio-danger);
}

.waio-auth-reset-done {
  padding: var(--waio-s-4) 0 var(--waio-s-2);
  color: var(--waio-success);
  text-align: center;
}

.waio-auth-reset-done p {
  margin: var(--waio-s-3) 0 0;
  color: var(--waio-ink-2);
  font-size: 14px;
  line-height: 1.5;
}

/* Bootstrap 2 centres .modal with a hard-coded width:560px and
   margin-left:-280px. _messagebox-adopt.scss clamps the width on a
   narrow screen but cannot touch that margin (message_box only
   re-centres from JS when the caller passes opts.center, which this
   one does not), so below ~584px the dialog hung off the left edge.
   Pinning both sides drops the negative margin out of the equation. */
@media (max-width: 584px) {
  .message-box.waio-auth-reset-dlg {
    top: 5vh;
    right: 12px;
    left: 12px;
    width: auto;
    margin: 0;
  }
}
