.elementor-element .elementor-widget-hubspot-free-trial-form-widget {
  min-width: 100% !important;
}

.hs-richtext.hs-main-font-element p a {
  text-decoration: underline !important;
}

.elementor-widget-hubspot-free-trial-form-widget span,
.elementor-widget-hubspot-free-trial-form-widget label,
.elementor-widget-hubspot-free-trial-form-widget p,
.elementor-widget-hubspot-free-trial-form-widget input,
.elementor-widget-hubspot-free-trial-form-widget h3 {
  font-family: 'Poppins', sans-serif !important;
}

.form-columns-0 .hs-richtext.hs-main-font-element p {
  margin: 12px 0 12px 0 !important;
}

.form-cont form label,
p.disclaimer {
  color: var(--label-color, white) !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.hs-richtext {
  margin-bottom: 16px;
}

.form-columns-2 {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 9px !important;
}

.form-columns-2 .hs_lastname .input{
  margin-right: 0 !important;
}

.dup-mobile-geo-compliance-free-trial 
.form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
}

.form-container .form-content {
  width: 100% !important;
  min-height: 350px;

  .field.hs-form-field {
    align-items: flex-start !important;
  }

  /* Hide labels (except for project fields) */
  .hs-form .hs-form-field label:not(.hs-project_goals label):not(.hs-project_launch_date label) {
    display: none;
  }

  .hs_error_rollup ul.hs-error-msgs.inputs-list {
    font-size: 16px !important;
    color: var(--label-color, white) !important;
    padding: 8px !important;
  }

  .hs_error_rollup ul.hs-error-msgs.inputs-list li {
    padding: 8px !important;
    display: flex;
    justify-content: center;  
  }

  label.hs-error-msg.hs-main-font-element,
  label.hs-error-msg,
  .hs-error-msg {
    display: block !important;
  }

  /* Display/ Hide Project Launch Date field */
  .hs_project_launch_date.hs-project_launch_date.hs-fieldtype-date.field.hs-form-field {
    display: none !important;
  }

  .hs-fieldtype-text.field.hs-form-field {
    ul {
      font-size: 11px !important;
      color: var(--label-color, white) !important;
    }
  }

  .hs_firstname.hs-firstname.hs-fieldtype-text.field.hs-form-field,
  .hs_lastname.hs-lastname.hs-fieldtype-text.field.hs-form-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    /* max-width: 100% !important; */
    /* width: 100% !important; */

    ul {
      display: block !important;
      margin-right: auto;
    }

    li label {
      font-size: 12px;
    }
  }

  .hs_email.hs-email.hs-fieldtype-text.field.hs-form-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    max-width: 100% !important;
    width: 100% !important;

    ul {
      display: block !important;
      margin-right: auto;
    }

    li label {
      font-size: 12px;
    }
  }

  .hs-fieldtype-select.field.hs-form-field,
  .hs-fieldtype-date.field.hs-form-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start !important;

    label {
      /* color: white !important; */
      font-size: 12px;
    }
  }

  input::placeholder,
  input.required-placeholder::placeholder {
    color: #929292 !important;
  }

  form {
    width: 100%;

    .hs-dateinput {
      margin-bottom: 0 !important;
      width: 100%;
      display: flex;
      justify-content: center;

      label {
        display: flex !important;
      }
    }

    .field {
      display: flex;
      align-items: center;
      margin-bottom: 13px;
      width: 100% !important;

      .input,
      .hs-input,
      .input select {
        width: 100% !important;
        min-width: 80px !important;
      }

      .input {
        display: flex;
        justify-content: center;
      }

      input,
      select {
        width: 100% !important;
        color: black !important;
        background-color: #fafafa;
        border: none !important;
        max-height: 43px;
      }
    }

    .hs_submit.hs-submit {
      .actions {
        display: flex;
        justify-content: center;
        margin-bottom: 16px;

        input[type="submit"] {
          z-index: 1 !important;
          min-width: 73% !important;
          min-height: 53px;
          background-color: #ff31a8;
          font-size: 17px !important;
          font-weight: 700;
          padding: 0 !important;
          margin: 0 !important;
          background-image: none;
          box-shadow: 0px 5px 11px rgba(0, 0, 0, 0.25) !important;

          &:hover {
            background-color: #c61a7d !important;
          }
        }
      }
    }

    .hs_recaptcha {
      height: 0 !important;
      visibility: hidden !important;
    }

    .hs_recaptcha .input {
      visibility: hidden !important;
    }
  }
}



/* Mobile Styles */
@media screen and (max-width: 480px) {
  .form-container .form-content {
    width: 100% !important;
  }

  span.hubspot-form-opt-in-text {
    display: block !important;
  }

  .actions {
    justify-content: center !important;
  }
}

.hs_project_goals {
  .input {
    position: relative;
    display: inline-block;
  }

  /* Override dropdown button icon content and style (⌄ ->  ▾) */
  .input::after {
    content: '▾';
    position: absolute;
    right: 1rem;
    top: 55%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.3rem;
    color: #000;
  }

  .input .hs-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2rem;
    width: 100%;
  }

  /* Override Project goals placeholder color (balck -> grey) */
  .input select.hs-input.is-placeholder {
    color: rgba(93, 95, 100, 0.748) !important;
  }
}
