/**
 * Product Page New: Lead Form popup (modal) and Lead Form footer.
 */

.product-page-lead-footer {
  padding: 64px 0;
  background-color: #fff;
  color: #000;
}

.product-page-lead-footer--dark {
  background-color: #1a1a1a;
  color: #fff;
}

.product-page-lead-footer--dark .form-control,
.product-page-lead-footer--dark .select2-container--bootstrap-5 .select2-selection {
  background-color: #2b2b2b;
  border-color: #4a4a4a;
  color: #fff;
}

.product-page-lead__title {
  margin-bottom: 8px;
  font-weight: 600;
}

.product-page-lead__description {
  margin-bottom: 32px;
}

.product-page-lead__extra-desc {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.8;
}

#productPageLeadModal .modal-body {
  padding: 32px;
}

#productPageLeadModal .btn-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

@media (max-width: 991.98px) {
  .product-page-lead-footer {
    padding: 40px 0;
  }

  #productPageLeadModal .modal-body {
    padding: 24px 16px;
  }

  /* theme.css pins .action-submit to the bottom of the screen on mobile (made
     for the /callback page); here the form sits inside a long page, so keep
     the button in the form. */
  .product-page-lead-footer .action-submit,
  .product-page-lead-footer .action-submit.active,
  #productPageLeadModal .action-submit,
  #productPageLeadModal .action-submit.active {
    position: static;
    padding: 0;
    background: none;
    border-top: 0;
  }
}
