.f-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
.f-modal.active {
  opacity: 1;
  visibility: visible;
}

.f-modal h3 {
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  margin-bottom: 14px;
}

.f-modal p {
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 26px;
}

.f-modal-content {
  position: relative;
  max-width: 761px;
  width: 100%;
  background: #fff;
  margin: 0 15px;
  padding: 60px 90px;
}

.f-modal-icon {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.f-modal-close {
  position: absolute;
  top: 15px;
  right: 21px;
}

#feedback-form {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin: 0 auto;
}

.feedback-form-input {
  width: calc(50% - 8px);
}

.feedback-form-input.w-100 {
  width: 100%;
}

.feedback-form-textarea {
  width: 100%;
}

.feedback-form-input .error {
  color: red;
  font-size: 12px;
  line-height: 14px;
}

#feedback-form input {
  width: 100%;
  background: #f5f5f5;
  border-radius: 15px;
  padding: 19px 34px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

#feedback-form input::placeholder {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}
#feedback-form textarea {
  width: 100%;
  min-height: 200px;
  background: #f5f5f5;
  border-radius: 15px;
  padding: 19px 34px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

#feedback-form textarea::placeholder {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

#feedback-form button {
  width: 100%;
  background: #418b09;
  color: #fff;
  padding: 19px;
  font-size: 18px;
  line-height: 21px;
  font-weight: 500;
  border-radius: 15px;
  transition: 0.3s ease;
  cursor: pointer;
}

#feedback-form button:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .f-modal p {
    font-size: 14px;
    line-height: 18px;
  }
  .f-modal-content {
    padding: 30px 15px;
  }
  .f-modal-close {
    top: 5px;
    right: 10px;
  }
  #feedback-form input {
    padding: 15px 15px;
    font-size: 14px;
    line-height: 18px;
  }
  #feedback-form input::placeholder {
    font-size: 14px;
    line-height: 18px;
  }
  #feedback-form textarea {
    min-height: 120px;
    padding: 15px 15px;
    font-size: 14px;
    line-height: 18px;
  }

  #feedback-form textarea::placeholder {
    font-size: 14px;
    line-height: 18px;
  }
  .feedback-form-input {
    width: 100%;
  }
}


