.chip-input {
    background-color: #2e353a;
    display: inline-flex;
    width: 27.4em;
    height: 1.85em;
    border-radius: 3px;
    flex-wrap: wrap;
    margin-bottom: 0.35em;
}

.chip-input:hover {
    cursor: text;
}

.chip-input #chip-input {
    width: 10em;
    border: 0;
    outline: 0;
    background-color: #2e353a;
    color: white;
    max-width: 26em;
    border-radius: 3px;
}

.chip-input .tag {
    font-size: 0.8em;
    background-color: #6d7d88;
    border: 1px solid #989898;
    cursor: pointer;
    max-width: 15em;
    border-radius: 15px;
    margin: 0 0.2em 0.2em 0;
    padding: 0 0.5em 0.1em 0.5em;
    user-select: none;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.3em;
}

.chip-input .tag:hover {
    background-color: #505b63;
    color: white
}

.chip-input .tag.invalid {
    border: 1px solid #f0372a;
    background-color: #cc2d22;
}

.chip-input .tag.invalid:hover {
    background-color: red;
}

.chip-input .tag .close::before {
    content: '×';
    font-weight: bold;
    display: inline-block;
    padding-right: 0.75em;
}

.chip-input .tag .close:hover::before {
    color: black;
}