/* Contact Form 7 uses its own submission, validation, and response handling. */
.otex-front .otex-contact .wpcf7,
.otex-front .otex-contact .wp-block-contact-form-7-contact-form-selector,
.otex-front .otex-contact form.otex-form {
  margin: 0;
}

.otex-front .otex-contact .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

.otex-front .otex-contact .otex-consent .wpcf7-list-item {
  margin: 0;
}

.otex-front .otex-contact .otex-consent .wpcf7-list-item,
.otex-front .otex-contact .otex-consent .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.otex-front .otex-contact .otex-submit-shell {
  position: relative;
  width: min(100%, 340px);
  min-width: 0;
  margin: 28px auto 0;
  padding: 0;
  border: 0;
}

.otex-front .otex-contact .otex-submit-shell .otex-submit {
  width: 100%;
  margin: 0 !important;
  padding-right: 50px;
  font-family: inherit;
}

.otex-front .otex-contact .otex-submit-shell::after {
  position: absolute;
  top: 50%;
  right: 26px;
  width: 15px;
  height: 15px;
  content: "";
  transform: translateY(-50%);
  background: #fff;
  mask: url("./icons/arrow.svg") center / contain no-repeat;
  pointer-events: none;
}

.otex-front .otex-contact .otex-submit-shell:disabled .otex-submit,
.otex-front .otex-contact .otex-submit-shell:disabled::after {
  opacity: .5;
  cursor: not-allowed;
}

.otex-front .otex-contact .wpcf7-spinner {
  position: absolute;
  right: -34px;
  top: calc(50% - 12px);
  margin: 0;
}

.otex-front .otex-contact .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #a93b41;
  font-size: 12px;
  line-height: 1.7;
}

.otex-front .otex-contact .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .otex-front .otex-contact .wpcf7-spinner {
    right: 8px;
  }
}
