ul.mcs-autocomplete {
    position: fixed;
    z-index: 1050; /* above Mantis toolbars/modals */
    margin: 0;
    padding: 4px 0;
    list-style: none;

    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);

    /* (5) wider panel -- JS caps max-width to the space on screen */
    width: auto;
    min-width: 280px;

    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;

    font-size: 13px;
    line-height: 1.4;
}

ul.mcs-autocomplete li {
    padding: 7px 14px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
    color: #1c2733;
}

/*
 * The keyboard-highlighted row. Focus stays in the editor, so this class
 * -- not :focus -- is what marks the current selection.
 */
ul.mcs-autocomplete li.active {
    background-color: #eef2f7;
    border-radius: 6px;
    margin: 0 4px;
    padding-left: 10px;
    padding-right: 10px;
}

ul.mcs-autocomplete li:hover {
    background-color: #f4f6f8;
    border-radius: 6px;
    margin: 0 4px;
    padding-left: 10px;
    padding-right: 10px;
}

ul.mcs-autocomplete li.active:hover {
    background-color: #eef2f7;
}

/* ------------------------------------------------------------------
 * (1)+(2) Keep the scrollbar, drop the stepper arrows at each end.
 * ------------------------------------------------------------------ */

/* WebKit / Blink */
ul.mcs-autocomplete::-webkit-scrollbar {
    width: 8px;
}

/* this is what removes the up/down arrow buttons */
ul.mcs-autocomplete::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

ul.mcs-autocomplete::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}

ul.mcs-autocomplete::-webkit-scrollbar-thumb {
    background-color: #c3c9d0;
    border-radius: 4px;
}

ul.mcs-autocomplete::-webkit-scrollbar-thumb:hover {
    background-color: #a8b0b9;
}