.elementor-field-type-recaptcha {
  width: 100%;
}

.local-captcha {
  width: 100%;
  display: grid;
  gap: 12px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(1, 36, 90, .14);
  border-left: 4px solid #329d49;
  border-radius: 10px;
  color: #01245a;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 22px rgba(1, 36, 90, .09);
}

.local-captcha,
.local-captcha * {
  box-sizing: border-box;
}

.local-captcha__heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.local-captcha__heading > span:last-child {
  display: grid;
  gap: 2px;
}

.local-captcha__heading strong {
  color: #01245a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.local-captcha__heading small {
  color: #60728a;
  font-size: 11px;
  line-height: 1.3;
}

.local-captcha__badge {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #329d49;
  font-size: 15px;
  font-weight: 800;
}

.local-captcha__controls {
  display: grid;
  grid-template-columns: minmax(116px, 1fr) minmax(82px, .58fr) 42px;
  align-items: end;
  gap: 9px;
}

.local-captcha__question {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #01245a;
  font-family: "DM Sans", "Inter", Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1;
  transition: opacity .2s ease;
}

.local-captcha.is-loading .local-captcha__question {
  opacity: .58;
}

.local-captcha__answer {
  min-width: 0;
  display: grid;
  gap: 4px;
  margin: 0;
}

.local-captcha__answer span {
  color: #52667f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

.local-captcha__answer input {
  width: 100%;
  min-height: 48px;
  padding: 8px 10px !important;
  border: 1px solid #b8c4d0 !important;
  border-radius: 7px !important;
  color: #01245a !important;
  background: #fff !important;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
}

.local-captcha__answer input:focus {
  border-color: #329d49 !important;
  box-shadow: 0 0 0 3px rgba(50, 157, 73, .16) !important;
  outline: 0;
}

.local-captcha__refresh {
  width: 42px;
  min-width: 42px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #329d49;
  cursor: pointer;
  font: 700 22px/1 Arial, sans-serif;
  transition: background-color .2s ease, transform .2s ease;
}

.local-captcha__refresh:hover {
  color: #fff;
  background: #247b38;
  transform: rotate(18deg);
}

.local-captcha__refresh:focus-visible {
  outline: 3px solid #b9da42;
  outline-offset: 2px;
}

.local-captcha__refresh:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.local-form-message {
  width: 100%;
  display: none;
  margin-top: 12px;
  padding: 11px 13px;
  border-left: 4px solid;
  font-size: 13px;
  line-height: 1.45;
}

.local-form-message.is-success {
  display: block;
  border-color: #399b48;
  color: #185f2b;
  background: #effbf2;
}

.local-form-message.is-error {
  display: block;
  border-color: #b83b3b;
  color: #842626;
  background: #fff2f2;
}

.elementor-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: .65;
}

@media (max-width: 420px) {
  .local-captcha {
    padding: 13px;
  }

  .local-captcha__controls {
    grid-template-columns: minmax(105px, 1fr) minmax(72px, .65fr) 42px;
    gap: 7px;
  }

  .local-captcha__question {
    font-size: 19px;
  }
}
