.js-form {
  width: 100%;
  max-width: 1160px;
  padding: 2% 5% 8% 5%;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
}
.form {
  position: relative;
}
.form::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/load.gif) center / 50px  no-repeat;
  opacity: 0;
  visibility: hidden;
}
.form._sending::after {
  opacity: 1;
  visibility: visible;
}
.form__label {
  display: block;
}
.form-group {
  margin-bottom: 30px;
}
.form-group:nth-child(n+10) {
  margin-bottom: 20px;
}
.form__input {
  padding: 15px 0;
  width: 100%;
  border: none;
  border-bottom: 1px solid #0046FC;
  font-size: 18px;
  cursor: pointer;
}
.form__input:focus {
  outline: 0px;
  border-bottom: 1px solid black;
}
.form__input:hover {
  border-bottom: 1px solid #0032B4;
}
.form__title {
  margin-bottom: 10%;
}
.form__title-sector {
  margin-top: 40px;
}
.form__error {
  display: none;
  color: red;
  font-size: 10px;
}
.form__error--action {
  display: block;
}
.form__btn {
  border: none;
  margin-top: 50px;
}
.form-group {
  position: relative;
}
.form__checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.form__checkbox+.checkbox-castom {
  position: absolute;
  left: 0;
}
.form__checkbox+.checkbox-castom::before {
  content: '';
  display:inline-block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #0046FC;
}
.form__checkbox:checked + .checkbox-castom::before {
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxNCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSA1LjVMNSA5TDEyLjUgMS41IiBzdHJva2U9IiMwMDQ2RkMiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K");
  border: 1px solid #0046FC;
}

.form__checkbox:focus + .checkbox-castom::before {
  outline: 1px solid #0046FC;
}
.form__checkbox:hover + .checkbox-castom::before {
  outline: 1px solid #0032B4;
}
.checkbox-label {
  position: relative;
  display: inline-block;
  padding-left: 44px;
  cursor: pointer;
}
.form__title-sector--subtitle {
  margin-top: 12px;
}

button:enabled {
  background-color: gray;
}