.fsa-captcha {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.fsa-captcha__image-wrap {
  width: 138px;
  height: 46px;
  border: 1px solid #d8dde3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fsa-captcha__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.fsa-captcha .fsa-captcha__refresh,
.fsa-captcha button.fsa-captcha__refresh {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid #d8dde3;
  border-radius: 10px;
  background: #fff;
  color: #1f2933;
  font-size: 22px;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.fsa-captcha .fsa-captcha__refresh:hover,
.fsa-captcha .fsa-captcha__refresh:focus {
  background: #f7f8fa;
  border-color: #bcc4cd;
  outline: none;
}

.fsa-captcha .fsa-captcha__input {
  width: 154px;
  max-width: 100%;
  height: 46px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #d8dde3;
  border-radius: 10px;
  background: #f7f8fa;
  box-shadow: none;
  outline: none;
  font-size: 14px;
}

.fsa-captcha .fsa-captcha__input:focus {
  border-color: #aeb8c3;
  box-shadow: none;
}

.fsa-consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  cursor: pointer;
  line-height: 1.45;
}

.fsa-consent > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fsa-consent__box {
  width: 18px;
  min-width: 18px;
  height: 18px;
  box-sizing: border-box;
  margin-top: 1px;
  border: 1px solid #b8c0ca;
  border-radius: 4px;
  background: #fff;
  transition: .15s ease;
}

.fsa-consent > input:checked + .fsa-consent__box {
  background: #1f2933;
  border-color: #1f2933;
  box-shadow: inset 0 0 0 4px #fff;
}

.fsa-consent > input:focus-visible + .fsa-consent__box {
  outline: 2px solid rgba(31,41,51,.18);
  outline-offset: 2px;
}

.fsa-consent__text {
  color: #6b7280;
  font-size: 12px;
}

.fsa-consent__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fsa-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 480px) {
  .fsa-captcha {
    gap: 7px;
  }

  .fsa-captcha__image-wrap {
    width: 122px;
  }

  .fsa-captcha .fsa-captcha__input {
    flex: 1 1 140px;
    min-width: 0;
  }
}
