.order-tag-field {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 800px;
    max-width: calc(100% - 120px);
    line-height: 1.5;
}
.order-tag-field .select2-selection--multiple {
    min-height: 35px;
    border: 1px solid #dadada;
    border-radius: 5px;
}
.order-tag-field .select2-container--focus .select2-selection--multiple,
.order-tag-field .select2-container--open .select2-selection--multiple {
    border-color: #3285ff;
    box-shadow: 0 0 0 2px rgba(50, 133, 255, .12);
}
.order-tag-field .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    padding: 4px 8px;
    min-height: 33px;
}
.order-tag-field .select2-selection--multiple .select2-selection__choice {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0 6px;
    line-height: 23px;
    font-size: 13px;
    color: #245a99;
    background: #edf5ff;
    border: 0;
    border-radius: 4px;
}
.order-tag-field .select2-selection__choice .select2-selection__choice__remove {
    margin: 0;
    padding: 0 2px;
    color: #52769f;
}
.order-tag-field .select2-selection__choice .select2-selection__choice__remove:hover {
    color: #173f70;
    background: #dbeaff;
}
.order-tag-field .select2-search--inline {
    flex: 1 1 8em;
}
.order-tag-field .select2-search--inline .select2-search__field {
    width: 100% !important; /* Select2 会按当前字符数写入行内宽度。 */
    margin: 0;
    height: 25px;
    line-height: 25px;
}
.order-tag-field .select2-dropdown {
    border-color: #b9cdeb;
    box-shadow: 0 4px 12px rgba(30, 51, 78, .12);
    overflow: hidden;
}
.order-tag-field .select2-results__option {
    padding: 6px 10px;
    line-height: 20px;
    font-size: 14px;
}
.order-tag-field .select2-results__option--highlighted[aria-selected] {
    background: #edf5ff;
    color: #245a99;
}
.order-tag-error {
    color: #ad3434;
    font-size: 13px;
}
