.form {
}
.form__row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  position: relative;
}

.form__row-two {
  width: 100%;
  padding: 0 10px;
}
@media screen and (min-width: 768px) {
  .form__row-two {
    width: 50%;
  }
}
.form__row:last-child {
  margin-bottom: 0;
}
.form__label {
  margin-bottom: 10px;
  color: #333333;
}
.form__label i {
  font-style: normal;
  color: #ea4d2a;
  margin-left: 5px;
}
.form__input {
  width: 100%;
  height: 40px;
  padding: 10px 15px;
  background-color: #f9fafa;
  border: 1px solid #dce2e1;
  border-radius: 8px;
}

.form__row-bad .form__input {
  border-color: #ff5454;
}
.form__rating {
  height: 30px;
  width: 148px;
}
.form__rating .rating span {
  display: block;
  width: 20%;
  height: 30px;
  float: left;
  margin: 0;
  padding: 0;
  cursor: pointer;
  z-index: 99;
  position: relative;
}
.form__alert {
  background-color: #ff5454;
  color: #fff;
  padding: 3px 10px;
  border-radius: 15px 15px 0px 15px;
  display: inline;
  width: auto;
  position: absolute;
  top: 15px;
  right: 0;
}

.form__row-two .form__alert {
  right: 10px;
}
.form__input:focus,
.form__textarea:focus {
  box-shadow: 0px 4px 10px rgb(0 0 0 / 4%);
  outline: none;
}
.form__textarea {
  background-color: #f9fafa;
  border: 1px solid #dce2e1;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  resize: none;
  padding: 15px;
}
.form__btn_box {
  margin-top: 30px;
}
.form__btn {
  width: 100%;
  padding: 15px 0;
  background-color: #05aa82;
  box-shadow: 0px 4px 15px rgba(5, 170, 130, 0.35);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  -webkit-transition: background-color 250ms
    cubic-bezier(0.45, 0.05, 0.55, 0.95);
  -o-transition: background-color 250ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
  transition: background-color 250ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.form__btn:hover,
.form__btn:focus {
  background-color: #059975;
}

.consent__input {
  height: 1px;
  width: 1px;
  position: absolute;
  opacity: 0;
  bottom: 0;
  left: 50%;
}

.consent__input + .consent__label {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 10px 10px 15px;
  border-radius: 8px;
  border: 1px solid #e2ccc0;
  background-color: #fff0e8;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.45, 0.05, 0.55, 0.95),
    border 250ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.consent__input + .consent__label:before {
  content: "\2713";
  display: block;
  max-width: 25px;
  width: 100%;
  height: 25px;
  padding: 2px 6px;
  background-color: #f9fafa;
  border: 1px solid #e2ccc0;
  border-radius: 4px;
  font-size: 18px;
  color: #f9fafa;
  transition: color 250ms cubic-bezier(0.45, 0.05, 0.55, 0.95),
    border 250ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.consent__input:checked + .consent__label {
  border: 1px solid #d6dedc;
  background: #ecf6f3;
}
.consent__input:checked + .consent__label:before {
  color: #05aa82;
  border: 1px solid #05aa82;
}
.consent__input:focus + .consent__label:before {
  border: 1px solid #000;
}
.consent__content {
  margin-left: 15px;
}
.consent__title {
  font-size: 14px;
}
.consent__link {
  color: #000;
  text-decoration: underline;
  display: inline;
}
.form__row--line {
  display: block;
}
@media screen and (min-width: 768px) {
  .form__row--line {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}
.form__label--line {
  width: 100%;
  display: block;
  margin-bottom: 5px;
}
@media screen and (min-width: 768px) {
  .form__label--line {
    width: auto;
    margin-right: 10px;
    margin-bottom: 0;
  }
}
