/* Conjurly UI Core: login feedback only. No changes to authentication styles. */
.cj-login-submitting {
  cursor: progress !important;
  opacity: .85;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
button.cj-login-submitting::before,
button.cj-login-submitting::after {
  content: none;
}
.cj-login-status {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin: .55em 0 0;
  font-family: var(--cj-font-sans, inherit);
  font-size: .875rem;
  line-height: 1.4;
  color: var(--cj-accent, #4c187e);
}
.cj-login-status::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: cj-login-spin .7s linear infinite;
}
@keyframes cj-login-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .cj-login-status::before { animation: none; border-right-color: currentColor; }
}

/* Keep any nested button label legible while authentication is pending. */
button.cj-login-submitting *,
.cj-login-submitting span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Community Events: put feedback on its own line beneath Sign In.
 * Other login forms retain their established spinner layout. */
form#tribe_events_community_login .cj-login-status {
  display: flex;
  width: fit-content;
  clear: both;
  margin: .7em 0 0;
}
