/* HubSpot Form Styling */

/* Form Container */
.hs-form {
  font-family: 'DM Sans', sans-serif;
  max-width: 100%;
}

/* Fieldset Layout - Single Column */
fieldset.form-columns-1,
fieldset.form-columns-2 {
  border: none;
  padding: 0;
  margin: 0;
  display: block;
}

/* Field Groups */
.hs-form-field {
  margin-bottom: 20px;
}

/* Labels */
.hs-form-field label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #111;
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
}

.hs-form-required {
  color: #E53E3E;
  margin-left: 2px;
}

/* Input Fields - Transparent with Bottom Border */
.hs-input {
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #111;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #E6E6E6;
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s ease;
}

.hs-input:focus {
  outline: none;
  border-bottom-color: #111;
}

.hs-input::placeholder {
  color: #BDBDBD;
}

/* Select Dropdowns */
select.hs-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

select.hs-input.is-placeholder {
  color: #BDBDBD;
}

select.hs-input:not(.is-placeholder) {
  color: #111;
}

/* Error States */
.hs-input.invalid.error {
  border-bottom-color: #E53E3E;
  background-color: transparent;
}

.hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
}

.hs-error-msg {
  color: #E53E3E;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
}

/* Legal Consent */
.legal-consent-container {
  margin: 8px 0 24px 0;
}

.hs-richtext {
  font-size: 11px;
  line-height: 1.6;
  color: #757575;
}

.hs-richtext a {
  color: #006AFF;
  text-decoration: underline;
}

.hs-richtext a:hover {
  text-decoration: none;
}

/* Hidden Fields */
.hs-form-field[style*="display: none"],
.hs-form-field[style*="display:none"] {
  display: none !important;
}

/* reCAPTCHA */
.hs-recaptcha {
  display: none;
  margin: 20px 0;
}

.grecaptcha-badge {
  margin: 0 auto;
}

/* Submit Button - Black Background */
.hs-submit {
  margin-top: 32px;
}

.hs-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.16px;
  color: #FFF;
  background: #010101;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background-color 0.2s ease;
}

.hs-button:hover {
  background: #1A1A1A;
}

.hs-button:active {
  background: #000;
}

/* Dependent Fields */
.hs-dependent-field {
  display: contents;
}

/* Input Container */
.hs-form-field .input {
  position: relative;
}