/* --- HUBSPOT FORM STYLES --- */
.form-steps .eyebrow {
  color: var(--color-blue-400);
}

.form-steps li:not(.active) .eyebrow,
.form-steps li:not(.active) {
  color: var(--color-gray-500);
}

.form-steps li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hbspt-form {
  --border-color: #DFE0E2;
}

/* --- General Fields & Labels --- */
.hbspt-form .hs-form-field {
  margin-bottom: 28px;
}

.hbspt-form .hs-form-field label {
  display: block;
  margin-bottom: 4px;
}

.hbspt-form .hs-form-field input[type="text"],
.hbspt-form .hs-form-field input[type="email"],
.hbspt-form .hs-form-field input[type="tel"],
.hbspt-form .hs-form-field textarea,
.hbspt-form .hs-form-field.hs-fieldtype-select .input select {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  line-height: 1.25;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--color-white);
}



.hbspt-form .hs-form-field input[type="text"]:focus,
.hbspt-form .hs-form-field input[type="email"]:focus,
.hbspt-form .hs-form-field input[type="tel"]:focus,
.hbspt-form .hs-form-field textarea:focus,
.hbspt-form .hs-form-field.hs-fieldtype-select .input select:focus {
  border-color: var(--color-blue-300);
  outline: none;
}

.hbspt-form .hs-form-field textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Select Dropdown --- */
.hbspt-form .hs-fieldtype-select .input {
  position: relative;
}

.hbspt-form .hs-fieldtype-select select {
  /* Reset */
  appearance: none;
  outline: none;
  border: none;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
}

.hbspt-form .hs-fieldtype-select .input::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 32px;
  aspect-ratio: 1;
  background: var(--color-navy-50);
  border-radius: 9px;
  pointer-events: none;
}

.hbspt-form .hs-fieldtype-select .input::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 16px;
  height: 10px;
  background: url("../assets/svg/icons/dropdown-arrow.svg") no-repeat;
  background-size: 15px 9px;
  filter: invert(57%) sepia(14%) saturate(276%) hue-rotate(181deg) brightness(96%) contrast(92%);
  pointer-events: none;
  transition: all 0.25s ease;
}

/* --- Checkboxes & Legal Consent --- */
.hbspt-form .legal-consent-container {
  color: var(--color-gray-600);
  font-size: 14px;
}

.hbspt-form .inputs-list {
  list-style-type: none;
}

.hbspt-form .legal-consent-container input[type="checkbox"] {
  appearance: none;
  display: block;
  width: 20px;
  height: 20px;
  margin: 2px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--color-white);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hbspt-form .legal-consent-container input[type="checkbox"]:checked {
  background-color: var(--color-blue-300);
  border-color: var(--color-blue-300);
  background-image: url("../assets/svg/icons/icon-checkmark-white.svg");
  background-size: 80%;
  background-position: 60% 60%;
  background-repeat: no-repeat;
}

/* Aligns checkbox label */
.hbspt-form .input .hs-form-booleancheckbox-display>span {
  margin-left: 28px;
}

/* --- Submit Button --- */
.hbspt-form .hs-submit input[type="submit"] {
  background: var(--color-blue-300);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 250ms ease;
}

.hbspt-form .hs-submit input[type="submit"]:hover,
.hbspt-form .hs-submit input[type="submit"]:focus {
  background: var(--color-blue-700);
}

/* --- Error Messages --- */
.hbspt-form .hs-error-msgs {
  list-style-type: none;
  color: #D93025;
  font-size: 0.875rem;
  margin-top: 4px;
}