.smartcaptcha-wrap {
  position: relative;
  width: 100%;
  min-height: 48px !important;
  margin-top: 12px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(245, 242, 236, 0.16);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.2);
  color: var(--cream, #f5f2ec);
  box-sizing: border-box;
}

.smartcaptcha-wrap__mark {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 2px solid var(--accent, #ff3d2e);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 0 0 3px rgba(255, 61, 46, 0.1);
}

.smartcaptcha-wrap__status {
  min-width: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
}

.smartcaptcha-wrap__status:hover,
.smartcaptcha-wrap__status:focus-visible {
  color: var(--cream, #f5f2ec);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.smartcaptcha-wrap__retry {
  margin-left: auto;
  padding: 4px 0 4px 8px;
  border: 0;
  background: transparent;
  color: var(--cream, #f5f2ec);
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.smartcaptcha-wrap__widget {
  position: absolute;
  width: 1px;
  height: 1px;
}

.smartcaptcha-wrap[data-state="checking"] .smartcaptcha-wrap__mark,
.smartcaptcha-wrap[data-state="challenge"] .smartcaptcha-wrap__mark {
  border-top-color: transparent;
  animation: smartcaptcha-spin 0.8s linear infinite;
}

.smartcaptcha-wrap[data-state="verified"] .smartcaptcha-wrap__mark {
  background: var(--accent, #ff3d2e);
}

.smartcaptcha-wrap[data-state="error"] {
  border-color: rgba(255, 61, 46, 0.75);
  outline: none !important;
}

@keyframes smartcaptcha-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .smartcaptcha-wrap[data-state="checking"] .smartcaptcha-wrap__mark,
  .smartcaptcha-wrap[data-state="challenge"] .smartcaptcha-wrap__mark {
    animation: none;
    border-top-color: var(--accent, #ff3d2e);
  }
}
