/* Shared inline validation alert from the My Screenings sign-in preview. */
.awards-form-alert,
.story .awards-form-alert,
#newsletter-signup .formkit-alert-success {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #306;
  color: #fff;
  border-radius: 6px;
  line-height: 1.5;
}

#newsletter-signup .formkit-alert-success {
  border: 0;
}

/* Embedded forms can arrange fields in a wrapping flex row. */
[data-element="fields"] > [role="alert"]:has(.awards-form-alert) {
  flex: 0 0 100%;
  min-width: 0;
}

/* Kit paragraphs inherit their text color from the enclosing element. */
[role="alert"]:has(> .awards-form-alert) {
  color: #fff;
}

[role="alert"]:has(> .awards-form-alert[hidden]) {
  display: none;
}
