/* Quote and contact forms, styled to match the HighLevel forms they replace
   (fonts, colours and sizes measured from the live forms). */

.hl-form-card {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 4px 0 rgba(87, 100, 126, 0.21);
  font-family: Inter, sans-serif;
  color: #101828;
  text-align: left;
}
.hl-form-card *, .hl-form-card *::before, .hl-form-card *::after { box-sizing: border-box; }

.hl-form-heading {
  font-family: Inter, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
  color: rgba(14, 52, 184, 0.95);
  margin: 0 0 16px;
  border: 1px solid transparent;
}
.hl-form-heading mark { background: rgba(253, 253, 253, 0.91); color: inherit; }

.hl-field { margin: 0 0 16px; position: relative; border: 1px solid transparent; }
.hl-field > label, .hl-field > .hl-label {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28.8px;
  color: #344054;
  margin: 0 0 8px;
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
}

.hl-input {
  display: block;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #101828;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.hl-input::placeholder { color: #667085; opacity: 1; }
.hl-input:focus { border-color: #155eef; }
textarea.hl-input { height: 108px; resize: vertical; }

.hl-input-icon { position: relative; }
.hl-input-icon .hl-input { padding-left: 36px; }
.hl-input-icon svg { position: absolute; left: 12px; top: 13px; width: 16px; height: 16px; color: #667085; pointer-events: none; }

/* Multi-select ("Choose one or more options") */
.hl-ms { position: relative; }
.hl-ms__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 47px;
  padding: 8px 40px 3px 8px;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  cursor: pointer;
  outline: none;
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 28.8px;
  color: #101828;
}
.hl-ms.is-open .hl-ms__box, .hl-ms__box:focus { border-color: #155eef; }
.hl-ms.is-open .hl-ms__box { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hl-ms__placeholder { color: #667085; margin: -4px 0 0 1px; padding-bottom: 5px; }
.hl-ms__caret {
  position: absolute; right: 1px; top: 1px; width: 40px; height: 45px;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.hl-ms__caret::before {
  content: ''; border-style: solid; border-width: 5px 5px 0; border-color: #999 transparent transparent;
  transition: transform 0.2s;
}
.hl-ms.is-open .hl-ms__caret::before { transform: rotate(180deg); }
.hl-ms__tag {
  position: relative;
  display: inline-block;
  margin: 0 10px 5px 0;
  padding: 4px 26px 4px 10px;
  border: 1px solid #155eef;
  border-radius: 5px;
  background: transparent;
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 16px;
  color: #101828;
  white-space: nowrap;
}
.hl-ms__tag-x {
  position: absolute; right: 0; top: 0; bottom: 0; width: 22px;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: none; padding: 0; cursor: pointer;
  color: #98a2b3; font-size: 14px; line-height: 1;
}
.hl-ms__tag-x:hover { color: #475467; }
.hl-ms__list {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 50;
  max-height: 300px; overflow-y: auto;
  margin: 0; padding: 0; list-style: none;
  background: #fff;
  border: 1px solid #d0d5dd; border-top: 0;
  border-radius: 0 0 6px 6px;
}
.hl-ms.is-open .hl-ms__list { display: block; }
.hl-ms__opt {
  padding: 12px 10px;
  min-height: 45px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: #475467;
  cursor: pointer;
}
.hl-ms__opt.is-active { background: #155eef; color: #101828; }
.hl-ms__opt[aria-selected="true"] { font-weight: 600; }

.hl-error { display: none; margin: 6px 0 0; font-family: Inter, sans-serif; font-size: 14px; line-height: 20px; color: #f04438; }
.hl-error.is-visible { display: block; }

.hl-submit {
  display: block;
  width: 100%;
  height: 43px;
  margin: 32px 1px 17px;
  width: calc(100% - 2px);
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: #155eef;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 25.2px;
  color: #fff;
  cursor: pointer;
}
.hl-submit:hover { background: #0d4fd6; }
.hl-submit[disabled] { opacity: 0.7; cursor: default; }

.hl-hidden { display: none; }

/* Thank-you message (same wording and styling as the old form) */
.hl-thanks { padding: 24px 8px; text-align: center; font-family: Inter, sans-serif; color: #101828; }
.hl-thanks p { margin: 0; }
.hl-thanks .hl-thanks__emoji { font-size: 18px; line-height: 28px; font-weight: 600; }
.hl-thanks .hl-thanks__title { font-size: 16px; line-height: 24px; font-weight: 600; margin-top: 4px; }
.hl-thanks .hl-thanks__text { font-size: 12px; line-height: 18px; font-weight: 400; margin-top: 4px; }

/* Sticky quote panel (home page): fixed on the right, vertically centred,
   800 x 500, full width on screens 550px and narrower (same breakpoint as the
   old widget), with a round close button. */
.hl-sticky {
  position: fixed;
  z-index: 9999;
  top: 50%;
  right: 15px;
  width: 800px;
  height: 500px;
  max-height: 100vh;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 8px;
}
.hl-sticky.is-closed { display: none; }
.hl-sticky__scroll { height: 100%; overflow: auto; border-radius: 8px; }
.hl-sticky__close {
  position: absolute; top: 3px; right: 6px; z-index: 2;
  width: 23px; height: 23px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: #e8e8e8; border: 1px solid #ccc; border-radius: 50%;
  cursor: pointer;
}
.hl-sticky__close svg { width: 24px; height: 24px; flex-shrink: 0; }
@media only screen and (max-width: 550px) {
  .hl-sticky { left: 0; right: 0; width: 100%; }
}
