/* Bootstrap 3 typeahead → corejs-typeahead (1.3.4) visual compatibility
   Matches the old Bootstrap 3 dropdown-menu appearance. */

.twitter-typeahead {
    display: block !important;
    width: 100%;
}

.tt-menu {
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    z-index: 1000;
    text-align: left;
    width: max-content;
    min-width: 100%;
    max-width: calc(100vw - 2rem);
}

.tt-suggestion {
    display: block;
    padding: 3px 20px;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.42857143;
    color: #333333;
    cursor: pointer;
    white-space: normal;
    overflow-wrap: anywhere;
}

.tt-suggestion:hover,
.tt-suggestion.tt-cursor {
    color: #262626;
    background-color: #f5f5f5;
    text-decoration: none;
}

.tt-highlight {
    font-weight: bold;
}
