/* ============================================
   6. DARK THEME FORMS (Gravity Forms & CF7)
   Unified styling for all dark-theme forms
   ============================================ */

/* Form Title & Headings */
.comp-lead-form .gform_title,
.comp-lead-form h2,
.comp-lead-form h3,
.comp-lead-form .gform_heading,
.comp-lead-form .gsection_title {
  color: #ffffff !important;
}

.comp-lead-form .gform_description {
  color: rgba(255,255,255,0.7) !important;
}

/* Field Labels */
.comp-lead-form .gfield_label,
.comp-lead-form .gform_wrapper .gfield_label,
.comp-lead-form .gform_wrapper label {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Sub-labels */
.comp-lead-form .gform_wrapper .gform-field-label--type-sub,
.comp-lead-form .gform_wrapper .ginput_container label {
  color: var(--jrv-text-muted) !important;
}

/* Progress Steps */
.comp-lead-form .gf_progressbar_title,
.comp-lead-form .gf_step_label {
  color: #ffffff !important;
}

.comp-lead-form .gf_step {
  color: var(--jrv-text-muted) !important;
}

.comp-lead-form .gf_step_active {
  color: #ffffff !important;
}

/* All Input Fields */
.comp-lead-form input:not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]),
.comp-lead-form select,
.comp-lead-form textarea,
.comp-lead .gform_wrapper input:not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]),
.comp-lead .gform_wrapper select,
.comp-lead .gform_wrapper textarea {
  background: var(--jrv-dark-input) !important;
  border: 1px solid var(--jrv-border-light) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
}

/* Placeholder */
.comp-lead-form input::placeholder,
.comp-lead-form textarea::placeholder {
  color: var(--jrv-text-dim) !important;
}

/* Focus State */
.comp-lead-form input:focus,
.comp-lead-form select:focus,
.comp-lead-form textarea:focus {
  border-color: var(--jrv-blue) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(1,78,252,0.2) !important;
}

/* Dropdown Options */
.comp-lead-form select option {
  background: var(--jrv-dark-input) !important;
  color: #ffffff !important;
}

/* Radio & Checkbox Labels */
.comp-lead-form .gfield_radio label,
.comp-lead-form .gfield_checkbox label,
.comp-lead-form .gchoice label {
  color: #ffffff !important;
}

/* Field Descriptions */
.comp-lead-form .gfield_description {
  color: var(--jrv-text-muted) !important;
}

/* Required Indicator */
.comp-lead-form .gfield_required {
  color: var(--jrv-error) !important;
}

/* Validation Messages */
.comp-lead-form .validation_message {
  color: var(--jrv-error) !important;
}

/* Submit & Navigation Buttons */
.comp-lead-form .gform_button,
.comp-lead-form input[type="submit"],
.comp-lead-form .gform_next_button {
  background: var(--jrv-blue) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 16px 32px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.comp-lead-form .gform_button:hover,
.comp-lead-form input[type="submit"]:hover {
  background: var(--jrv-deep-blue) !important;
}

.comp-lead-form .gform_previous_button {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #ffffff !important;
}
