/* Start custom CSS *//* ══════════════════════════════════════════════════════
   INFODEV EDI — WPForms Style Override
   Navy #003057 · Cyan #0099CC · IBM Plex Sans
   Paste in: Appearance → Customize → Additional CSS
   OR: Elementor page → Advanced → Custom CSS
══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&family=Barlow+Condensed:wght@600;700&display=swap');

/* ── FORM CONTAINER ── */
.wpforms-container,
.wpforms-container-full {
  background: #ffffff !important;
  border: 1px solid #d0d8e4 !important;
  border-radius: 4px !important;
  padding: 32px 36px !important;
  font-family: 'IBM Plex Sans', sans-serif !important;
  box-shadow: none !important;
  max-width: 100% !important;
}

/* Remove any WPForms default bg wrapper */
.wpforms-form {
  background: transparent !important;
  font-family: 'IBM Plex Sans', sans-serif !important;
}

/* ── SECTION TITLES (h2, h3 inside form) ── */
.wpforms-field-container .wpforms-page-indicator-steps,
.wpforms-form h2,
.wpforms-form h3 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #003057 !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #d0d8e4 !important;
  text-transform: none !important;
}

/* ── FIELD LABELS ── */
.wpforms-field-label,
.wpforms-form label {
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #4a5870 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

/* Sub-labels (First, Last) */
.wpforms-field-label-small,
.wpforms-field .wpforms-field-label-small {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  color: #8a96a8 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
}

/* Required asterisk */
.wpforms-required-label,
.wpforms-field-label .wpforms-required-label {
  color: #0099CC !important;
  font-size: 14px !important;
}

/* ── INPUTS, SELECTS, TEXTAREAS ── */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="number"],
.wpforms-form input[type="url"],
.wpforms-form input[type="password"],
.wpforms-form input[type="date"],
.wpforms-form select,
.wpforms-form textarea {
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #1a2535 !important;
  background: #f4f6f9 !important;
  border: 1px solid #d0d8e4 !important;
  border-radius: 3px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 42px !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Hover state */
.wpforms-form input[type="text"]:hover,
.wpforms-form input[type="email"]:hover,
.wpforms-form input[type="tel"]:hover,
.wpforms-form input[type="number"]:hover,
.wpforms-form select:hover,
.wpforms-form textarea:hover {
  border-color: #b0bcd0 !important;
  background: #eef1f6 !important;
}

/* Focus state */
.wpforms-form input[type="text"]:focus,
.wpforms-form input[type="email"]:focus,
.wpforms-form input[type="tel"]:focus,
.wpforms-form input[type="number"]:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  border-color: #0099CC !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.12) !important;
}

/* Textarea specific */
.wpforms-form textarea {
  min-height: 120px !important;
  resize: vertical !important;
  line-height: 1.6 !important;
}

/* Select arrow */
.wpforms-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a96a8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 36px !important;
  cursor: pointer !important;
}

/* ── FIELD DESCRIPTIONS / HELPER TEXT ── */
.wpforms-field-description,
.wpforms-field .wpforms-field-description {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 11px !important;
  color: #8a96a8 !important;
  letter-spacing: 0.03em !important;
  margin-top: 5px !important;
  font-style: normal !important;
}

/* ── FIELD ROWS & SPACING ── */
.wpforms-field {
  padding: 0 !important;
  margin-bottom: 20px !important;
}

.wpforms-field-container {
  padding: 0 !important;
}

/* ── RADIO & CHECKBOX ── */
.wpforms-form input[type="radio"],
.wpforms-form input[type="checkbox"] {
  width: 16px !important;
  min-height: 16px !important;
  height: 16px !important;
  accent-color: #0099CC !important;
  border: 1px solid #d0d8e4 !important;
  border-radius: 2px !important;
  background: #f4f6f9 !important;
  cursor: pointer !important;
}

.wpforms-form .wpforms-field-radio li label,
.wpforms-form .wpforms-field-checkbox li label {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #1a2535 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
}

/* ── FILE UPLOAD ── */
.wpforms-form input[type="file"] {
  background: #f4f6f9 !important;
  border: 1px dashed #b0bcd0 !important;
  border-radius: 3px !important;
  padding: 14px !important;
  font-size: 13px !important;
  color: #4a5870 !important;
  width: 100% !important;
  cursor: pointer !important;
}

.wpforms-form .wpforms-field-file-upload .wpforms-image-upload-container {
  border: 1px dashed #b0bcd0 !important;
  border-radius: 3px !important;
  background: #f4f6f9 !important;
}

/* ── PHONE FIELD (intl-tel-input) ── */
.wpforms-form .iti {
  width: 100% !important;
}

.wpforms-form .iti__flag-container {
  border-right: 1px solid #d0d8e4 !important;
}

.wpforms-form .iti__selected-flag {
  background: #eef1f6 !important;
  border-radius: 3px 0 0 3px !important;
  padding: 0 10px !important;
}

.wpforms-form .iti__selected-flag:hover {
  background: #e4e9f0 !important;
}

/* ── SUBMIT BUTTON ── */
.wpforms-form .wpforms-submit-container {
  margin-top: 28px !important;
  padding-top: 24px !important;
  border-top: 1px solid #d0d8e4 !important;
  text-align: left !important;
}

.wpforms-form button[type="submit"],
.wpforms-form input[type="submit"],
.wpforms-form .wpforms-submit {
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background: #003057 !important;
  border: 2px solid #003057 !important;
  border-radius: 3px !important;
  padding: 12px 32px !important;
  height: auto !important;
  cursor: pointer !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
  box-shadow: none !important;
  display: inline-block !important;
}

.wpforms-form button[type="submit"]:hover,
.wpforms-form .wpforms-submit:hover {
  background: #0099CC !important;
  border-color: #0099CC !important;
}

.wpforms-form button[type="submit"]:active,
.wpforms-form .wpforms-submit:active {
  background: #005fa3 !important;
  border-color: #005fa3 !important;
  transform: scale(0.99) !important;
}

/* ── ERROR STATES ── */
.wpforms-form .wpforms-error input,
.wpforms-form .wpforms-error select,
.wpforms-form .wpforms-error textarea {
  border-color: #c0392b !important;
  background: #fdf5f5 !important;
}

.wpforms-form label.wpforms-error,
.wpforms-form .wpforms-field-label.wpforms-error {
  color: #c0392b !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  margin-top: 4px !important;
}

/* ── SUCCESS MESSAGE ── */
.wpforms-confirmation-container,
.wpforms-confirmation-container-full {
  background: #e6f6fb !important;
  border: 1px solid #b3ddf0 !important;
  border-left: 3px solid #0099CC !important;
  border-radius: 0 4px 4px 0 !important;
  padding: 20px 24px !important;
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-size: 14px !important;
  color: #003057 !important;
  box-shadow: none !important;
}

/* ── DIVIDER BETWEEN FORM SECTIONS ── */
.wpforms-form hr,
.wpforms-field-divider {
  border: none !important;
  border-top: 1px solid #d0d8e4 !important;
  margin: 28px 0 !important;
}

/* ── REMOVE WPFORMS ICON ON PLACEHOLDER ── */
.wpforms-container .wpforms-head-container {
  display: none !important;
}

/* ── PAGE BREAK / MULTI-STEP ── */
.wpforms-page-indicator {
  background: #f4f6f9 !important;
  border: 1px solid #d0d8e4 !important;
  border-radius: 3px !important;
  padding: 10px 16px !important;
  margin-bottom: 24px !important;
  font-size: 12px !important;
  font-family: 'IBM Plex Mono', monospace !important;
  color: #4a5870 !important;
  letter-spacing: 0.05em !important;
}

.wpforms-page-indicator-page.active {
  color: #0099CC !important;
  font-weight: 600 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .wpforms-container,
  .wpforms-container-full {
    padding: 20px 18px !important;
  }

  .wpforms-form button[type="submit"],
  .wpforms-form .wpforms-submit {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ── PHONE FIELD FIX — intl-tel-input padding ── */
.wpforms-form .iti input[type="tel"],
.wpforms-form .iti input[type="text"] {
  padding-left: 52px !important;
}

.wpforms-form .iti__flag-container {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding: 0 !important;
}

.wpforms-form .iti__selected-flag {
  width: 44px !important;
  justify-content: center !important;
  padding: 0 8px !important;
}/* End custom CSS */