.cf7-image-antispam {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 5px;
}
.cf7-image-antispam__title {
  flex: 0 0 100%;
  text-align: center;
  color: white;
}
.cf7-image-antispam__description {
  flex: 0 0 100%;
  margin-bottom: 8px;
  color: #e3e3e3;
  font-size: 14px;
  font-style: italic;
}
.cf7-image-antispam__img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.3s;
}
.cf7-image-antispam__img-wrapper svg {
  width: auto;
  max-height: 100%;
}
.cf7-image-antispam__label {
  position: relative;
  width: auto;
  margin-right: 5px;
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 0.3s;
}
.cf7-image-antispam__label:hover {
  border-color: #252426;
}
.cf7-image-antispam__label:hover .cf7-image-antispam__img-wrapper {
  border-color: #252426;
}
.cf7-image-antispam__label:has(input:checked) {
  border-color: #252426;
}
.cf7-image-antispam__label:has(input:checked)::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 5;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #252426;
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23ffffff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e");
  border-radius: 4px;
}
.cf7-image-antispam__label:has(input:focus), .cf7-image-antispam__label:has(input:focus-within) {
  box-shadow: 0 0 0 0.25rem rgba(218, 59, 51, 0.25);
}
.cf7-image-antispam__label input {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 5;
  width: 0;
  height: 0;
  opacity: 0;
}
.cf7-image-antispam__label input:checked + .cf7-image-antispam__img-wrapper {
  border-color: #252426;
}
.cf7-image-antispam__label input:focus {
  box-shadow: none !important;
}
.cf7-image-antispam__label img {
  position: relative;
  z-index: 10;
  width: 100%;
}
.cf7-image-antispam .wpcf7-not-valid-tip {
  flex: 0 0 100%;
  margin: 5px 0 0 !important;
}