/* Disable browser autofill yellow background - V13.4.2.10 */
/* This fixes the yellow overlay issue on dropdowns and input fields */

/* All inputs - prevent yellow background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s !important;
    background-color: white !important;
}

/* All input types */
input[type="text"]:-webkit-autofill,
input[type="email"]:-webkit-autofill,
input[type="tel"]:-webkit-autofill,
input[type="search"]:-webkit-autofill,
input[type="number"]:-webkit-autofill,
input[type="password"]:-webkit-autofill,
input[type="date"]:-webkit-autofill,
input[type="url"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    background-color: white !important;
}

/* Form controls */
.form-control:-webkit-autofill,
.form-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    background-color: white !important;
}

/* Searchable dropdown specific - CRITICAL for quote form */
.searchable-dropdown-container input:-webkit-autofill,
.searchable-dropdown input:-webkit-autofill,
.dropdown-search:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    background-color: white !important;
}

/* Modal inputs */
.modal input:-webkit-autofill,
.modal-content input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    background-color: white !important;
}

/* Additional override for any stubborn cases */
* input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    background-color: white !important;
}

/* Ensure no yellow overlay on any element */
*:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    background-color: white !important;
}
