.fynex-auth-feedback.fynex-account-help {
  box-sizing: border-box;
  container: signup-account-help / inline-size;
  margin: 14px 0;
  padding: clamp(14px, 4vw, 20px);
  border: 1px solid var(--input-border-color);
  border-radius: 14px;
  background: var(--subheader-background-color);
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--subheader-background-color) 92%, var(--primary-cta-color)),
    var(--subheader-background-color) 75%);
  box-shadow: 0 8px 20px var(--shadow-color-level-2);
  color: var(--primary-text-color);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.fynex-account-help .fynex-auth-feedback__title {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  margin-block-end: 6px;
}

.fynex-account-help__details {
  margin: 8px 0 0;
  font-size: 13px;
}

.fynex-account-help .fynex-account-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 14px;
}

.fynex-account-help .fynex-account-help__actions > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--input-border-color);
  border-radius: 9px;
  background: var(--input-background-color);
  color: var(--primary-text-color);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.fynex-account-help .fynex-account-help__actions > a[hidden] {
  display: none;
}

.fynex-account-help .fynex-account-help__actions > a:first-child,
.fynex-account-help--restricted .fynex-account-help__actions > a:last-child {
  border-color: #5836bd;
  background: linear-gradient(120deg, #5c36bd, #2952a6);
  color: #fff;
}

.fynex-account-help .fynex-account-help__actions > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fynex-account-help .fynex-account-help__actions > a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

@container signup-account-help (max-width: 390px) {
  .fynex-account-help .fynex-account-help__actions > a {
    flex-basis: 100%;
  }
}

/* Apply the feedback treatment to application validation and submission errors. */
body :is(.pg-sign-up-screen, .pg-sign-in-screen) :is(.cr-sign-up-form__error, .cr-sign-up-form__error-message,
  .cr-sign-in-form__error, .cr-sign-in-form__error-message),
body :is(.cr-sign-up-form__error, .cr-sign-up-form__error-message,
  .cr-sign-in-form__error, .cr-sign-in-form__error-message, .cr-email-form__error, .cr-email-form__error-message,
  .ticket-email-error, .ticket-attachments__error, .fynex-verification-error),
body .pg-listing-request__result.is-error,
body:has(.cr-sign-up-form, .cr-sign-in-form, .cr-email-form, .pg-emailverification-container,
  .pg-listing-request) .pg-alerts .alert-danger {
  box-sizing: border-box;
  min-height: 0;
  padding: 9px 12px;
  border: 1px solid var(--input-border-color);
  border-inline-start: 3px solid var(--primary-cta-color);
  border-radius: 9px;
  background: var(--subheader-background-color);
  background: color-mix(in srgb, var(--subheader-background-color) 93%, var(--primary-cta-color));
  color: var(--primary-text-color);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body .pg-listing-request__result.is-error {
  padding: 14px 16px;
  border-radius: 14px;
}

body:has(.cr-sign-up-form, .cr-sign-in-form, .cr-email-form, .pg-emailverification-container,
  .pg-listing-request) .pg-alerts .alert-danger :is(.pg-alerts__content > strong, .pg-alerts__content > span, button) {
  color: inherit;
}
