/* a:hover {
	background-color: #e0e0e0;
	cursor: pointer;
	transform: scale(1.02);
	transition: background-color 0.3s, transform 0.3s;
} */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	text-decoration: none;
}
body {
	font-family: Arial, sans-serif;
	background-color: #e4e9f5;
	color: #333333;
	/* padding: 20px; */
}
.container {
	display: flex;
	height: 100vh;
}
.content-container {
	flex: 1;
	position: relative;
	overflow: auto;
	transition: margin-left 0.8s;
	margin-left: 90px;
}
.page section {
	background-color: #ffffff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	width: 100%;
	margin-bottom: 20px;
}
.page {
	position: relative;
	width: 100%;
	/* height: 100vh; */
	display: none;
	padding: 20px;
	background-color: #e4e9f5;
}
.page.page-active {
	display: block;
}
.sidebar {
	position: fixed;
	width: 90px;
	height: 100%;
	background-color: #333333;
	z-index: 1000;
	transition: width 0.8s;
	padding-left: 10px;
	overflow: hidden;
}
.sidebar:hover {
	width: 300px;
}
.sidebar:hover ~ .content-container {
    margin-left: 300px;
}
.imageBox {
	position: relative;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
}
.imageBox img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sidebar .nav {
	position: relative;
}
.highlight {
	position: absolute;
	padding: 5px;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #e4e9f5;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    transition: top 0.3s ease;
    z-index: -100;
}
.highlight::before {
	content: "";
	position: absolute;
	top: -30px;
	right: 0px;
	width: 30px;
	height: 30px;
	border-bottom-right-radius: 25px;
	box-shadow: 5px 5px 0 5px #e4e9f5;
	background: transparent;
}
.highlight::after {
	content: "";
	position: absolute;
	bottom: -30px;
	right: 0px;
	width: 30px;
	height: 30px;
	border-top-right-radius: 25px;
	box-shadow: 5px -5px 0 5px #e4e9f5;
	background: transparent;
}
.sidebar ul {
	position: relative;
	height: 100vh;
}
.sidebar ul li {
	position: relative;
	padding: 5px;
}
#user {
	margin: 40px 0 100px 0;
}
.sidebar ul li a {
	position: relative;
	display: flex;
	white-space: nowrap;
}
.icon {
	position: relative;
	display: flex;
	justify-self: center;
	align-items: center;
	min-width: 60px;
	padding-left: 10px;
	height: 70px;
	transition: 0.5s;
	color: #ffffff;
}
.icon i {
	position: relative;
	left: 10px;
	text-align: center;
	font-size: 30px;
	z-index: 999;
}
.text {
	position: relative;
	height: 70;
	display: flex;
	align-items: center;
	font-size: 20px;
	color: #ffa217c1;
	padding-left: 15px;
	text-transform: uppercase; /* 仅英文有效 */
	letter-spacing: 2px;
	transition: 0.5s;
}
.sidebar ul li:hover a .icon,
.sidebar ul li:hover a .text {
	color: #ffa217;
}
.icon-frame {
	position: absolute;
	display: flex;
	left: 5px;
	width: 60px;
	height: 70px;
	transition: 0.3s;
	z-index: -1;
}
.icon-frame::before {
	content: "";
	position: absolute;
	inset: 5px;
	width: 60px;
	background-color: #333333;
	border-radius: 50%;
	border: 7px solid #ffa217;
	box-sizing: border-box;
}
