/* 自訂-維修管理系統-側邊欄樣式 */

.appListCaseAbout {
	width: 100%;
	height: 100%;
	background: var(--sidebar-bg-light);
	padding: 0;
	font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
	display: flex;
	flex-direction: column;
}

/* 按鈕樣式 - 增強辨識度 */
.appListCaseAbout a {
	display: block;
	color: var(--sidebar-text-light);
	text-decoration: none;
	padding: 12px 20px;
	margin: 2px 8px;
	border-radius: 8px;
	background: var(--sidebar-button-bg-light);
	border: 1px solid rgba(255, 255, 255, 0.6);
	transition: all 0.3s ease;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.4;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 初次載入時抑制過場：JS 套用 .active 前暫加 .no-anim，避免「未選中→選中」0.3s 淡入閃爍
   套用完成後於下一幀移除，hover 過場不受影響 20260708 renhao add */
.appListCaseAbout.no-anim a {
	transition: none;
}

.appListCaseAbout a:hover {
	background: var(--sidebar-button-hover-bg-light);
	border-color: #436692;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
}

.appListCaseAbout a.active {
	background: var(--sidebar-button-active-bg-light);
	color: var(--primary-fg);
	border-color: #2c4c6b;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	font-weight: 600;
}

/* 圖示樣式 */
.appListCaseAbout .ico {
	margin-right: 10px;
	font-size: 1.5rem;
	width: 1.5rem;
	display: inline-block;
	text-align: center;
	color: inherit;
}

/* 響應式設計 */
@media (max-width: 768px) {
	.appListCaseAbout a {
		padding: 12px 15px;  /* 增加上下內距，提升觸控舒適度 */
		margin: 6px 5px;     /* 增加上下外距，避免誤觸 */
		font-size: 1.25rem;
	}

	.appListCaseAbout .ico {
		margin-right: 8px;
		font-size: 1.25rem;
		width: 1.25rem;
	}
}
