/* Marketo Form Style Overrides */

/* Reset Marketo default styles */
.mktoForm * {
  box-sizing: border-box !important;
}

.mktoForm {
  width: 100% !important;
  font-family: 'TT Hoves', sans-serif !important;
  color: var(--black) !important;
}

/* Remove default Marketo styling */
.mktoForm .mktoFormRow,
.mktoForm .mktoFieldWrap,
.mktoForm .mktoFormCol {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}

.mktoForm .mktoFormRow {
  display: block !important;
  margin-bottom: 20px !important;
}

/* Labels */
.mktoForm .mktoLabel {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  text-align: left !important;
}

.mktoForm .mktoAsterix {
  color: var(--orange) !important;
  padding-left: 4px !important;
}

/* Input fields */
.mktoForm input[type="text"],
.mktoForm input[type="url"],
.mktoForm input[type="email"],
.mktoForm input[type="tel"],
.mktoForm input[type="number"],
.mktoForm input[type="date"],
.mktoForm select.mktoField,
.mktoForm textarea.mktoField {
  width: 100% !important;
  height: auto !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  font-family: 'TT Hoves', sans-serif !important;
  color: var(--black) !important;
  background-color: var(--white) !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 4px !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  transition: border-color 0.3s ease, background-color 0.3s ease !important;
}

.mktoForm input[type="text"]:focus,
.mktoForm input[type="url"]:focus,
.mktoForm input[type="email"]:focus,
.mktoForm input[type="tel"]:focus,
.mktoForm input[type="number"]:focus,
.mktoForm input[type="date"]:focus,
.mktoForm select.mktoField:focus,
.mktoForm textarea.mktoField:focus {
  border-color: var(--orange) !important;
  background-color: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(255, 117, 24, 0.1) !important;
}

/* Placeholder text */
.mktoForm input::placeholder,
.mktoForm textarea::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
  opacity: 1 !important;
}

/* Select dropdown */
.mktoForm select.mktoField {
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 20px !important;
  padding-right: 40px !important;
}

.mktoForm select.mktoField option {
  color: var(--black) !important;
  background-color: var(--white) !important;
}

/* Checkboxes and Radio buttons */
.mktoForm input[type="checkbox"],
.mktoForm input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
  accent-color: var(--orange) !important;
}

.mktoForm .mktoCheckboxList,
.mktoForm .mktoRadioList {
  width: 100% !important;
  padding: 0 !important;
}

.mktoForm .mktoCheckboxList > label,
.mktoForm .mktoRadioList > label {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 12px !important;
  font-size: 14px !important;
  color: var(--black) !important;
  cursor: pointer !important;
}

/* Submit button */
.mktoForm .mktoButtonRow {
  margin-top: 30px !important;
  text-align: center !important;
}

.mktoForm .mktoButtonWrap {
  margin: 0 auto !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.mktoForm button.mktoButton,
.mktoForm .mktoButtonWrap button.mktoButton,
form#mktoForm_6576 button.mktoButton,
button.mktoButton[style] {
  display: inline-block !important;
  margin: 0 auto !important;
  margin-right: auto !important;
  margin-left: auto !important;
  width: auto !important;
  min-width: 200px !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: 'TT Hoves', sans-serif !important;
  color: var(--black) !important;
  background: var(--white) !important;
  background-color: var(--white) !important;
  background-image: none !important;
  border: none !important;
  border-radius: 100px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
}

.mktoForm button.mktoButton:hover,
.mktoForm .mktoButtonWrap button.mktoButton:hover,
form#mktoForm_6576 button.mktoButton:hover {
  background: var(--orange) !important;
  background-color: var(--orange) !important;
  background-image: none !important;
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(250, 88, 45, 0.3) !important;
}

.mktoForm button.mktoButton:active {
  transform: translateY(0) !important;
}

/* Error messages */
.mktoForm .mktoError {
  background-color: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
  font-size: 13px !important;
  padding: 8px 12px !important;
  margin-top: 6px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.mktoForm .mktoError .mktoErrorArrowWrap {
  display: none !important;
}

.mktoForm .mktoError .mktoErrorMsg {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.mktoForm .mktoInvalid {
  border-color: rgba(239, 68, 68, 0.6) !important;
}

/* Required field indicator */
.mktoForm .mktoRequiredField .mktoAsterix {
  color: var(--orange) !important;
}

/* Remove unnecessary spacing */
.mktoForm .mktoGutter {
  display: none !important;
}

.mktoForm .mktoOffset {
  display: none !important;
}

/* Field descriptions */
.mktoForm .mktoInstruction {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important;
  margin-top: 4px !important;
}

/* Loading spinner */
.mktoForm .mktoLoading {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Privacy policy / legal text */
.mktoForm .mktoHtmlText {
  width: 100% !important;
  color: var(--black) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.mktoForm .mktoHtmlText a {
  color: var(--black) !important;
  text-decoration: underline !important;
}

.mktoForm .mktoHtmlText a:hover {
  color: var(--black) !important;
  opacity: 0.7 !important;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
  .mktoForm input[type="text"],
  .mktoForm input[type="url"],
  .mktoForm input[type="email"],
  .mktoForm input[type="tel"],
  .mktoForm input[type="number"],
  .mktoForm input[type="date"],
  .mktoForm select.mktoField,
  .mktoForm textarea.mktoField {
    font-size: 16px !important;
  }
  
  .mktoForm button.mktoButton {
    width: 100% !important;
  }
}
