.mktoForm * {
  font-family: "NeueHaasGroteskDisp Pro",sans-serif !important;
}

.mktoForm .mktoLabel {
  font-size: 1rem !important;
}

.mktoHtmlText.mktoHasWidth {
  width: 100% !important;
  font-size: 10px !important;
}

.mktoHtmlText.mktoHasWidth span a {
  font-size: 10px !important;
}

.mktoButtonRow {
  margin-top: 10px !important;
}

#mktoForm_1002 > div.mktoButtonRow,
#mktoForm_1074 > div.mktoButtonRow,
#mktoForm_1014 > div.mktoButtonRow {
  width: 100% !important;
  display: flex !important;
  justify-content: end !important;
}

#mktoForm_1014 > div:nth-child(8) > div > div > div > b > a {
	font-size: 10px !important;
}

.mktoButtonRow .mktoButtonWrap.mktoSimple {
  margin-left: 0 !important;
}

#main-wrapper .mktoButton,
#main-wrapper .mktoForm .mktoButton,
#main-wrapper .mktoForm input[type="submit"],
#main-wrapper .mktoForm button[type="submit"] {
  background: #0056FF !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  line-height: 1.4 !important;
  min-height: 44px !important;
}

.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover,
#main-wrapper .mktoButton:hover,
#main-wrapper .mktoForm .mktoButton:hover,
#main-wrapper .mktoForm input[type="submit"]:hover,
#main-wrapper .mktoForm button[type="submit"]:hover {
  background: #0047D1 !important;
  padding-right: 34px !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 86, 255, 0.3) !important;
}

.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:focus,
#main-wrapper .mktoButton:focus,
#main-wrapper .mktoForm .mktoButton:focus,
#main-wrapper .mktoForm input[type="submit"]:focus,
#main-wrapper .mktoForm button[type="submit"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 86, 255, 0.2) !important;
}

.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:active,
#main-wrapper .mktoButton:active,
#main-wrapper .mktoForm .mktoButton:active,
#main-wrapper .mktoForm input[type="submit"]:active,
#main-wrapper .mktoForm button[type="submit"]:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(0, 86, 255, 0.3) !important;
}

/* Marketo Modal Styles */
.leadinModal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leadinModal {
  background: white;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.leadinModal-content {
  padding: 3em 3.5em;
  text-align: center;
  position: relative;
}

.leadinModal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.leadinModal-close:hover {
  color: #000;
}

.leadinModal-description {
  font-size: 20px !important;
  text-align: center !important;
  font-weight: 500 !important;
  margin-bottom: 30px;
  color: #060c27;
}

.leadin-form-container {
  margin-top: 20px;
}

.leadin-preview-wrapper h4 {
  font-size: 20px !important;
  text-align: center !important;
  font-weight: 500 !important;
}

.leadin-form-container .mktoForm {
  text-align: center;
}

.leadin-form-container .mktoForm .mktoFormRow .mktoLabel {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  font-weight: 500;
  color: #060c27;
}

.leadin-form-container .mktoForm .mktoFormRow .mktoField {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid rgba(6, 12, 39, 0.2);
  background: transparent;
  font-size: 16px;
}

.leadin-form-container .mktoForm .mktoFormRow .mktoField:focus {
  outline: none;
  border-bottom-color: #060c27;
}

.leadin-form-container .mktoForm .mktoButtonRow {
  margin-top: 30px;
}

.leadin-form-container .mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
  background: #0056FF !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: block !important;
  line-height: 1.4 !important;
  min-height: 44px !important;
  max-width: 200px;
  margin: 0 auto !important;
}

.leadin-form-container .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {
  background: #0047D1 !important;
  padding-right: 34px !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 86, 255, 0.3) !important;
}

.leadin-form-container .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 86, 255, 0.2) !important;
}

.leadin-form-container .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(0, 86, 255, 0.3) !important;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .leadinModal {
      width: 95%;
      margin: 20px;
  }
  
  .leadinModal-content {
      padding: 2em 1.5em;
  }
}

/* Hide modal on mobile when navigation is open */
@media screen and (max-width: 1199px) {
  .mob-nav-open .leadinModal-overlay {
      display: none !important;
  }
}