/* result */
.pfah-done,
.pfah-error {
  opacity: 1;
  z-index: -2;
}

.pfah-error,
.pfah-done {
  left: 50%;
  line-height: 1.25rem;
  margin-top: 1rem;
  max-height: 0;
  overflow: hidden;
  transform: translateX(-50%);
  width: 100%;
  position: absolute;
}

.pfah-wrapper[data-error="keep"] .pfah-error {
  max-height: none;
  position: relative;
}
.pfah-wrapper[data-error="keep"] .pfah-error::before {
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}
.pfah-result-done .pfah-done,
.pfah-result-error .pfah-error {
  opacity: 1;
  z-index: 2;
  max-height: 5rem;
}

.msg-container {
  margin-bottom: 0;
  transition: ease all 500ms;
}
