/* Android Datepicker Autocomplete Fix */

/* Prevent Android from adding autocomplete suggestions */
#date-input,
#date-input * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Hide any Android autocomplete overlay */
#date-input::-webkit-calendar-picker-indicator {
    display: none !important;
}

/* Disable Android date input styling */
#date-input input[type="date"],
#date-input input[type="text"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    color: transparent;
    pointer-events: none;
}

/* Ensure datepicker stays on top of any Android overlays */
.ui-datepicker {
    z-index: 9999 !important;
}

/* Hide Android's "Year" autocomplete suggestion */
.ui-datepicker-year::-webkit-outer-spin-button,
.ui-datepicker-year::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Prevent Android keyboard from appearing */
@media screen and (max-width: 768px) {
    #date-input input {
        pointer-events: none !important;
        touch-action: none !important;
    }
}