.eit-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);

  display: none;
  justify-content: center;
  align-items: center;
}

.eit-modal.eit-modal--active {
  display: flex;
}

.eit-modal-dialog {
  width: 100%;
  max-width: 856px;
  max-height: 95%;

  background-color: #f8f8f8;
  border-radius: 30px;
  padding: 24px;
}

.eit-modal-content {
  max-height: 100%;
  overflow-y: auto;
}

.eit-modal-header {
  display: flex;
  align-items: center;
  width: 100%;
}

.eit-modal-close {
  display: block;
  margin-left: auto;
}

[data-entity="modalSuccess"],
[data-entity="modalError"] {
  display: none;
}

.eit-modal .order__form-title {
  font-weight: 400;
  font-size: 48px;
  line-height: 52px;
  color: #313131;
  text-align: center;
}

.order-form {
  width: 100%;
  max-width: 452px;
  margin: 40px auto 0;

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eit-form-group {
  width: 100%;
}

.eit-form-group + .eit-form-group {
  margin-top: 8px;
}

.eit-form-title {
  display: block;
  margin: 5px 0 8px;
  font-weight: 500;
}

.eit-form-input {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;

  background-color: #fff;
  padding: 12px 16px;
  border: 1px solid #e2e6e5;
  border-radius: 10px;

  font-size: 15px;
  line-height: 21px;
}

.eit-form-input:focus {
  border-color: #4d7564;
}

select.eit-form-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;

  cursor: pointer;
}

.eit-form-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;

  padding: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #fff;
  text-align: center;

  background-image: linear-gradient(to left, #1c4236, #4d7564);
  border-radius: 10px;
}

.order__subtext {
  font-size: 15px;
  line-height: 21px;
  color: rgba(49, 49, 49, 0.8);
  text-align: center;

  margin: 16px auto 0;
  max-width: 452px;
}

.order__subtext a {
  color: inherit;
  text-decoration: none;
}

.order__subtext a:hover {
  text-decoration: underline;
}

.modal-response-icon {
  display: block;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .modal .order__form-title {
    font-size: 26px;
    line-height: 30px;
  }
}

@media (max-width: 575px) {
  .eit-modal .order__form-title {
    font-size: 26px;
    line-height: 1;
  }

  .order__subtext {
    font-size: 12px;
    line-height: 14px;
  }
}
