/* Shadhin CF7 Enhancer v1.1.1 */

/* Custom Inquiry wrapper — hidden by default via JS */
#custom-inquiry-wrapper {
  margin-top: 10px;
  overflow: hidden;
}

#custom-inquiry-wrapper input[name="custom_inquiry"],
#custom-inquiry-wrapper .form-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d0d5dd;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  height: 50px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* ── Validation error tip ── */
/* CF7 appends .wpcf7-not-valid-tip span after invalid fields */
span.wpcf7-not-valid-tip {
  display: block !important;
  visibility: visible !important;
  color: #cc0000 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 5px !important;
  line-height: 1.4 !important;
}

/* Red border on invalid fields */
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #cc0000 !important;
  box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.12) !important;
}

/* CF7 screen-reader-response (hidden but must exist) */
.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
}
