<template>
	<div class="hintWrap">
		<div class="icon1"></div>
		<div class="title">{{text}}</div>
		<div class="icon2Wrap">
			<div class="icon2"></div>
		</div>
	</div>
</template>

<script setup>
defineProps({
	text: {
		type: String,
		required: true
	}
});
</script>

<style lang="scss" scoped>
.hintWrap {
	display: flex;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid rgb(231, 241, 255);
	border-radius: 4px;
	background: rgb(246, 251, 255);
	.icon1 {
		width: 19px;
		height: 20px;
		background-image: url("../../assets//images/aiIcon.png");
		background-size: 100% 100%;
	}
	.title {
		color: var(--color-main-active);
		font-size: 14px;
		font-weight: 400;
		line-height: 24px;
		margin-left: 20px;
		flex: 1;
	}
	.icon2Wrap {
		width: 24px;
		height: 24px;
		background-color: rgba(231, 243, 255, 1);
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 12px;
		margin-left: 20px;
		.icon2 {
			width: 12px;
			height: 12px;
			background-image: url("../../assets//images/rightIcon.png");
			background-size: 100% 100%;
		}
	}
}
</style>
