.form__label {
  font-weight: 400;
  margin-bottom: 8px;
  padding-left: 10px;
  font-size: 16px;
}

.form__label span {
  color: var(--registration-required);
}

.form__label_select {
  margin-top: 12px;
}

.btn.form__btn {
  margin-top: 30px;
  width: 100%;
}

p.form__agree {
  margin-top: 40px;
  font-size: 14px;
  font-weight: 300;
}

p.form__agree a {
  text-decoration: underline;
}

.form .form-group {
  margin-bottom: 30px;
}

.form .form-control {
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 10px;
  color: var(--color-text-dark);
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  height: auto;
}

.form .form-control::placeholder {
  color: var(--color-text-gray);
  font-weight: 300;
}

.form .form-control.form-search {
  padding-right: 40px;
  background-repeat: no-repeat;
  background-position: center right 14px;
  background-size: 18px;
  background-image: url('../img/search.svg');
}

.form .has-error .form-control {
  border-color: var(--registration-required) !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  transition: border-color .5s;
}

.form .has-error .help-block {
  color: var(--registration-required);
  font-size: 14px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}

.has-success .form-control:focus {
  border-color: unset;
  -webkit-box-shadow: none;
  box-shadow: none;
}

div.checkbox {
  display: flex;
}

.checkbox input {
  display: none;
}

.checkbox label {
  position: relative;
  padding: 0;
}

.checkbox span {
  display: flex;
  align-items: center;
}

.checkbox span::before {
  --size: 24px;
  content: '';
  flex-shrink: 0;
  width: var(--size);
  height: var(--size);
  border: 1px solid var(--color-bg-header);
  border-radius: 4px;
  margin-right: 12px;
  background-image: none;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center center;
  transition: background-color .5s, border-color .5s, opacity .5s;
}

.checkbox input:checked + span::before {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  background-image: url('../img/cross.svg');
}

.form-group.has-success .checkbox,
.form-group.has-error .checkbox {
  color: inherit;
}

section.registration .checkbox span::before {
  border-color: currentColor;
}

.form .show-password {
  position: relative;
}

.form .show-password .form-control {
  padding-right: 66px;
}

.form .show-password__input {
  display: none;
}

.form .show-password__label {
  position: absolute;
  width: 42px;
  height: 42px;
  top: 50%;
  right: 15px;
  margin-top: -21px;
  margin-bottom: 0;
  cursor: pointer;
}

.form .show-password__label .show-password__icon {
  width: 100%;
  height: 100%;
}

.form .show-password__label .show-password__icon-hide {
  display: none;
}

.form .show-password__input:checked ~ .show-password__icon-hide {
  display: block;
}

.form .show-password__input:checked ~ .show-password__icon-show {
  display: none;
}

.form__contact-type {
  display: flex;
  align-items: center;
}

.form__contact-type .form__label_select {
  flex-basis: 50%;
  margin: 0;
  margin-right: 20px;
}

.form__captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form__captcha img {
  height: 54px;
  width: auto;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--color-border-gray) !important;
  cursor: pointer;
}

.form__captcha .form-control {
  margin-left: 20px;
}

.option-group + .option-group {
  margin-top: 20px;
}

.option-group .form-group {
  margin-bottom: 0 !important;
}

.option-group [data-option-target] {
  margin-top: 10px;
}