/* Default form skin — layout1
 * Extracted from frontend-forms.css (.wpuf-style block).
 * Scoped to .wpuf-form-layout1 so it never conflicts with layout2–5.
 */

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=text],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=text],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=password],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=password],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=email],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=email],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=url],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=url],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=number],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=number],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=tel],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=tel],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields textarea,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields textarea {
  background: #fafafa;
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #ddd !important;
  color: #888;
  width: 95%;
}

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=text]:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=text]:focus,
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=password]:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=password]:focus,
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=email]:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=email]:focus,
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=url]:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=url]:focus,
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=number]:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=number]:focus,
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields textarea:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields textarea:focus {
  color: #373737;
}

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields textarea,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields textarea {
  padding-left: 3px !important;
  width: 95%;
}

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=text],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=text],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=password],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=password],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=email],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=email],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=url],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=url],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=number],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=number] {
  padding: 5px !important;
}

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields select,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields select {
  border: 1px solid #eee !important;
  padding: 2px !important;
  height: 2em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px !important;
  min-width: 150px;
  max-width: 100%;
}

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields select[multiple],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields select[multiple] {
  height: auto;
}

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields-inline,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields-inline {
  display: flex;
  justify-content: space-between;
}

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-submit input[type=submit],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-submit input[type=submit] {
  font-size: 16px;
  padding: 5px 15px !important;
  line-height: inherit;
  height: inherit;
  border: 1px solid #ccc !important;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px !important;
  background: #0085ba;
  border-color: #0073aa #006799 #006799 !important;
  -webkit-box-shadow: 0 1px 0 #006799;
  box-shadow: 0 1px 0 #006799 !important;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
}

#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-submit input[type=submit]:disabled,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-submit input[type=submit]:disabled {
  background: #dddddd;
  border-color: #dddddd !important;
  -webkit-box-shadow: 0 1px 0 #dddddd;
  box-shadow: 0 1px 0 #dddddd !important;
  color: #000;
  text-shadow: 0 -1px 1px #dddddd, 1px 0 1px #dddddd, 0 1px 1px #dddddd, -1px 0 1px #dddddd;
}

/* Figma typography — Inter (falls back to system sans when not loaded). */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style),
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) input,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) textarea,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) select,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) button {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==== Figma deep-sync (node 5527:37864) — white classic template ====
   Own palette only: #FAFAFA surface, #DCDCDC border, #4B5563 text,
   #9CA3AF placeholder, #0088BB accent/submit. */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li {
  margin-bottom: 40px !important;
  padding: 0 !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-label,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-label label {
  color: #4B5563;
  font-weight: 500;
  font-size: 18px;
  line-height: 32px;
}
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=text],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=text],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=password],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=password],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=email],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=email],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=url],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=url],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=number],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=number],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields input[type=tel],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input[type=tel],
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields textarea,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields textarea {
  border: 1px solid #DCDCDC !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  width: 100%;
  box-sizing: border-box;
  color: #4B5563;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 16px !important;
}
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields textarea,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields textarea {
  padding: 12px 16px !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields input::placeholder,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields textarea::placeholder {
  color: #9CA3AF;
}
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-fields select,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-fields select {
  background: #FAFAFA;
  border: 1px solid #DCDCDC !important;
  border-radius: 5px !important;
  padding: 8px 16px !important;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  color: #4B5563;
  font-size: 16px;
  line-height: 24px;
}
/* Controls: 20px circles, #E5E7EB rest border, #0088BB accent */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="radio"],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #E5E7EB !important;
  border-radius: 50% !important;
  background: #FFFFFF;
  position: relative;
  margin-right: 12px !important;
  cursor: pointer;
  vertical-align: middle;
  padding: 0 !important;
}
/* Checkbox is a rounded square so it stays visually distinct from the circular radio. */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="checkbox"] {
  border-radius: 4px !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="radio"]:checked {
  border-color: #0088BB !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="radio"]:checked::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #0088BB;
  border-radius: 50% !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="checkbox"]:checked {
  background: #0088BB;
  border-color: #0088BB !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="checkbox"]:checked::after {
  content: '';
  width: 9px;
  height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.06186 0.278861C8.23568 0.45747 8.33333 0.699683 8.33333 0.952236C8.33333 1.20479 8.23568 1.447 8.06186 1.62561L3.42579 6.3878C3.25191 6.56636 3.01611 6.66667 2.77025 6.66667C2.52438 6.66667 2.28859 6.66636 2.11471 6.3878L0.26028 4.48293C0.0913804 4.3033 -0.00207753 4.06271 3.50511e-05 3.81298C0.00214763 3.56325 0.0996617 3.32437 0.271575 3.14778C0.443488 2.97119 0.676044 2.87102 0.919157 2.86885C1.16227 2.86668 1.39649 2.96268 1.57136 3.13618L2.77025 4.36768L6.75078 0.278861C6.92466 0.100307 7.16045 0 7.40632 0C7.65218 0 7.88798 0.100307 8.06186 0.278861Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-radio-block,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-checkbox-block {
  color: #4B5563;
  font-size: 16px;
  line-height: 24px;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-radio-list li,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-checkbox-list li,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-multi-select-list li {
  margin-bottom: 12px !important;
}
/* Multiselect chips + panel */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .custom-multiselect .selected-item {
  background: #F3F3F3;
  border-radius: 5px !important;
  padding: 2px 10px !important;
  color: #4B5563;
  font-size: 16px;
  align-items: center;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .custom-multiselect .multiselect-dropdown {
  background: #FAFAFA;
  border: 1px solid #DCDCDC !important;
  border-radius: 5px !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .custom-multiselect .multiselect-option input[type="checkbox"]:checked + label::before {
  background: #0088BB;
  border-color: #0088BB !important;
}
/* File upload zone */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-file-upload-zone {
  background: #FAFAFA;
  border: 1px dashed #CBD5E1 !important;
  border-radius: 5px !important;
  padding: 36px 20px !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-upload-title,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-upload-title .wpuf-label label {
  color: #4B5563;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-upload-instructions {
  color: #9CA3AF;
  font-size: 12px;
  line-height: 20px;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a.file-selector {
  display: block;
  padding: 36px 20px !important;
  border: 1px dashed #CBD5E1 !important;
  border-radius: 5px !important;
  background: #FAFAFA;
  color: #4B5563;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  box-shadow: none !important;
  font-size: 16px;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields #wpuf-insert-image-container a.wpuf-insert-image {
  background: #FAFAFA;
  border: 1px solid #DCDCDC !important;
  border-radius: 5px !important;
  padding: 8px 16px !important;
  color: #4B5563;
  font-size: 16px;
  line-height: 24px;
  box-shadow: none !important;
  text-decoration: none;
}
/* Submit pill */
#form-preview-stage.wpuf-form-layout1 ul.wpuf-form .wpuf-submit input[type=submit],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form .wpuf-submit input[type=submit] {
  background: #0088BB;
  border: none !important;
  border-radius: 85px !important;
  padding: 10px 32px !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  text-shadow: none;
}


/* Rest-state control border: template input-border tone (visible on white) */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="radio"],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="checkbox"] {
  border-color: #DCDCDC !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="radio"]:checked,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="checkbox"]:checked {
  border-color: #0088BB !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .custom-multiselect .multiselect-option label::before {
  border-color: #DCDCDC !important;
}

/* ---- Address field: wrapper is the field column; inner rows stack full width,
   sub-label sits under its input. Matches real markup:
   li > .wpuf-fields-address > .wpuf-address-field > .wpuf-fields.wpuf-sub-fields ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields-address {
    float: left;
    width: 70%;
    box-sizing: border-box;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form.form-label-above li .wpuf-fields-address,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form.form-label-hidden li .wpuf-fields-address {
    float: none;
    width: 100%;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields-address .wpuf-address-field {
    display: block;
    float: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields-address .wpuf-address-field.city_name,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields-address .wpuf-address-field.zip {
    margin-right: 0 !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields-address .wpuf-address-field .wpuf-fields.wpuf-sub-fields {
    float: none;
    width: 100%;
    display: block;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields-address .wpuf-address-field input,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields-address .wpuf-address-field select {
    width: 100%;
    box-sizing: border-box;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields-address label.wpuf-form-sub-label {
    display: block;
    float: none;
    margin-top: 4px !important;
}

/* Control rest border: crisp neutral gray (#DCDCDC read as invisible) */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="radio"],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="checkbox"] {
  border-color: #9CA3AF !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="radio"]:checked,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input[type="checkbox"]:checked {
  border-color: #0088BB !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .custom-multiselect .multiselect-option label::before {
  border-color: #9CA3AF !important;
}

/* ---- Multiselect closed control: match the template field style ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .custom-multiselect .multiselect-input {
    background: #FAFAFA;
    border: 1px solid #DCDCDC !important;
    border-radius: 5px !important;
    padding: 8px 16px !important;
    box-sizing: border-box;
    min-height: 42px;
    align-items: center;
}
/* ---- TOC label: sentence flows naturally; links use template accent ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields label.wpuf-checkbox-block:has(a) {
    display: block !important;
    line-height: 24px;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields label.wpuf-checkbox-block:has(a) input[type="checkbox"] {
    margin-right: 12px !important;
    vertical-align: middle;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a:not(.file-selector):not(.wpuf-insert-image):not(.wpuf-button):not(.wpuf-upload-trigger) {
    color: #0088BB;
}
/* ---- Space above the submit button ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li.wpuf-submit input[type="submit"] {
    margin-top: 40px !important;
}

/* ---- Theme reset (Use Theme CSS = off): neutralize theme bleed so the
   template design owns the form. Only neutral props are forced — the
   template's own colors/borders/spacing rules stay in charge. ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li {
    list-style: none !important;
    background-image: none !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li::before,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li::marker {
    content: none !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="file"]),
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields textarea,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields select {
    max-width: 100% !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    background-image: none;
    box-sizing: border-box !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-label,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-label label {
    letter-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li.wpuf-submit input[type="submit"] {
    background-image: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    width: auto !important;
    border-style: solid !important;
    transition: background-color 0.2s ease;
}

/* ---- Pricing fields: palette-matched (price label, quantity, cart) ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-price-label,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-price-currency-label {
    color: #9CA3AF;
    font-weight: 500;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-pricing-radio-item,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-pricing-checkbox-item {
    margin-bottom: 12px !important;
    align-items: center;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-pricing-quantity {
    width: 80px !important;
    padding: 6px 10px !important;
    border: 1px solid #DCDCDC !important;
    border-radius: 5px !important;
    background: #FAFAFA;
    color: #4B5563;
    margin-left: 12px !important;
    box-sizing: border-box;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-summary,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-total-display,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-multiselect-quantities {
    background: #FAFAFA;
    border: 1px solid #DCDCDC !important;
    border-radius: 5px !important;
    color: #4B5563;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-table {
    background: transparent;
    color: #4B5563;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-table thead th {
    background: transparent;
    border-bottom: 1px solid #DCDCDC !important;
    color: #9CA3AF;
    font-weight: 500;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-table tbody td {
    border-bottom: 1px solid #DCDCDC !important;
    color: #4B5563;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-table tfoot td {
    border-top: 1px solid #DCDCDC !important;
    color: #4B5563;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-total-amount {
    color: #0088BB;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-qty-row label {
    color: #4B5563;
}

/* ---- Self-contained surface: the light palette carries its own white
   card so labels/fields stay readable on dark themes too ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) {
    background: #FFFFFF;
    padding: 40px !important;
    border-radius: 20px !important;
}
@media (max-width: 600px) {
    .wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) {
        padding: 24px !important;
    }
}

/* ---- Strength indicator: palette states (default box was WP-core white) ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .pass-strength-result {
    background: #FAFAFA;
    border: 1px solid #DCDCDC !important;
    color: #9CA3AF;
    border-radius: 6px !important;
    padding: 10px 32px !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .pass-strength-result.short {
    background: #FEE2E2;
    border-color: #FEE2E2 !important;
    color: #B91C1C;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .pass-strength-result.bad {
    background: #FFEDD5;
    border-color: #FFEDD5 !important;
    color: #C2410C;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .pass-strength-result.good {
    background: #FEF9C3;
    border-color: #FEF9C3 !important;
    color: #A16207;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .pass-strength-result.strong {
    background: #E1FFEF;
    border-color: #E1FFEF !important;
    color: #00A14B;
}

/* ---- Math captcha: palette colors ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-math-captcha .captcha-number,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-math-captcha .captcha-equal {
    color: #4B5563;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-math-captcha #captchaRefresher {
    fill: #4B5563;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-math-captcha .wpuf-captcha-error {
    color: #F20000;
}

/* ---- Multistep Prev/Next: same treatment as the template submit ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-multistep-nav-btn {
    background: #0088BB;
    color: #FFFFFF;
    border: none !important;
    border-radius: 85px !important;
    padding: 10px 32px !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}

/* ---- Uploaded file rows (Figma): 48px bordered thumb, 24px delete/drag
   icons, borderless row ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    float: none;
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 8px 0 !important;
    margin: 0 0 8px !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap .attachment-name img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap .caption {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap a.attachment-delete img,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap .wpuf-drag-file img {
    width: 24px;
    height: 24px;
    border: none !important;
    border-radius: 0 !important;
}

/* ---- Attachment rows per Figma: clean row, palette trash icon, no dark
   overlay chip; whole row stays sortable so the drag sprite is hidden ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap .caption {
    background: transparent !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: auto !important;
    padding: 0 !important;
    width: auto !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap .caption a.attachment-delete img {
    display: none;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap .caption a.attachment-delete {
    display: inline-flex;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0'/%3E%3C/svg%3E") center / 20px 20px no-repeat !important;
    border: none !important;
    box-shadow: none !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap .caption .wpuf-drag-file {
    display: none;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-attachment-list li.wpuf-image-wrap .wpuf-attach-title {
    flex: 1;
    font-size: 16px;
    line-height: 24px;
    color: #4B5563;
    overflow-wrap: anywhere;
}
/* Legacy file-selector matches the field geometry of its template */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-fields a.file-selector {
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-fields input:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-fields textarea:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-fields select:focus {
    border-color: #0088BB !important;
}

/* ---- Consistency pass: forced cart palette, captcha strip, legacy icon ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a.file-selector:before {
    display: none !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-summary,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-total-display,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-multiselect-quantities {
    background: #FAFAFA !important;
    color: #4B5563 !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-table {
    background: transparent !important;
    color: #4B5563 !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-table thead th {
    background: transparent !important;
    color: #9CA3AF !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-table tbody td,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-cart-table tfoot td {
    color: #4B5563 !important;
    background: transparent !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-math-captcha .captcha {
    background: #FAFAFA !important;
    border-color: #DCDCDC !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-math-captcha .captcha-number,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-math-captcha .captcha-equal {
    color: #4B5563 !important;
}

/* Editor: template palette */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wp-editor-wrap .wp-editor-container {
    border: 1px solid #DCDCDC !important;
    border-radius: 5px !important;
    overflow: hidden;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wp-editor-wrap .mce-toolbar-grp {
    background: #FAFAFA !important;
    border-bottom: 1px solid #DCDCDC !important;
}

/* Legacy 150px thumbnail box: row layout needs natural height */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-attachment-list li.wpuf-image-wrap {
    height: auto !important;
    min-height: 0 !important;
}

/* Phone field (intl-tel-input): keep the flag gutter — the forced
   16px padding overlapped the dial-code/flag */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti input,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti input[type="tel"],
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .intl-tel-input input,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .intl-tel-input input[type="tel"] {
    padding-left: 52px !important;
}

/* Figma sync: upload selector zone — no underline, zone typography */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a.file-selector,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .file-selector {
    text-decoration: none !important;
    line-height: 24px !important;
    font-weight: 400 !important;
}

/* ---- Image selectors (Figma "Select Image" bar): compact left-aligned
   icon + text bar in the template tokens ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a.file-selector,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .file-selector {
    background: #FAFAFA !important;
    border: 1px solid #DCDCDC !important;
    border-radius: 5px !important;
    color: #4B5563 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a.file-selector:before,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .file-selector:before {
    content: '' !important;
    display: inline-block !important;
    position: static !important;
    width: 20px !important;
    height: 20px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%234B5563'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    font-family: inherit !important;
    line-height: normal !important;
    flex: none;
}

/* ---- Phone country dropdown (intl-tel-input): palette panel; our forced
   li spacing must not leak into its rows ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti__country-list {
    background: #FFFFFF !important;
    border: 1px solid #DCDCDC !important;
    color: #4B5563 !important;
    border-radius: 6px;
    max-height: 220px;
    overflow-y: auto;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti__country-list li,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti__country-list li.iti__country {
    margin: 0 !important;
    padding: 8px 12px !important;
    list-style: none !important;
    background-image: none !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti__country-name {
    color: #4B5563 !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti__dial-code {
    color: #9CA3AF !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti__country-list li.iti__country:hover,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti__country-list li.iti__country.iti__highlight {
    background: rgba(128, 128, 128, 0.15) !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti__divider {
    border-bottom: 1px solid #DCDCDC !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Selector focus/hover: single accent border, no outline ring */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a.file-selector:hover,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a.file-selector:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields a.file-selector:focus-visible,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .file-selector:hover,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .file-selector:focus,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .file-selector:focus-visible {
    outline: none !important;
    border-color: #0088BB !important;
    box-shadow: none !important;
}

/* Phone gutter: outrank the :not()-chain input padding rules */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .iti input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .intl-tel-input input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]) {
    padding-left: 52px !important;
}

/* ---- Field icons follow the template palette (inline SVGs) ---- */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-upload-icon svg path,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .dropdown-arrow svg path {
    stroke: #6B7280 !important;
}
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-math-captcha .refresh svg,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-math-captcha .refresh svg path {
    fill: #6B7280 !important;
}

/* Field icon (Font Awesome, Show Icon = Yes) follows the template palette */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-label .wpuf-field-icon,
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-field-icon {
    color: #6B7280 !important;
}

/* Field Size: native selects (dropdown, time, taxonomy, pricing dropdown)
   default to content width — force them to fill the sized .wpuf-fields. */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields select {
    width: 100% !important;
}

/* Native select: hide the OS arrow, use the same chevron as the multiselect widget */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.25 0.75L7 7L0.75 0.75' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 14px 8px !important;
    padding-right: 40px !important;
}

/* Spacing: separate form title/description from the first field */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-form-title { margin: 0 0 8px !important; }
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-form-description { margin: 0 0 32px !important; }

/* Form list must not clip dropdowns / popups (multiselect panel, etc.) */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form {
    overflow: initial !important;
}

/* Help text readable per palette */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) ul.wpuf-form li .wpuf-fields .wpuf-help {
    color: #6B7280 !important;
}

/* Multistep nav buttons: pill with proper padding (match registration) */
.wpuf-form-add.wpuf-form-layout1:not(.wpuf-theme-style) .wpuf-multistep-nav-btn {
    background: #0088BB !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 85px !important;
    padding: 10px 32px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    box-shadow: none !important;
    text-transform: none !important;
}
