/* Match the approved Contact form without changing other Fluent Forms. */
.page-contact .dz-contact-form > h2 {
  margin: 0 0 24px;
}

.page-contact .dz-contact-form .fluentform_wrapper_4,
.page-contact .dz-contact-form #fluentform_4 {
  width: 100%;
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  color: #1f2d30;
}

.page-contact .dz-contact-form #fluentform_4 .ff-el-group {
  margin: 0 0 24px;
}

.page-contact .dz-contact-form #fluentform_4 .ff-t-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.page-contact .dz-contact-form #fluentform_4 .ff-t-cell,
.page-contact .dz-contact-form #fluentform_4 .ff-t-cell .ff-el-group {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.page-contact .dz-contact-form #fluentform_4 .ff-el-input--label {
  margin: 0 0 8px;
}

.page-contact .dz-contact-form #fluentform_4 .ff-el-input--label label {
  display: block;
  margin: 0;
  color: #1f2d30;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.page-contact .dz-contact-form #fluentform_4 .dz-contact-optional {
  color: #526166;
  font-weight: 400;
}

.page-contact .dz-contact-form #fluentform_4 .ff-el-form-control {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #ccd4d1;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #1f2d30;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.page-contact .dz-contact-form #fluentform_4 .ff-el-form-control::placeholder {
  color: #526166;
  opacity: 0.75;
}

.page-contact .dz-contact-form #fluentform_4 textarea.ff-el-form-control {
  min-height: 168px;
  resize: vertical;
}

.page-contact .dz-contact-form #fluentform_4 .ff-el-form-control:focus {
  border-color: #28545f;
  outline: none;
  box-shadow: 0 0 0 2px rgb(40 84 95 / 20%);
}

.page-contact .dz-contact-form #fluentform_4 .ff_submit_btn_wrapper {
  margin-bottom: 0;
}

.page-contact .dz-contact-form #fluentform_4 .ff-btn-submit {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  background: #243b42;
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.page-contact .dz-contact-form #fluentform_4 .ff-btn-submit:hover {
  background: #172e35;
  color: #fff;
}

.page-contact .dz-contact-form #fluentform_4 .ff-btn-submit:focus-visible {
  outline: 2px solid #28545f;
  outline-offset: 4px;
}

.page-contact .dz-contact-form .fluentform_wrapper_4 .ff-message-success {
  margin: 0;
  padding: 24px 28px;
  border: 0;
  border-radius: 0;
  background: #edf1ee;
  box-shadow: none;
  color: #243b42;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
}

.page-contact .dz-contact-form .fluentform_wrapper_4 .ff-message-success p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.page-contact .dz-contact-form .fluentform_wrapper_4 .ff-message-success code {
  font-family: inherit;
}

@media (max-width: 639px) {
  .page-contact .dz-contact-form #fluentform_4 .ff-t-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .page-contact .dz-contact-form .fluentform_wrapper_4 .ff-message-success {
    padding: 20px;
  }
}
