form.marketingForm {
	position: relative;
	z-index: 999;
}
.marketingForm input[type="text"], .marketingForm input[type="email"], .marketingForm input[type="tel"], .marketingForm select {
	color: var(--e-global-color-primary);
    font-family: "Open Sans", Sans-serif;
}
/* Reset all table-based layout styles inside .marketingForm */
.marketingForm table {
    width: 100% !important;
	margin-bottom: 5px;
}
.marketingForm table,
.marketingForm th,
.marketingForm td {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Remove the table "frame" background if present */
.marketingForm .outer {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Remove extra wrapping backgrounds */
.marketingForm .containerWrapper,
.marketingForm .columnContainer,
.marketingForm .inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Remove gray backgrounds if present */
.marketingForm .wrap-section,
.marketingForm .columns-equal-class {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Add a clean background and border radius to the actual form */
.marketingForm {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(30, 41, 59, 0.10);
    max-width: 560px;
    margin: 30px auto;
    padding: 36px 28px 28px 28px;
}
.onFormSubmittedFeedback {
	border-radius: 18px;
}
/* Labels and required star */
.marketingForm label {
    font-weight: 600;
    color: #23272f;
    font-size: 1rem;
    margin-bottom: 0;
    display: block;
    letter-spacing: 0.01em;
}

.marketingForm label[title]:after {
    content: '';
}

/* Required star styling (use the * in label if present) */
.marketingForm label:contains('*') {
    color: #23272f;
}
.marketingForm label:contains('*')::after {
    color: #e11d48;
    font-weight: 400;
}

/* Input and select styling */
.marketingForm input[type="text"],
.marketingForm input[type="email"],
.marketingForm input[type="tel"],
.marketingForm select {
    width: 100%;
    padding: 11px 15px;
    font-size: 1rem;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff;
    margin-bottom: 18px !important;
    transition: border 0.2s;
    font-family: inherit;
    box-sizing: border-box;
    min-height: unset !important;
    text-transform: initial;
    text-indent: 0px;
    color: #999 !important;
    font-weight: 300;
}

/* Focused input */
.marketingForm input:focus,
.marketingForm select:focus {
    border-color: #1a7f37;
    outline: none;
    background: #fff;
}

/* Form group spacing */
.marketingForm .textFormFieldBlock {
    margin-bottom: 0;
    padding: 0 !important;
	gap: 5px !important;
}

/* Button styling */
.marketingForm .submitButtonWrapper {
    text-align: center !important;
    margin-top: 12px !important;
    display: block !important;
}

.marketingForm .submitButton {
    background: #80cd44;
    color: #fff;
    font-weight: 600;
    font-size: 1.15em;
    padding: 12px 0;
    border: none;
    border-radius: 14px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px 0 rgba(30, 41, 59, 0.08);
	height: 48px !important;
	width: 100% !important;
}

.marketingForm .submitButton:hover,
.marketingForm .submitButton:focus {
    background: #74bc3d;
    box-shadow: 0 3px 8px 0 rgba(30, 41, 59, 0.14);
}

/* Hide extra elements if present */
.marketingForm .drop-placeholder {
    display: none !important;
}

#custom-msform-heading {
	text-align: center;
	margin-bottom: 25px;
}
#custom-msform-heading h2 {
	color: var(--e-global-color-primary);
    text-align: center;
    font-size: 37px;
    font-weight: 400;
    margin-bottom: 18px;
	line-height: 43px;
}
div[data-cached-form-url] .onFormSubmittedFeedback .onFormSubmittedFeedbackMessage {
	font-family: 'Opens Sans', sans-serif;
	font-size: 16px !important;
}
div[data-cached-form-url] .onFormSubmittedFeedback {
	height: auto !important;
}
div[data-cached-form-url] .onFormSubmittedFeedback #custom-multistep-form {
	box-shadow: none !important;
}
@media (max-width: 600px) {
    .marketingForm {
        padding: 20px 5vw;
		border-radius: 16px;
    }
}
