/* sidebar start */
.sidebar {
	width: 300px;
	height: 100%;
	overflow: hidden;
	background-color: #f5f5f5;
	border-right: 1px solid #e6e6e6;
	padding: 24px;
	display: flex;
	flex-direction: column;
	margin-left: 0;
	transition: 0.3s ease;
}

.sidebar.hide {
	margin-left: -300px;
}

.sidebar hr {
	border: 1px solid #e2e2e2 !important;
}

.sidebar .sidebar__top {
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sidebar .sidebar__top .sidebar__top__right img:first-child {
	margin-right: 16px;
}

.sidebar .sidebar__top .sidebar__top__right img {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.sidebar .sidebar__new-course {
	font-size: 16px;
	text-align: center;
	background-color: #fff;
	border-radius: 5px;
	width: 100%;
	height: 42px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.sidebar .ai-record {
	/* border: 1px red solid; */
	flex: 0.5;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sidebar .ai-record .ai-record__title {
	/* padding: 10px 15px; */
	font-weight: 500;
	font-size: 16px;
	color: #000000;
}

.sidebar .ai-record .ai-record__list {
	/* border: 1px blue solid; */
	flex: 1;
	overflow: auto;
}

.sidebar .ai-record .ai-record__item {
	font-weight: 400;
	font-size: 14px;
	color: #585858;
	cursor: pointer;
	padding: 10px 15px;
	/* padding-left: 35px; */
}

.sidebar .sidebar__bottom {
	/* border: 1px red solid; */
	margin-top: auto;
	display: flex;
	align-items: center;
	font-size: 16px;
}

.sidebar .sidebar__bottom .sidebar__bottom__head {
	width: 30px;
	height: 30px;
	overflow: hidden;
	border-radius: 50%;
	margin-right: 10px;
	cursor: pointer;
}

.sidebar__bottom__user {
	position: relative;
}

.sidebar__bottom__user .dropdown-menu {
	min-width: auto !important;
	padding: 0 !important;
	font-size: 14px;
	text-align: center;
}

.sidebar__bottom__user .dropdown-menu .dropdown-item {
	padding: 0.5rem 1rem !important;
}

.sidebar__bottom__user .layui-nav {
	/* padding: 0; */
}
.sidebar__bottom__user .layui-nav .layui-nav-item {
	/* line-height: inherit; */
}
.sidebar__bottom__user .layui-nav .layui-nav-item a {
	/* padding-left: 0; */
}
.sidebar__bottom__user .layui-nav-child {
	top: -100px;
}
.sidebar__bottom__user .layui-nav-child.auth {
	top: -165px;
}
.sidebar__bottom__user .layui-anim-upbit {
	animation-name: layui-upbit;
}
@keyframes layui-upbit {
	0% {
		transform: translate3d(0, -15px, 0);
		opacity: 0.3;
	}
	100% {
		transform: translate3d(0, 0, 0);
		opacity: 1;
	}
}

.sidebar .sidebar__bottom .sidebar__bottom__right {
	margin-left: auto;
}

.sidebar .sidebar__bottom .sidebar__bottom__right img:last-child {
	width: 16px;
	height: 14px;
	margin-left: 16px;
}

.sidebar .sidebar__bottom .sidebar__bottom__right img {
	width: 16px;
	height: 16px;
	cursor: pointer;
}
/* sidebar end */
