.hm-blog-lead-widget .hm-blog-lead-field label,
.hm-blog-lead-modal .hm-blog-lead-field label,
.hm-blog-lead-hs .hs-form-field > label {
  display: block;
  margin-bottom: 6px;
}

.hm-blog-lead-widget .hm-blog-lead-field input,
.hm-blog-lead-widget .hm-blog-lead-field select,
.hm-blog-lead-modal .hm-blog-lead-field input,
.hm-blog-lead-modal .hm-blog-lead-field select,
.hm-blog-lead-hs input,
.hm-blog-lead-hs select,
.hm-blog-lead-hs textarea {
  width: 100%;
}

.hm-blog-lead-hp {
  position: absolute;
  left: -9999px;
}

.hm-blog-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hm-blog-lead-modal[hidden] {
  display: none !important;
}

.hm-blog-lead-modal__dialog {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 6px;
  position: relative;
  padding: 20px;
}

.hm-blog-lead-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: #f2f2f2;
  color: #222;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  opacity: 1;
}

.hm-blog-lead-status.screen-reader-text {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 10px 0 0 !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  white-space: normal !important;
}

.hm-blog-lead-status.is-success {
  color: #137333;
}

.hm-blog-lead-status.is-error {
  color: #b42318;
}

.hm-blog-lead-hs form.is-submitting button[type="submit"],
.hm-blog-lead-hs form.is-submitting input[type="submit"] {
  opacity: 0.7;
  cursor: not-allowed;
}
