#form_block {
  display: none;
  padding: 16px;
  width: 100%;
  max-width: 450px;
  font-size: 18px;
  font-weight: 400;
  margin: 10px auto 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background-color: #e5e5e5;
  border-radius: 10px;
  box-sizing: border-box;
}

#form_block.is-visible {
  display: block;
}

#message-profit {
  text-align: center;
  margin: 16px 12px 8px;
  line-height: 1.45;
}

.final-page__form {
  margin-top: 8px;
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
}

.lead-form {
  width: 100%;
}

.form-group {
  margin-bottom: 16px;
}

.form-input {
  font-family: "Inter", sans-serif;
  height: 42px;
  width: 100%;
  padding-left: 10px;
  border: 1px solid #c1b9b9;
  background: #fff;
  border-radius: 5px;
  font-weight: 400;
  font-size: 18px;
  color: #6d6c6c;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #b8b6b6;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
  min-height: 0;
}

.form-submit {
  border-radius: 21px;
  text-align: center;
  background: #51a351;
  color: #ffffff;
  transition: opacity 0.2s ease-out;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  height: 53px;
  width: 304px;
  border: none;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.form-submit:hover {
  opacity: 0.9;
}

@media screen and (max-width: 768px) {
  .form-submit {
    width: 100%;
  }
}
