.wrapper-tags {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    box-shadow: inset 0 0 1px 0 #cbcbcb;
    padding: 10px;
}

.input-tag {
    border: none;
    outline: none;
    background-color: transparent;
    padding: 4px 0;
    flex: 1;
}

.item-tag {
    display: flex;
    align-items: center;
    column-gap: 10px;
    width: max-content;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 8%);
    padding: 6px;
    background-color: var(--primary);
    color: #FFF;
    border-radius: 16px;
    font-size: 16px;
    cursor: default;
}

.btn-rm-tag {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    display: grid;
    place-content: center;
    font-size: 11px;
    cursor: pointer;
}

.tags-length {
    display: block;
    text-align: right;
    padding: 10px 5px;
    font-size: 14px;
}

/* CSS cho wrapper của phần tìm kiếm */
.wrapper-tags {
    position: relative; /* Đảm bảo phần kết quả tìm kiếm sẽ nằm trong cùng vùng với input */
}

/* CSS cho phần kết quả tìm kiếm */
.suggestions {
    position: absolute; /* Đảm bảo phần kết quả tìm kiếm nằm ngay dưới input */
    top: 100%; /* Đặt phần kết quả ngay dưới input */
    left: 0;
    right: 0;
    z-index: 1000; /* Đảm bảo phần kết quả tìm kiếm nằm trên các thành phần khác */
    background: white;
    border: 1px solid #ccc;
    border-top: none; /* Xóa đường viền trên để kết hợp liền mạch với input */
    max-height: 200px; /* Giới hạn chiều cao tối đa của phần kết quả */
    overflow-y: auto; /* Thêm thanh cuộn nếu kết quả quá dài */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Thêm bóng đổ để phân biệt phần kết quả */
}

/* CSS cho các mục kết quả tìm kiếm */
.suggestion-item {
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.2s; /* Thêm hiệu ứng chuyển đổi màu nền */
}

/* CSS khi mục kết quả tìm kiếm được hover hoặc chọn */
.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f0f0f0;
}
