@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');/* Main Form Container */
.auriga-form-container-3576 {
font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #ffffff;
border-radius: 0 0 20px 20px;
padding: 32px 28px;
border: 1px solid #e2e8f0;
box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.05),
0 0 25px 0 rgba(110, 169, 18, 0.08);
max-width: 100%;
margin: 20px 0;
box-sizing: border-box;
position: relative;
}/* Top Glowing Accent Line */
.auriga-form-container-3576::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 4px;
background: linear-gradient(90deg, #6EA912 0%, #a2e038 100%);
border-radius: 20px 20px 0 0;
}/* Header */
.auriga-form-header-3576 {
text-align: center;
margin-bottom: 24px;
}.auriga-form-header-3576 h3 {
font-size: 16px;
font-weight: 800;
color: #0f172a;
margin: 0 0 6px 0;
}/* WPForms Field Overrides */
.auriga-form-container-3576 .wpforms-form .wpforms-field {
margin-bottom: 16px !important;
padding: 0 !important;
}.auriga-form-container-3576 .wpforms-form label.wpforms-field-label {
font-size: 13px !important;
font-weight: 700 !important;
color: #1e293b !important;
margin-bottom: 6px !important;
display: block !important;
}/* Text Inputs & Textarea Styling */
.auriga-form-container-3576 .wpforms-form input[type="text"],
.auriga-form-container-3576 .wpforms-form input[type="email"],
.auriga-form-container-3576 .wpforms-form input[type="tel"],
.auriga-form-container-3576 .wpforms-form input[type="number"],
.auriga-form-container-3576 .wpforms-form textarea,
.auriga-form-container-3576 .wpforms-field-phone input {
width: 100% !important;
background-color: #f8fafc !important;
border: 1.5px solid #e2e8f0 !important;
border-radius: 12px !important;
padding: 12px 16px !important;
font-size: 14px !important;
color: #0f172a !important;
transition: all 0.25s ease !important;
box-sizing: border-box !important;
outline: none !important;
}.auriga-form-container-3576 .wpforms-form input:focus,
.auriga-form-container-3576 .wpforms-form textarea:focus,
.auriga-form-container-3576 .wpforms-field-phone input:focus {
background-color: #ffffff !important;
border-color: #6EA912 !important;
box-shadow: 0 0 0 4px rgba(110, 169, 18, 0.18) !important;
}/* --- CUSTOM DROPDOWN WITH THEME COLOR (#6EA912) HOVER --- */
.auriga-custom-select-wrapper {
position: relative;
width: 100%;
user-select: none;
}.auriga-custom-select-trigger {
width: 100%;
background-color: #f8fafc;
border: 1.5px solid #e2e8f0;
border-radius: 12px;
padding: 12px 16px;
font-size: 14px;
color: #0f172a;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
transition: all 0.25s ease;
}.auriga-custom-select-trigger:after {
content: '';
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #6EA912;
transition: transform 0.2s ease;
}.auriga-custom-select-wrapper.open .auriga-custom-select-trigger {
background-color: #ffffff;
border-color: #6EA912;
box-shadow: 0 0 0 4px rgba(110, 169, 18, 0.18);
}.auriga-custom-select-wrapper.open .auriga-custom-select-trigger:after {
transform: rotate(180deg);
}.auriga-custom-options {
position: absolute;
top: calc(100% + 6px);
left: 0;
right: 0;
background: #ffffff;
border: 1.5px solid #6EA912;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
max-height: 220px;
overflow-y: auto;
z-index: 9999;
display: none;
padding: 6px 0;
}.auriga-custom-select-wrapper.open .auriga-custom-options {
display: block;
}.auriga-custom-option {
padding: 10px 16px;
font-size: 13.5px;
color: #1e293b;
cursor: pointer;
transition: background-color 0.15s ease, color 0.15s ease;
}/* MOUSE HOVER STATE IN EXACT THEME COLOR (#6EA912) */
.auriga-custom-option:hover {
background-color: #6EA912 !important;
color: #ffffff !important;
}.auriga-custom-option.selected {
background-color: #f1f8e7;
color: #6EA912;
font-weight: 700;
}/* Universal Placeholders Styling */
.auriga-form-container-3576 .wpforms-form ::placeholder {
color: #94a3b8 !important;
font-size: 13.5px !important;
opacity: 1 !important;
}/* Submit Button */
.auriga-form-container-3576 .wpforms-form button[type="submit"],
.auriga-form-container-3576 .wpforms-form .wpforms-submit {
width: 100% !important;
background: linear-gradient(135deg, #6EA912 0%, #5b8e0f 100%) !important;
color: #ffffff !important;
font-size: 15px !important;
font-weight: 800 !important;
padding: 14px 20px !important;
border: none !important;
border-radius: 12px !important;
cursor: pointer !important;
transition: all 0.3s ease !important;
box-shadow: 0 6px 18px rgba(110, 169, 18, 0.35) !important;
margin-top: 6px !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
}.auriga-form-container-3576 .wpforms-form button[type="submit"]:hover,
.auriga-form-container-3576 .wpforms-form .wpforms-submit:hover {
background: linear-gradient(135deg, #7cc013 0%, #6EA912 100%) !important;
transform: translateY(-2px) !important;
box-shadow: 0 8px 24px rgba(110, 169, 18, 0.5) !important;
}/* Trust Bar */
.auriga-form-trust-bar {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-top: 20px;
padding-top: 16px;
border-top: 1px dashed #e2e8f0;
}.auriga-trust-item {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 700;
color: #64748b;
}.auriga-trust-item svg {
width: 14px;
height: 14px;
stroke: #6EA912;
fill: none;
stroke-width: 2.5;
}
(function () {
function processAllAurigaForms() {
var allContainers = document.querySelectorAll('.auriga-form-container-3576');
if (!allContainers.length) return;allContainers.forEach(function (container, formIndex) {// 1. Placeholders Setup & Mobile Number restriction
var phoneInputs = container.querySelectorAll('.wpforms-field-phone input, input[type="tel"], input[name*="phone"], input[name*="mobile"]');
phoneInputs.forEach(function (inp) {
inp.placeholder = "Mobile Number";
inp.maxLength = 10;
inp.oninput = function() {
this.value = this.value.replace(/[^0-9]/g, '').slice(0, 10);
};
});var nameInputs = container.querySelectorAll('.wpforms-field-name input, input[name*="first"], input[name*="last"]');
nameInputs.forEach(function (inp) {
if (inp.name.includes('first')) inp.placeholder = "First Name";
else if (inp.name.includes('last')) inp.placeholder = "Last Name";
else inp.placeholder = "Full Name";
});var emailInputs = container.querySelectorAll('input[type="email"]');
emailInputs.forEach(function (inp) { inp.placeholder = "Business Email Address"; });var textareas = container.querySelectorAll('textarea');
textareas.forEach(function (area) { area.placeholder = "Briefly tell us how we can assist your business today..."; });// 2. Multi-Instance Safe Custom Select Box
var nativeSelects = container.querySelectorAll('select');
nativeSelects.forEach(function (select, selectIndex) {
if (select.dataset.customized) return;
select.dataset.customized = "true";
select.style.display = "none";var wrapper = document.createElement("div");
wrapper.className = "auriga-custom-select-wrapper";
wrapper.dataset.formId = formIndex + "_" + selectIndex;var trigger = document.createElement("div");
trigger.className = "auriga-custom-select-trigger";
trigger.innerText = select.options[0] ? select.options[0].text : "Select State";var optionsContainer = document.createElement("div");
optionsContainer.className = "auriga-custom-options";Array.from(select.options).forEach(function (opt, idx) {
var optionDiv = document.createElement("div");
optionDiv.className = "auriga-custom-option" + (idx === 0 ? " selected" : "");
optionDiv.innerText = opt.text;optionDiv.addEventListener("click", function (e) {
e.stopPropagation();
select.value = opt.value;
trigger.innerText = opt.text;wrapper.querySelectorAll(".auriga-custom-option").forEach(function (el) { el.classList.remove("selected"); });
optionDiv.classList.add("selected");
wrapper.classList.remove("open");var event = new Event('change', { bubbles: true });
select.dispatchEvent(event);
});optionsContainer.appendChild(optionDiv);
});trigger.addEventListener("click", function (e) {
e.stopPropagation();
document.querySelectorAll(".auriga-custom-select-wrapper").forEach(function (w) {
if (w !== wrapper) w.classList.remove("open");
});
wrapper.classList.toggle("open");
});wrapper.appendChild(trigger);
wrapper.appendChild(optionsContainer);
select.parentNode.insertBefore(wrapper, select);
});});
}if (!window.aurigaGlobalClickAttached) {
window.aurigaGlobalClickAttached = true;
document.addEventListener("click", function () {
document.querySelectorAll(".auriga-custom-select-wrapper").forEach(function (w) {
w.classList.remove("open");
});
});
}var attempts = 0;
var timer = setInterval(function () {
processAllAurigaForms();
attempts++;
if (attempts > 25) clearInterval(timer);
}, 250);})();