/* Get a Quote modal */
#tbt-quote-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

#tbt-quote-popup.is-open {
  display: flex;
}

#tbt-quote-popup .tbt-quote-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 52, 0.72);
  cursor: pointer;
}

#tbt-quote-popup .tbt-quote-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  padding: 28px 28px 24px;
  box-sizing: border-box;
  font-family: Inter, "Open Sans", system-ui, sans-serif;
}

#tbt-quote-popup .tbt-quote-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #0d1c34;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

#tbt-quote-popup .tbt-quote-close:hover {
  opacity: 1;
}

#tbt-quote-popup .tbt-quote-title {
  margin: 0 0 6px;
  color: #0d1c34;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

#tbt-quote-popup .tbt-quote-lead {
  margin: 0 0 20px;
  color: #6d7685;
  font-size: 14px;
  line-height: 1.5;
}

#tbt-quote-popup .elementor-form-fields-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#tbt-quote-popup .elementor-field-group {
  margin: 0;
  width: 100%;
}

#tbt-quote-popup .elementor-field-label {
  display: block;
  margin-bottom: 6px;
  color: #0d1c34;
  font-size: 13px;
  font-weight: 600;
}

#tbt-quote-popup .elementor-field-textual,
#tbt-quote-popup select.elementor-field-textual {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d5dbe6;
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 14px;
  color: #0d1c34;
  background: #f3f5f8;
}

#tbt-quote-popup .elementor-field-textual:focus,
#tbt-quote-popup select.elementor-field-textual:focus {
  outline: 2px solid #0095df;
  outline-offset: 1px;
  background: #fff;
}

#tbt-quote-popup textarea.elementor-field-textual {
  min-height: 88px;
  resize: vertical;
}

#tbt-quote-popup .e-form__buttons {
  margin-top: 4px;
}

#tbt-quote-popup .elementor-button[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #e76d2d;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 18px;
  cursor: pointer;
}

#tbt-quote-popup .elementor-button[type="submit"]:hover {
  background: #d45f22;
}

#tbt-quote-popup .elementor-button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

#tbt-quote-popup .tbt-quote-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

body.tbt-quote-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  #tbt-quote-popup .tbt-quote-dialog {
    padding: 24px 18px 20px;
  }

  #tbt-quote-popup .tbt-quote-title {
    font-size: 22px;
  }
}
