.SelectAttribute
{
	/* width: 200px; */
	/* height: 50px; */
	/* background-color: #3498db; */
	/* color: white; */
	/* text-align: center; */
	/* line-height: 50px; */
	
	cursor: pointer;
	position: relative; /* برای تعیین موقعیت داخلی پنل */
}

.titr
{
	display: flex;
	align-items: center;
	gap: 10px;
}

.icon
{
	position: absolute;
	left: 10px;
	top: 50%;
	/* width: 20px; */
	/* height: 20px; */
	font-size: 13px;
	transform: translateY(-50%);
	transform-origin: center center;
	transition: transform 0.2s ease;
	cursor: pointer;
}

.icon.rotate
{
	transform: translateY(-50%) rotate(-90deg); /* چرخش حول مرکز خودش */
}

.panel
{
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: #ecf0f1;
	border: 1px solid #ccc;
	/* padding: 0px 10px; */
	z-index: 10;
	box-sizing: border-box;
	
	/* مخفی در ابتدا */
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
	
	margin-top: 1px;
	background-color: #f5f6fa;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: none;
	box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
	
	padding: 0;
}

/* وقتی فعال باشه */
.panel.active
{
	max-height: 500px; /* به اندازه‌ی محتوا تنظیم کن یا خیلی زیاد بزار */
	opacity: 1;
	
	/* padding: 8px 0; */
	/* padding: 10px; */
}

.panel-item
{
	padding: 10px;
	margin: 0px;
	border: 0px;
	cursor: pointer;
	transition: background-color 0.3s;
	
	padding: 12px 16px;
	transition: all 0.25s ease;
	/* border-bottom: 1px solid #dcdde1; */
	/* border-radius: 6px; */
}

/* فقط آیتم‌هایی که آخرین نیستند */
.panel-item:not(:last-child) {
  border-bottom: 1px solid #dcdde1;
}

/* افکت هنگام هاور */
.panel-item:hover
{
	background-color: #dfe6e9;
	
	background-color: #dff9fb;
	color: #0984e3;
}

/* آیتم انتخاب‌شده */
.panel-item.selected
{
	background-color: #74b9ff;
	color: white;
	font-weight: bold;
	
	background-color: #74b9ff;
	color: white;
	font-weight: bold;
}
