.human-proof {
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #c7d4e4;
  border-radius: 6px;
  background: #f7f9fc;
}

.human-proof legend {
  padding: 0 6px;
  color: #22314b;
  font-size: 0.82rem;
  font-weight: 700;
}

.human-proof .human-proof__check {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #16243d;
  font-weight: 650;
  cursor: pointer;
}

.human-proof .human-proof__check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1557d5;
}

.human-proof__success {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #168247;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.55);
}

.human-proof__status {
  margin: 8px 0 0 28px;
  color: #5b6980;
  font-size: 0.82rem;
  line-height: 1.45;
}

.human-proof.is-ready {
  border-color: #8bc5a5;
  background: #f3faf6;
  animation: human-proof-ready 420ms ease-out;
}

.human-proof.is-ready .human-proof__success {
  opacity: 1;
  transform: scale(1);
  animation: human-proof-success 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.human-proof.is-ready .human-proof__status {
  color: #24623e;
}

.human-proof.is-working {
  border-color: #7fa4e5;
  background: #f2f6fd;
}

@keyframes human-proof-ready {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 130, 71, 0.28);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(22, 130, 71, 0);
  }
}

@keyframes human-proof-success {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  70% {
    opacity: 1;
    transform: scale(1.14);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .human-proof.is-ready,
  .human-proof.is-ready .human-proof__success {
    animation: none;
  }
}
