/**
 * @file
 * Spacing for the sign-in outcome and unavailable messages.
 *
 * Colours and type come from the page's theme, and the buttons carry the
 * theme's own button classes (e-btn e-btn--secondary). On checkout the
 * outcome sits after the link that opened the sign-in pop-up (BIT-11491).
 */

.bkr-keycloak-widget__outcome {
  margin: 0.75rem 0;
}

.bkr-keycloak-widget__outcome p {
  margin: 0 0 0.5rem;
}

.bkr-keycloak-widget__error .bkr-keycloak-widget__retry {
  display: block;
  margin-top: 0.5rem;
}

.bkr-keycloak-widget__retry {
  cursor: pointer;
}

/* The widget's form while the page has no nonce for it (BIT-11634). */
[data-bkr-keycloak-widget] keycloak-widget[inert] {
  opacity: 0.5;
}

.bkr-keycloak-widget__waiting {
  margin: 0.75rem 0;
}
