.code-embed-8 .hbspt-form form {
  display: flex;
  width: 416px;
  padding: 4px 4px 4px 16px;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  background: var(--white-100, #fff);
}
.code-embed-8 .hbspt-form {
  position: relative;
}
.code-embed-8 .hbspt-form .hs_email {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
}

.code-embed-8 .hbspt-form .hs_email label span {
  display: none;
}

.code-embed-8 .hbspt-form .hs_email .input {
  margin: 0;
  padding: 0;
  height: 44px;
}

/* KEY FIX: explicit height on input */
.code-embed-8 .hbspt-form .hs_email .hs-input {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(2, 17, 32, 0);
  border-right: none;

  font: inherit;
  font-size: 14px;
  color: #021120;
  background-color: #ffffff;
  outline: none;
  margin: 0;
}

.code-embed-8 .hbspt-form .hs_email .hs-input::placeholder {
  color: rgba(2, 17, 32, 0.5);
}

.code-embed-8 .hbspt-form .hs_submit {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.code-embed-8 .hbspt-form .hs_submit .actions {
  margin: 0;
  padding: 0;
  display: flex;
  height: 44px;
}

/* KEY FIX: explicit height on button matches input */
.code-embed-8 .hbspt-form .hs_submit .hs-button {
  display: block;
  height: 100%;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #3a65ff;
  padding: 0 24px;
  background-color: #3a65ff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 44px;
  cursor: pointer;
  white-space: nowrap;
  margin: 0;
}

.code-embed-8 .hbspt-form .hs_submit .hs-button:hover {
  background-color: #1b3cf5;
  border-color: #1b3cf5;
}

.code-embed-8 .hbspt-form .hs-error-msgs {
  display: none;
  /* list-style: none;

  margin: 0;
  position: absolute;
  padding-top: 5px;
  color: FB4949; */
}

.code-embed-8 .hbspt-form .hs-form-field,
.code-embed-8 .hbspt-form .hs_submit {
  margin: 0;
}

@media (max-width: 600px) {
  .code-embed-8 .hbspt-form form {
    width: 316px;
  }
  /* .code-embed-8 .hbspt-form form {
    flex-direction: column;
    gap: 8px;
  }
  .code-embed-8 .hbspt-form .hs_email .hs-input {
    border-radius: 8px;
    border-right: 1px solid rgba(2, 17, 32, 0.15);
    width: 100%;
  }
  .code-embed-8 .hbspt-form .hs_submit .hs-button {
    border-radius: 8px;
    width: 100%;
    text-align: center;
  } */
}

@media (max-width: 420px) {
  .code-embed-8 .hbspt-form form {
    width: 290px;
  }
}
