.df-modal-open {
  overflow: hidden;
}

.df-callback-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 20, 27, .58);
  backdrop-filter: blur(5px);
}

.df-callback-modal.is-open {
  display: flex;
}

.df-callback-dialog,
.df-lead-page-card,
.df-lead-success-card {
  box-sizing: border-box;
  width: min(100%, 520px);
  border: 1px solid #dce2e8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 20, 27, .18);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.df-callback-dialog {
  position: relative;
  padding: 34px;
}

.df-callback-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f3f5f7;
  color: #15191f;
  font-size: 28px;
  line-height: 36px;
  cursor: pointer;
}

.df-callback-kicker,
.df-lead-kicker {
  margin: 0 0 10px;
  color: #2259d1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.df-callback-dialog h2,
.df-lead-page-card h1,
.df-lead-success-card h1 {
  margin: 0 0 12px;
  color: #11161d;
  font-weight: 800;
  line-height: 1.1;
}

.df-callback-dialog h2 {
  font-size: 32px;
}

.df-callback-intro,
.df-lead-page-card > p,
.df-lead-success-card p {
  margin: 0 0 24px;
  color: #697381;
  font-size: 15px;
  line-height: 1.6;
}

.df-callback-form,
.df-lead-page-form {
  display: grid;
  gap: 10px;
}

.df-callback-form label,
.df-lead-page-form label {
  margin-top: 5px;
  color: #202630;
  font-size: 13px;
  font-weight: 750;
}

.df-callback-form label span,
.df-lead-page-form label span {
  color: #d33838;
}

.df-callback-form label small {
  color: #8b949f;
  font-weight: 500;
}

.df-callback-form input,
.df-callback-form textarea,
.df-lead-page-form input,
.df-lead-page-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7dee5;
  border-radius: 13px;
  background: #fff;
  color: #161b22;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.df-callback-form input:focus,
.df-callback-form textarea:focus,
.df-lead-page-form input:focus,
.df-lead-page-form textarea:focus {
  border-color: #91cf00;
  box-shadow: 0 0 0 3px rgba(145, 207, 0, .13);
}

.df-callback-form textarea,
.df-lead-page-form textarea {
  resize: vertical;
}

.df-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.df-callback-error {
  min-height: 18px;
  color: #b12d2d;
  font-size: 13px;
  font-weight: 650;
}

.df-callback-submit,
.df-lead-submit,
.df-lead-success-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
  border: 0;
  border-radius: 12px;
  background: #91d600;
  color: #11161d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.df-callback-submit {
  width: 100%;
  margin-top: 2px;
}

.df-callback-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.df-lead-toast {
  position: fixed;
  z-index: 100060;
  top: 96px;
  left: 50%;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 12px;
  width: min(calc(100% - 32px), 560px);
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid rgba(145, 214, 0, .45);
  border-radius: 14px;
  background: #151b22;
  color: #fff;
  box-shadow: 0 18px 44px rgba(15, 20, 27, .24);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity .2s ease, transform .2s ease;
}

.df-lead-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.df-lead-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #91d600;
  color: #11161d;
  font-weight: 900;
}

.df-lead-toast-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.df-lead-toast-text strong {
  font-size: 14px;
  line-height: 1.25;
}

.df-lead-toast-text span {
  color: #c9d0d8;
  font-size: 12px;
  line-height: 1.35;
}

.df-lead-toast-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #c9d0d8;
  font-size: 24px;
  line-height: 28px;
  cursor: pointer;
}

.df-lead-page,
.df-lead-success-page {
  padding: 64px 20px 90px;
  background: #f3f6f8;
}

.df-lead-page-card,
.df-lead-success-card {
  margin: 0 auto;
  padding: 38px;
}

.df-lead-page-card h1,
.df-lead-success-card h1 {
  font-size: 38px;
}

.df-lead-submit {
  width: 100%;
  margin-top: 12px;
}

.df-lead-success-card {
  text-align: center;
}

.df-lead-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #91d600;
  color: #11161d;
  font-size: 30px;
  font-weight: 900;
}

.df-lead-success-button {
  min-width: 220px;
  padding: 0 24px;
}

@media (max-width: 767px) {
  .df-callback-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .df-callback-dialog {
    width: 100%;
    padding: 28px 20px 22px;
    border-radius: 22px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .df-callback-dialog h2 {
    font-size: 27px;
  }

  .df-lead-toast {
    top: 84px;
  }

  .df-lead-page,
  .df-lead-success-page {
    padding: 34px 14px 70px;
  }

  .df-lead-page-card,
  .df-lead-success-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .df-lead-page-card h1,
  .df-lead-success-card h1 {
    font-size: 31px;
  }
}


/* v1.0.1: contact/callback success page */
.df-lead-success-page {
  min-height: 430px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.df-lead-success-card {
  margin-top: 18px;
  max-width: 620px;
  padding: 46px 42px;
}

.df-lead-success-card h1 {
  margin-bottom: 14px;
}

.df-lead-success-card p {
  max-width: 470px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .df-lead-success-page {
    min-height: 360px;
  }

  .df-lead-success-card {
    margin-top: 0;
    padding: 30px 22px;
  }
}
