.section_contact12 {
  display: block;
}

.rf-form-wrapper .rf-form {
  position: relative;
  display: grid;
  width: 100%;
  gap: 1.5rem;
  padding: 2rem;
  color: #183b2b;
  background: #fff;
  border: 1px solid #dce6dd;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 66, 44, 0.07);
}

.rf-form-wrapper .rf-form *,
.rf-form-wrapper .rf-form label,
.rf-form-wrapper .rf-form legend,
.rf-form-wrapper .rf-form span,
.rf-form-wrapper .rf-form p {
  color: inherit;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: currentcolor !important;
}

.rf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.rf-field {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  font: inherit;
}

.rf-field > span,
.rf-checkbox > span,
.rf-signature-name > span,
.rf-connection label > span {
  font-weight: 650;
}

.rf-wide {
  grid-column: 1 / -1;
}

.rf-control {
  width: 100%;
  height: auto;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.8rem 1rem;
  color: #183b2b;
  font: inherit;
  line-height: 1.4;
  background: #fff;
  border: 1px solid #b9c9bc;
  border-radius: 0.5rem;
}

.rf-control::placeholder {
  color: #718078;
  opacity: 1;
}

.rf-control:focus,
.rf-signature-pad canvas:focus {
  border-color: #0f6a45;
  outline: 3px solid rgba(15, 106, 69, 0.16);
  outline-offset: 1px;
}

.rf-field textarea.rf-control {
  min-height: 8rem;
  resize: vertical;
}

.rf-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.35rem 0;
  color: #31483d;
  cursor: pointer;
}

.rf-checkbox input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
  accent-color: #0f6a45;
}

.rf-connections,
.rf-signature {
  min-width: 0;
  margin: 0.25rem 0;
  padding: 1.25rem;
  border: 1px solid #cddbcf;
  border-radius: 0.75rem;
}

.rf-connections legend,
.rf-signature legend {
  padding: 0 0.4rem;
  color: #0f422c;
  font-size: 1.05rem;
  font-weight: 750;
}

.rf-help {
  margin: 0 0 1rem;
  color: #53635a !important;
  font-size: 0.92rem;
}

.rf-connection-list {
  display: grid;
  gap: 1rem;
}

.rf-connection {
  padding: 1rem;
  background: #f6f8f4;
  border: 1px solid #dce6dd;
  border-radius: 0.65rem;
}

.rf-connection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: #0f422c;
}

.rf-connection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.rf-connection-grid label,
.rf-signature-name {
  display: grid;
  gap: 0.4rem;
}

.rf-secondary-button,
.rf-connection-remove {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  color: #0f6a45 !important;
  font: inherit;
  font-weight: 700;
  background: #fff;
  border: 1px solid #9db6a3;
  border-radius: 0.45rem;
  cursor: pointer;
}

.rf-connection-add {
  margin-top: 1rem;
}

.rf-connection-remove {
  min-height: auto;
  padding: 0.35rem 0.6rem;
  color: #8a351e !important;
  font-size: 0.82rem;
  border-color: #d8b5aa;
}

.rf-connection-remove[hidden] {
  display: none;
}

.rf-signature-name {
  margin-bottom: 0.9rem;
}

.rf-signature-pad {
  overflow: hidden;
  background: #fff;
  border-radius: 0.55rem;
}

.rf-signature-pad canvas {
  display: block;
  width: 100%;
  height: 180px;
  border: 1px solid #b9c9bc;
  border-radius: 0.55rem;
  cursor: crosshair;
  touch-action: none;
}

.rf-signature-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
}

.rf-signature-actions p {
  max-width: 46rem;
  margin: 0;
  color: #53635a !important;
  font-size: 0.88rem;
  line-height: 1.45;
}

.rf-submit {
  justify-self: start;
  margin: 0;
  color: #fff !important;
  font-weight: 750;
  background: #0f6a45 !important;
  background-image: none !important;
  -webkit-text-fill-color: #fff !important;
}

.rf-submit:hover {
  background: #0b5537 !important;
}

.rf-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.rf-honeypot,
.rf-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rf-notice {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.5rem;
}

.rf-success {
  color: #155c31;
  background: #e9f7ee;
}

.rf-error {
  color: #8b1e1e;
  background: #fff0f0;
}

@media (max-width: 767px) {
  .rf-form-wrapper .rf-form {
    padding: 1.15rem;
  }

  .rf-form-grid,
  .rf-connection-grid {
    grid-template-columns: 1fr;
  }

  .rf-wide {
    grid-column: auto;
  }

  .rf-connections,
  .rf-signature,
  .rf-connection {
    padding: 1rem;
  }

  .rf-signature-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rf-submit,
  .rf-secondary-button {
    width: 100%;
  }
}
