form {
  width: 100%;
}
.step {
  display: none;
}
.step.active-step {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.step h5 {
  font-family: "Cormorant Regular", sans-serif;
  font-size: 37px;
  color: var(--primary-black);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.step-1 p {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: var(--primary-black);
  max-width: 380px;
  margin-bottom: 40px;
}
.step-1 span {
  position: relative;
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #585858;
  max-width: 312px;
  margin-top: 30px;
}
.contact-form__input-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 30px;
  margin-bottom: 40px;
}
.contact-form__chackbox-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 40px;
}
.contact-form__input-item {
    flex-direction: column;
    width: 100%;
    /* height: 100%; */
    display: flex;
}
.contact-form__input-item p {
  position: relative;
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: var(--primary-black);
  font-weight: 600;
  margin-bottom: 16px;
  margin-left: 26px;
}
.contact-form__input {
  height: 75px;
  border: 1px solid #cac9df;
  border-radius: 5px;
  width: 100%;
  background: transparent;
  padding: 0px 15px 0 26px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  color: var(--primary-black);
  transition: 0.3s;
}
.contact-form__textarea {
    padding: 15px 15px 0 26px;
}
.contact-form__input:focus {
  transition: 0.3s;
}
.contact-form__progress-bar {
  position: relative;
  display: flex;
  margin-top: auto;
}
.edit-form__textarea {
  overflow: auto;
  resize: none;
  width: 100%;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 9px 15px 9px 15px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  color: var(--primary-black);
}

.btn-quiz {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  border-radius: 5px;
  padding: 22px 35px;
  transition: 0.2s;
  background-color: var(--red);
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  color: var(--white);
  font-weight: 500;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.btn-quiz:disabled,
.btn[disabled] {
  opacity: 0.4;
}
.btn-quiz:hover {
  background-color: #e35458;
  color: var(--white);
}
.btn-quiz svg {
  transition: 0.2s;
}
.btn-quiz:hover > svg {
  transform: translateX(3px);
}
.contact-form__input_file {
  display: none;
}
.contact-form__file-button {
  display: flex;
  align-items: center;
  height: 75px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  width: 100%;
  background: url(../img/icons/file.svg) center left 15px no-repeat, #ffffff;
  background-size: 30px;
  margin-bottom: 20px;
  padding: 0 15px 0 59px;
  font-family: "Manrope", sans-serif;
  color: #757575;
  cursor: pointer;
}
.progress-bar__btn {
  position: relative;
  display: flex;
  column-gap: 30px;
  align-items: center;
  margin-left: auto;
}
button.previous-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid #d7d7d7;
  border-radius: 50%;
  padding: 20px;
  transition: 0.2s;
  z-index: 2;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
button.previous-btn:hover {
  transform: scale(1.1);
}
.form-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  display: none;
}
input:checked + label {
  background-color: #8885bc;
  color: #fff;
}
label {
  color: black;
  background-color: #e9e9e9;
  padding: 8px 16px;
  border-radius: 27px;
  cursor: pointer;
}
.quiz-success-send {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 25px;
  background-color: #fff;
  text-align: center;
  border: 2px solid var(--light);
  z-index: 999;
}
.success-send-active {
  display: flex;
}
.quiz-success-send h4 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #e14b4f;
  margin-bottom: 19px;
}
.quiz-success-send p {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  color: var(--primary-black);
  line-height: 1.3;
  max-width: 426px;
  margin-bottom: 13px;
}
@media (max-width: 768px) {
  .form-wrapper {
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .contact-form {
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .contact-form__input-wrapper {
    margin-bottom: 15px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .contact-form__input-item {
    width: 100%;
  }
  .contact-form__input-item p {
    height: auto;
    margin-bottom: 10px !important;
  }
  .contact-form__progress-bar {
    flex-direction: column;
    row-gap: 20px;
  }
  .progress-bar {
    width: 100%;
  }
  .progress-bar__line {
    width: 100%;
  }
  .progress-bar__btn {
    margin-left: unset;
    justify-content: space-between;
  }
}
