.fo-account-auth .form-row .fo-ui-input__helper,
.fo-account-auth .woocommerce-form-row .fo-ui-input__helper {
  margin: 0;
  color: var(--fo-color-feedback-error);
  font-family: 'Geologica';
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.fo-account-auth .fo-account-auth__legal,
.fo-account-auth .fo-account-auth__legal p {
  margin: 0;
  color: var(--fo-color-text-secondary);
  font-family: 'Geologica';
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.fo-account-auth .fo-account-auth__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fo-account-auth .input-text:-webkit-autofill,
.fo-account-auth .input-text:-webkit-autofill:hover,
.fo-account-auth .input-text:-webkit-autofill:focus,
.fo-account-auth textarea:-webkit-autofill,
.fo-account-auth textarea:-webkit-autofill:hover,
.fo-account-auth textarea:-webkit-autofill:focus,
.fo-account-auth select:-webkit-autofill,
.fo-account-auth select:-webkit-autofill:hover,
.fo-account-auth select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--fo-color-text-primary);
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 99999s ease-in-out 0s;
}

.fo-account-auth .form-row.fo-ui-input--error .input-text,
.fo-account-auth .woocommerce-form-row.fo-ui-input--error .input-text,
.fo-account-auth .form-row.fo-ui-input--error select,
.fo-account-auth .woocommerce-form-row.fo-ui-input--error select,
.fo-account-auth .form-row.fo-ui-input--error textarea,
.fo-account-auth .woocommerce-form-row.fo-ui-input--error textarea,
.fo-account-auth .fo-ui-input--error .password-input .input-text {
  border-width: 1.5px;
  border-color: var(--fo-color-feedback-error);
  background: var(--fo-color-feedback-error-bg);
}

.fo-account-auth .form-row.fo-ui-input--error .input-text:-webkit-autofill,
.fo-account-auth .form-row.fo-ui-input--error .input-text:-webkit-autofill:hover,
.fo-account-auth .form-row.fo-ui-input--error .input-text:-webkit-autofill:focus,
.fo-account-auth .woocommerce-form-row.fo-ui-input--error .input-text:-webkit-autofill,
.fo-account-auth .woocommerce-form-row.fo-ui-input--error .input-text:-webkit-autofill:hover,
.fo-account-auth .woocommerce-form-row.fo-ui-input--error .input-text:-webkit-autofill:focus,
.fo-account-auth .fo-ui-input--error .password-input .input-text:-webkit-autofill,
.fo-account-auth .fo-ui-input--error .password-input .input-text:-webkit-autofill:hover,
.fo-account-auth .fo-ui-input--error .password-input .input-text:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--fo-color-text-primary);
  -webkit-box-shadow: 0 0 0 1000px var(--fo-color-feedback-error-bg) inset;
}

.fo-account-auth-toast-stack {
  position: fixed;
  top: 140px;
  right: 16px;
  z-index: 9999;
  display: grid;
  gap: 12px;
  width: min(100% - 32px, 360px);
  pointer-events: none;
}

.fo-account-auth-toast {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 16px;
  border: 1px solid #d14b40;
  border-radius: 10px;
  background: #fdf3f2;
  box-shadow: 0 18px 40px rgba(17, 25, 44, 0.14);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.fo-account-auth-toast.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

.fo-account-auth-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #d14b40;
}

.fo-account-auth-toast__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.fo-account-auth-toast__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.fo-account-auth-toast__body strong,
.fo-account-auth-toast__message,
.fo-account-auth-toast__message p,
.fo-account-auth-toast__message li {
  font-family: 'Geologica';
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
}

.fo-account-auth-toast__body strong {
  color: #d14b40;
  font-weight: 500;
}

.fo-account-auth-toast__message,
.fo-account-auth-toast__message p,
.fo-account-auth-toast__message li {
  color: var(--fo-color-text-primary);
  font-weight: 400;
}

.fo-account-auth-toast__message p,
.fo-account-auth-toast__message ul {
  margin: 0;
}

.fo-account-auth-toast__message ul {
  padding-left: 16px;
}
