.altcha-widget-wrap {
  margin-bottom: 1rem !important;
}

.forminator-pagination--content + .altcha-widget-wrap {
  margin-top: 1.5rem !important;
}

.altcha-widget-wrap .altcha-main {
  line-height: 1;
}

.altcha-widget-wrap .altcha-main svg {
  display: block;
}

.altcha-widget-wrap-wpdiscuz {
  display: flex;
  justify-content: end;
  margin-bottom: 0.5rem;
}

.altcha-widget-wrap-wpdiscuz > * {
  min-width: 260px;
}

.altcha-code-challenge {
  z-index: 9999999;
}

.altcha-code-challenge form {
  margin-bottom: 0 !important;
}

.login .altcha:not([data-floating]) {
  --altcha-max-width: 100%;
}

/* Invisible ALTCHA Mode - Default behavior */
.altcha-widget-wrap.invisible {
  display: none;
}

.altcha-widget-wrap.visible {
  display: block;
}

.altcha-widget-wrap.verifying::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #333;
  border-radius: 50%;
  animation: altcha-spin 0.6s linear infinite;
}

@keyframes altcha-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}