.srm-autocomplete__item-title,
.srm-autocomplete__item-url {
    overflow: hidden;
    text-overflow: ellipsis;
}

.srm-autocomplete__item-title {
    font-weight: 500;
    grid-area: title;
    margin-bottom: 0.2em;
    white-space: nowrap;
}

.srm-autocomplete__item-type {
    background: #f0f0f0;
    border-radius: 2px;
    font-size: 0.9em;
    grid-area: type;
    padding: 3px 6px;
}

.srm-autocomplete__item-url {
    color: #757575;
    font-size: 0.9em;
    grid-area: url;
    line-height: 1.3;
    word-break: break-all;
}

.srm-autocomplete__item {
    align-items: flex-start;
    column-gap: 1rem;
    display: grid;
    grid-template-areas: "title type"
        "url type";
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 6px 12px;
}

.srm-autocomplete__item:hover {
    background-color: #f0f0f0;
}

.srm-autocomplete__item:hover .srm-autocomplete__item-type {
    background-color: #fff;
}

.srm-autocomplete {
    font-size: 13px;
    max-width: 360px;
    padding: 8px 16px;
}

.margin-top-0 {
    margin-top: 0 !important;
}
