/*
 * Landing consultation forms — shared layout (estate planning, probate,
 * bankruptcy main and focused pages). Enqueued last on those templates
 * only (see lib/landing-forms.php).
 *
 * The theme's floating-label styles can push labels into their boxes, and
 * its styled drop-down overlay shows the selected text on top of the field.
 * These rules put every label above its own field, darker, with
 * "(Required)" on the label line, and show the real drop-down.
 */

.ep-landing .gform_wrapper.gravity-theme .gfield_label,
.pb-landing .gform_wrapper.gravity-theme .gfield_label,
.bk-landing .gform_wrapper.gravity-theme .gfield_label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  display: block;
  margin: 0 0 6px;
  padding: 0;
  background: none;
  color: #1C2A39;
  font-family: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  pointer-events: auto;
}

.ep-landing .gform_wrapper.gravity-theme .gfield_required,
.pb-landing .gform_wrapper.gravity-theme .gfield_required,
.bk-landing .gform_wrapper.gravity-theme .gfield_required {
  display: inline;
  margin-left: 4px;
  color: #5B6573;
  font-size: 14px;
  font-weight: 400;
}

/* Real drop-down: blank until the visitor picks, chevron on the right. */
.ep-landing .gform_wrapper.gravity-theme select.gfield_select,
.pb-landing .gform_wrapper.gravity-theme select.gfield_select,
.bk-landing .gform_wrapper.gravity-theme select.gfield_select {
  display: block !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100%;
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 10px 40px 10px 14px;
  border: 1px solid #9AA3AE;
  border-radius: 8px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231C2A39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: #1C2A39;
  font-size: 16px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

/* The theme's styled overlay and its icon. */
.ep-landing .gform_wrapper.gravity-theme .gfield .select-selected,
.ep-landing .gform_wrapper.gravity-theme .gfield .select-items,
.ep-landing .gform_wrapper.gravity-theme .gfield select.gfield_select + svg,
.pb-landing .gform_wrapper.gravity-theme .gfield .select-selected,
.pb-landing .gform_wrapper.gravity-theme .gfield .select-items,
.pb-landing .gform_wrapper.gravity-theme .gfield select.gfield_select + svg,
.bk-landing .gform_wrapper.gravity-theme .gfield .select-selected,
.bk-landing .gform_wrapper.gravity-theme .gfield .select-items,
.bk-landing .gform_wrapper.gravity-theme .gfield select.gfield_select + svg {
  display: none !important;
}
