/* Style for autocomplete items */
.ui-widget li {
    cursor: pointer;
    font-size: 14px; /* Slightly larger for better readability */
    background: rgb(128, 255, 128); /* Light green background */
    color: rgb(255, 255, 255); /* Dark text color for contrast */
    line-height: 1.5; /* Increased line height for better spacing */
    width: 120%; /* Adjust width to fit the container */
    padding: 10px 15px; /* Improved padding for a better look */
    overflow: hidden;
    border-bottom: 1px solid #d0e4d4; /* Light green border for separation */
    border-radius: 1px; /* Rounded corners for a modern look */
    margin-left:-3rem;
    text-align:center;
    z-index:4;
}

/* Hover effect for autocomplete items */
.ui-widget li:hover {
    background: #ffebcc; /* Light orange background */
    color: #d85c1d; /* Dark orange text color */
}

/* Ensure proper positioning and styling of the autocomplete menu */
.ui-autocomplete {
    max-height: 33vh; /* Set a max height for the dropdown */
    overflow-y: auto;  /* Enable vertical scrolling if the list is too long */
    overflow-x: hidden; /* Hide horizontal overflow */
    font-size: 14px; /* Match the font size */
    position: absolute; /* Position absolutely to align with the input field */
    border: 1px solid #d0e4d4; /* Light green border for the dropdown */
    border-radius: 5px; /* Rounded corners for the dropdown */
    background: #fff; /* White background for better readability */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin-right: 25vw;   
}

/* Styling for individual menu items */
.ui-menu-item {
    cursor: pointer;
    padding: 10px 15px; /* Adjust padding for better appearance */
    border-radius: 5px; /* Rounded corners for a polished look */
    
}

/* Styling for the hover effect on menu items */
.ui-menu-item:hover {
    background: #ffebcc; /* Light orange background */
    color: #d85c1d; /* Dark orange text color */
}
