.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    background: #e4e6ef;
    border: 1px solid #c8ccd4;
    border-radius: 4px;
    overflow: hidden;
    font-size: 13px;
}

.tag-link {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
}

.tag-link:hover {
    background: #d7dae3;
    text-decoration: none;
    color: #000;
}

.tag-remove {
    background: transparent;
    border: 0;
    border-left: 1px solid #c8ccd4;
    color: #666;
    cursor: pointer;
    padding: 5px 8px;
    font-size: 16px;
    line-height: 1;
}

.tag-remove:hover {
    background: #dc3545;
    color: #fff;
}