/*
 * We'll Buy Any Plant Machinery — Cognito Forms seamless embeds.
 * Use Chameleon field styling, hide the Cognito form title in the embed, and place
 * the quick and detailed scripts inside #plant-quick-form and
 * #plant-detailed-form respectively. The site's Barlow Condensed and DM Sans
 * fonts are already loaded by /assets/site.css.
 */
:is(#plant-quick-form, #plant-detailed-form) .cog-cognito,
:is(#plant-quick-form, #plant-detailed-form) .cog-form {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #182B4C;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-header,
:is(#plant-quick-form, #plant-detailed-form) .cog-header h1,
:is(#plant-quick-form, #plant-detailed-form) .cog-form__title {
  display: none !important;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-section__heading,
:is(#plant-quick-form, #plant-detailed-form) .cog-confirmation__message {
  color: #182B4C;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-label {
  display: block;
  margin-bottom: 5px;
  color: #182B4C;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.3;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-helptext {
  margin-top: 5px;
  color: #465670;
  font: 400 13px/1.45 "DM Sans", Arial, sans-serif;
}

:is(#plant-quick-form, #plant-detailed-form) .el-input__inner,
:is(#plant-quick-form, #plant-detailed-form) .el-textarea__inner,
:is(#plant-quick-form, #plant-detailed-form) .cog-field input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]),
:is(#plant-quick-form, #plant-detailed-form) .cog-field select,
:is(#plant-quick-form, #plant-detailed-form) .cog-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  border: 1px solid #A9B5C6;
  border-radius: 4px;
  background: #FEFEFE;
  color: #182B4C;
  padding: 10px 12px;
  font: 400 16px/1.3 "DM Sans", Arial, sans-serif;
}

:is(#plant-quick-form, #plant-detailed-form) .el-textarea__inner,
:is(#plant-quick-form, #plant-detailed-form) .cog-field textarea {
  resize: vertical;
}

:is(#plant-quick-form, #plant-detailed-form) .el-input__inner::placeholder,
:is(#plant-quick-form, #plant-detailed-form) .el-textarea__inner::placeholder {
  color: #52627A;
  opacity: 1;
}

:is(#plant-quick-form, #plant-detailed-form) .el-input__inner:focus-visible,
:is(#plant-quick-form, #plant-detailed-form) .el-textarea__inner:focus-visible,
:is(#plant-quick-form, #plant-detailed-form) .cog-button:focus-visible,
:is(#plant-quick-form, #plant-detailed-form) .cog-field select:focus-visible,
:is(#plant-quick-form, #plant-detailed-form) .cog-field textarea:focus-visible,
:is(#plant-quick-form, #plant-detailed-form) .cog-field input:focus-visible {
  outline: 3px solid #32662D;
  outline-offset: 3px;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 750 15px/1.17 "DM Sans", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-button--primary {
  border-color: #94E45D;
  background: #94E45D;
  color: #182B4C;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-button--primary:hover {
  border-color: #A5ED77;
  background: #A5ED77;
  color: #182B4C;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-button--secondary {
  border-color: #A9B5C6;
  background: transparent;
  color: #182B4C;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-button--secondary:hover {
  background: #F2F5F8;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-field.is-error .el-input__inner,
:is(#plant-quick-form, #plant-detailed-form) .cog-field.is-error .el-textarea__inner {
  border-color: #B8213B;
}

:is(#plant-quick-form, #plant-detailed-form) .cog-error-message {
  border-left: 4px solid #A91430;
  border-radius: 3px;
  background: #FFF0F1;
  color: #6D1C2C;
  font: 650 13px/1.45 "DM Sans", Arial, sans-serif;
}

/* The short form sits against the navy hero, as on the current homepage. */
#plant-quick-form .cog-cognito,
#plant-quick-form .cog-form {
  color: #FEFEFE;
}

#plant-quick-form .cog-section__heading,
#plant-quick-form .cog-label,
#plant-quick-form .cog-confirmation__message {
  color: #FEFEFE;
}

#plant-quick-form .cog-section__heading {
  font-size: 25px;
  margin-bottom: 12px;
}

#plant-quick-form .cog-label {
  color: #EFF3F8;
  font-size: 12px;
}

#plant-quick-form .cog-helptext {
  color: #CAD3E1;
}

#plant-quick-form .el-input__inner,
#plant-quick-form .el-textarea__inner,
#plant-quick-form .cog-field input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]),
#plant-quick-form .cog-field select,
#plant-quick-form .cog-field textarea {
  min-height: 35px;
  border-color: #D7DFEA;
  background: #F9FAFC;
  padding: 7px 10px;
  font-size: 15px;
}

#plant-quick-form .cog-button--primary {
  min-height: 42px;
  padding: 10px 17px;
}

#plant-quick-form .cog-button--secondary {
  border-color: #8191AA;
  color: #FEFEFE;
}

#plant-quick-form .cog-button--secondary:hover {
  background: #1E3255;
}

#plant-quick-form .el-input__inner:focus-visible,
#plant-quick-form .el-textarea__inner:focus-visible,
#plant-quick-form .cog-button:focus-visible {
  outline-color: #94E45D;
}

/* The detailed form sits inside the site's white .form-panel container. */
#plant-detailed-form .cog-page__navigation {
  justify-content: flex-start;
}

#plant-detailed-form .cog-section__heading {
  margin-bottom: 15px;
}

/* Requested embed cleanup. */
.cog-abuse,
.cog-branding {
  display: none;
}

@media (max-width: 640px) {
  #plant-quick-form .cog-label {
    font-size: 13px;
  }

  #plant-quick-form .cog-section__heading {
    font-size: 29px;
  }

  :is(#plant-quick-form, #plant-detailed-form) .cog-button--primary {
    min-height: 44px;
  }
}
