/**
 * Mautic form overrides — match PMX design form-card / form-field layout.
 * Apply via wrapper class: .mm-form-enquiry or .mautic-form-wrap inside .form-card
 */
html.ConfSummit .mauticform_wrapper{
  max-width: 100% !important;
}
html.ConfSummit .mautic-form-wrap,
html.ConfSummit .mm-form-enquiry {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html.ConfSummit .mauticform_wrapper,
html.ConfSummit .mauticform-innerform,
html.ConfSummit .mauticform-page-wrapper {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Two-column grid like design .form-row */
html.ConfSummit .mm-form-enquiry .mauticform-page-wrapper,
html.ConfSummit .form-card .mauticform-page-wrapper,
html.ConfSummit .mautic-form-wrap .mauticform-page-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin: 0 !important;
  width: 100% !important;
}

html.ConfSummit .mm-form-enquiry .mauticform-row,
html.ConfSummit .form-card .mauticform-row,
html.ConfSummit .mautic-form-wrap .mauticform-row {
  grid-column: span 1 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: unset !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

html.ConfSummit .mm-form-enquiry .mauticform-row.mauticform-textarea,
html.ConfSummit .mm-form-enquiry .mauticform-row:has(textarea),
html.ConfSummit .mm-form-enquiry .mauticform-row.mauticform-checkboxgrp,
html.ConfSummit .mm-form-enquiry .mauticform-row.mauticform-radiogrp,
html.ConfSummit .mm-form-enquiry .mauticform-row.mauticform-freetext,
html.ConfSummit .mm-form-enquiry .mauticform-row.mauticform-button-wrapper,
html.ConfSummit .mm-form-enquiry .mauticform-row.full-width,
html.ConfSummit .form-card .mauticform-row.mauticform-textarea,
html.ConfSummit .form-card .mauticform-row:has(textarea),
html.ConfSummit .form-card .mauticform-row.mauticform-checkboxgrp,
html.ConfSummit .form-card .mauticform-row.mauticform-radiogrp,
html.ConfSummit .form-card .mauticform-row.mauticform-freetext,
html.ConfSummit .form-card .mauticform-row.mauticform-button-wrapper,
html.ConfSummit .form-card .mauticform-row.full-width,
html.ConfSummit .mautic-form-wrap .mauticform-row.mauticform-textarea,
html.ConfSummit .mautic-form-wrap .mauticform-row:has(textarea),
html.ConfSummit .mautic-form-wrap .mauticform-row.mauticform-button-wrapper,
html.ConfSummit .mautic-form-wrap .mauticform-row.full-width {
  grid-column: 1 / -1 !important;
}

html.ConfSummit .mm-form-enquiry .mauticform-label,
html.ConfSummit .form-card .mauticform-label,
html.ConfSummit .mautic-form-wrap .mauticform-label {
  display: block !important;
  font-family: "Inter", system-ui, -apple-system, sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary, rgba(255, 255, 255, 0.75)) !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}

html.ConfSummit .mm-form-enquiry .mauticform-required .mauticform-label:after,
html.ConfSummit .form-card .mauticform-required .mauticform-label:after {
  content: ' *';
  color: var(--btn-primary, #1C90F5);
}

html.ConfSummit .mm-form-enquiry .mauticform-input,
html.ConfSummit .mm-form-enquiry .mauticform-select,
html.ConfSummit .mm-form-enquiry .mauticform-textarea,
html.ConfSummit .mm-form-enquiry input[type="text"],
html.ConfSummit .mm-form-enquiry input[type="email"],
html.ConfSummit .mm-form-enquiry input[type="tel"],
html.ConfSummit .mm-form-enquiry input[type="url"],
html.ConfSummit .mm-form-enquiry input[type="number"],
html.ConfSummit .mm-form-enquiry input[type="date"],
html.ConfSummit .mm-form-enquiry select,
html.ConfSummit .mm-form-enquiry textarea,
html.ConfSummit .form-card .mauticform-input,
html.ConfSummit .form-card .mauticform-select,
html.ConfSummit .form-card .mauticform-textarea,
html.ConfSummit .form-card input[type="text"],
html.ConfSummit .form-card input[type="email"],
html.ConfSummit .form-card input[type="tel"],
html.ConfSummit .form-card select,
html.ConfSummit .form-card textarea,
html.ConfSummit .mautic-form-wrap .mauticform-input,
html.ConfSummit .mautic-form-wrap .mauticform-select,
html.ConfSummit .mautic-form-wrap .mauticform-textarea,
html.ConfSummit .mautic-form-wrap input[type="text"],
html.ConfSummit .mautic-form-wrap input[type="email"],
html.ConfSummit .mautic-form-wrap input[type="tel"],
html.ConfSummit .mautic-form-wrap select,
html.ConfSummit .mautic-form-wrap textarea {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  font-family: "Inter", system-ui, -apple-system, sans-serif !important;
  font-size: 15px !important;
  color: var(--text-white, #fff) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-default, rgba(255, 255, 255, 0.1)) !important;
  border-radius: var(--radius-md, 14px) !important;
  padding: 14px 18px !important;
  outline: none !important;
  margin: 0 !important;
  float: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

html.ConfSummit .mm-form-enquiry textarea,
html.ConfSummit .form-card textarea,
html.ConfSummit .mautic-form-wrap textarea,
html.ConfSummit .mm-form-enquiry .mauticform-textarea,
html.ConfSummit .form-card .mauticform-textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

html.ConfSummit .mm-form-enquiry .mauticform-input:focus,
html.ConfSummit .mm-form-enquiry .mauticform-select:focus,
html.ConfSummit .mm-form-enquiry .mauticform-textarea:focus,
html.ConfSummit .mm-form-enquiry input:focus,
html.ConfSummit .mm-form-enquiry select:focus,
html.ConfSummit .mm-form-enquiry textarea:focus,
html.ConfSummit .form-card .mauticform-input:focus,
html.ConfSummit .form-card input:focus,
html.ConfSummit .form-card select:focus,
html.ConfSummit .form-card textarea:focus,
html.ConfSummit .mautic-form-wrap input:focus,
html.ConfSummit .mautic-form-wrap select:focus,
html.ConfSummit .mautic-form-wrap textarea:focus {
  border-color: var(--btn-primary, #1C90F5) !important;
  box-shadow: 0 0 0 4px rgba(28, 144, 245, 0.12), 0 0 20px rgba(28, 144, 245, 0.14) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

html.ConfSummit .mm-form-enquiry option,
html.ConfSummit .form-card option,
html.ConfSummit .mautic-form-wrap option {
  background-color: #011621;
  color: #fff;
}

html.ConfSummit .mm-form-enquiry .mauticform-errormsg,
html.ConfSummit .form-card .mauticform-errormsg,
html.ConfSummit .mautic-form-wrap .mauticform-errormsg {
  color: #ff7b7b !important;
  font-size: 12px !important;
  margin-top: 6px !important;
  float: none !important;
  
}

html.ConfSummit .mm-form-enquiry .mauticform-button-wrapper,
html.ConfSummit .form-card .mauticform-button-wrapper,
html.ConfSummit .mautic-form-wrap .mauticform-button-wrapper {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 16px !important;
  margin-top: 8px !important;
}

html.ConfSummit .mm-form-enquiry .mauticform-button,
html.ConfSummit .mm-form-enquiry button.mauticform-button,
html.ConfSummit .mm-form-enquiry .btn.main.mauticform-button,
html.ConfSummit .form-card .mauticform-button,
html.ConfSummit .form-card button.mauticform-button,
html.ConfSummit .mautic-form-wrap .mauticform-button,
html.ConfSummit .mautic-form-wrap button.mauticform-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: auto !important;
  max-width: none !important;
  min-height: 52px !important;
  padding: 15px 32px !important;
  background: linear-gradient(135deg, var(--accent-blue, #0096D6), var(--accent-electric, #00A8F3)) !important;
  color: var(--text-white, #fff) !important;
  font-family: "Archivo", sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.06em !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

html.ConfSummit .mm-form-enquiry .mauticform-button:hover,
html.ConfSummit .form-card .mauticform-button:hover,
html.ConfSummit .mautic-form-wrap .mauticform-button:hover {
  background: linear-gradient(135deg, var(--accent-blue, #0096D6), var(--accent-electric, #00A8F3)) !important;
  box-shadow: 0 0 36px rgba(0, 150, 214, 0.35) !important;
  animation: ctaPulse 2.8s ease-in-out infinite;
}

html.ConfSummit .mm-form-enquiry .mauticform-message,
html.ConfSummit .form-card .mauticform-message {
  color: var(--text-secondary, rgba(255, 255, 255, 0.75)) !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
}

html.ConfSummit .form-note {
  font-size: 13px;
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  line-height: 1.5;
}

html.ConfSummit .contact-grid .mautic-form-wrap,
html.ConfSummit .contact-grid .mm-form-enquiry,
html.ConfSummit .contact-form-card .mautic-form-wrap,
html.ConfSummit .contact-form-card .mm-form-enquiry {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 1023px) {
  html.ConfSummit .mm-form-enquiry .mauticform-page-wrapper,
  html.ConfSummit .form-card .mauticform-page-wrapper,
  html.ConfSummit .mautic-form-wrap .mauticform-page-wrapper {
    grid-template-columns: 1fr !important;
  }

  html.ConfSummit .mm-form-enquiry .mauticform-button-wrapper,
  html.ConfSummit .form-card .mauticform-button-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html.ConfSummit .mm-form-enquiry .mauticform-button,
  html.ConfSummit .form-card .mauticform-button,
  html.ConfSummit .mautic-form-wrap .mauticform-button {
    width: 100% !important;
  }
}
