.dis-contact-form {
  width: min(100%, 1050px);
  margin: 0 auto 40px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #e2e7ef;
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(6, 2, 44, 0.08);
}

.dis-contact-form,
.dis-contact-form * {
  box-sizing: border-box;
}

.dis-contact-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  min-inline-size: 100%;
}

.dis-contact-form .ff_screen_reader_title {
  display: block;
  width: 0;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-indent: -999999px;
}

.dis-contact-form .ff-el-group {
  margin: 0;
}

.dis-contact-form .ff-el-group:nth-of-type(1),
.dis-contact-form .ff-el-group:nth-of-type(16),
.dis-contact-form .ff-el-group:nth-of-type(19),
.dis-contact-form .ff_submit_btn_wrapper,
.dis-contact-form__message {
  grid-column: 1 / -1;
}

.dis-contact-form .ff-el-input--label label {
  display: block;
  min-height: 21px;
  margin: 0 0 8px;
  color: #2b2f39;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.dis-contact-form .ff-el-is-required label::after {
  content: " *";
  color: #d63638;
  font-weight: 700;
}

.dis-contact-form .ff-el-form-control {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #20242c !important;
  background-color: #ffffff !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 4px;
  font: inherit;
  line-height: 1.35;
  box-shadow: none !important;
}

.dis-contact-form textarea.ff-el-form-control {
  min-height: 132px;
  resize: vertical;
}

.dis-contact-form .ff-el-form-control:focus {
  color: #20242c !important;
  background-color: #ffffff !important;
  border-color: #2c2292 !important;
  outline: 3px solid rgba(28, 149, 209, 0.18);
  outline-offset: 0;
}

.dis-contact-form select.ff-el-form-control {
  appearance: none;
  background-color: #ffffff !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #2c2292 50%),
    linear-gradient(135deg, #2c2292 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  color: #20242c !important;
  cursor: pointer;
}

.dis-contact-form select.ff-el-form-control:focus,
.dis-contact-form select.ff-el-form-control:active {
  background-color: #ffffff !important;
  color: #20242c !important;
}

.dis-contact-form select.ff-el-form-control option {
  color: #20242c !important;
  background-color: #ffffff !important;
}

.dis-contact-form select.ff-el-form-control option:checked,
.dis-contact-form select.ff-el-form-control option:hover {
  color: #ffffff !important;
  background-color: #2c2292 !important;
}

.dis-contact-form .ff-btn-submit {
  min-width: 168px;
  min-height: 48px;
  padding: 13px 24px;
  color: #ffffff;
  background: #2c2292;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.dis-contact-form .ff-btn-submit:hover,
.dis-contact-form .ff-btn-submit:focus {
  background: #1c1472;
}

.dis-contact-form .ff-btn-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.dis-contact-form__message {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.45;
}

.dis-contact-form__message.is-visible {
  display: block;
}

.dis-contact-form__message.is-success {
  color: #1d5b20;
  background: #edf7ed;
  border: 1px solid #a8d5aa;
}

.dis-contact-form__message.is-error {
  color: #8f1d16;
  background: #fff1f0;
  border: 1px solid #f1b4af;
}

@media (max-width: 767px) {
  .dis-contact-form {
    width: 100%;
    padding: 22px;
  }

  .dis-contact-form fieldset {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dis-contact-form .ff-btn-submit,
  .dis-contact-form__message {
    width: 100%;
  }
}
