/* ── WPFORMS THEME STYLING ── */

/* Container */
.wpforms-wrapper { display: flex; flex-direction: column; }
.wpforms-form { display: flex; flex-direction: column; gap: 14px; }

/* Field containers */
.wpforms-field-container { display: flex; flex-direction: column; gap: 14px; }
.wpforms-field { margin-bottom: 0 !important; }

/* Labels */
.wpforms-field-label {
  font-size: 11px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: var(--grey) !important;
  font-weight: 600 !important;
  font-family: 'Geologica', sans-serif !important;
  margin-bottom: 6px !important;
}

/* Inputs */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field select,
.wpforms-field textarea {
  background: var(--navy-mid) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 13px 16px !important;
  font-family: 'Geologica', sans-serif !important;
  font-size: 14px !important;
  color: var(--white) !important;
  outline: none !important;
  width: 100% !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  box-shadow: none !important;
}

.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder { color: var(--grey) !important; }

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(37,99,255,0.1) !important;
}

/* Textarea */
.wpforms-field textarea { resize: none !important; min-height: 120px !important; }

/* Submit button */
.wpforms-submit-container { margin-top: 4px !important; }
.wpforms-form .wpforms-submit {
  width: 100% !important;
  padding: 16px 36px !important;
  background: linear-gradient(135deg, var(--blue), #0ea5e9) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 40px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: 'Geologica', sans-serif !important;
  cursor: pointer !important;
  transition: box-shadow 0.3s, transform 0.2s !important;
  position: relative !important;
  overflow: hidden !important;
}
.wpforms-form .wpforms-submit:hover {
  box-shadow: 0 0 32px rgba(37,211,102,0.5) !important;
  transform: translateY(-2px) !important;
}

/* Error messages */
.wpforms-error-container,
.wpforms-field .wpforms-error {
  color: #ff6b6b !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}

/* Success message */
.wpforms-confirmation-container-full {
  background: rgba(0,212,255,0.08) !important;
  border: 1.5px solid rgba(0,212,255,0.3) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  color: var(--cyan) !important;
  font-size: 14px !important;
  text-align: center !important;
}

/* Notice when form ID not set */
.wpforms-notice {
  background: rgba(37,99,255,0.08);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
}
.wpforms-notice strong { color: var(--cyan); }

/* Light mode overrides */
body.light .wpforms-field input[type="text"],
body.light .wpforms-field input[type="email"],
body.light .wpforms-field input[type="tel"],
body.light .wpforms-field select,
body.light .wpforms-field textarea {
  background: #ffffff !important;
  color: #060d1f !important;
}

/* Force full width form */
.contact-form .wpforms-container,
.contact-form .wpforms-form,
.wpforms-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .wpforms-wrapper,
  .wpforms-form,
  .wpforms-field-container,
  .wpforms-field { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .wpforms-field input[type="text"],
  .wpforms-field input[type="email"],
  .wpforms-field input[type="tel"],
  .wpforms-field select,
  .wpforms-field textarea { font-size: 16px !important; width: 100% !important; }
  .wpforms-form .wpforms-submit { width: 100% !important; }
}
