/* 汉堡菜单按钮 */
.cbdh-menu-toggle {
	position: fixed;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 102;
	background-color: #4CAF50;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.cbdh-menu-toggle span {
	display: block;
	width: 24px;
	height: 3px;
	background-color: white;
	margin: 2px 0;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* 汉堡菜单打开状态 */
.cbdh-menu-toggle.active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.cbdh-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.cbdh-menu-toggle.active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* 侧边导航栏 */
.cbdh-sidebar {
	position: fixed;
	top: 0;
	right: 0;
	width: 200px;
	height: 100vh;
	background-color: white;
	box-shadow: -2px 0 15px rgba(0, 0, 0, 0.08);
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 101;
	overflow-y: auto;
	line-height: 30px;
}

.cbdh-logo {
	width: 40px;
	/* height: 40px; */
	/* background-color: #4CAF50; */
	border-radius: 8px;
	background-image: url(../images/logo.png);
}

/* 侧边栏打开状态 */
.cbdh-sidebar.active {
	transform: translateX(0);
}

/* 导航遮罩层 */
.cbdh-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 100;
}

.cbdh-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* 顶部操作区 - 登录和入驻按钮 */
.cbdh-header-actions {
	padding: 16px;
	background-color: #f8f9fa;
	border-bottom: 1px solid #eee;
}

.cbdh-action-button {
	display: block;
	/* width: 100%; */
	/* padding: 12px; */
	margin-bottom: 10px;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.2s ease;
	font-size: 3vw;
}

.cbdh-login-btn {
	background-color: white;
	color: #4CAF50;
	border: 1px solid #4CAF50;
}

.cbdh-login-btn:hover {
	background-color: #f1f8e9;
}

.cbdh-register-btn {
	background-color: #4CAF50;
	color: white;
	border: 1px solid #4CAF50;
}

.cbdh-register-btn:hover {
	background-color: #3d9140;
}

/* 品牌标识区 */
.cbdh-brand-logo {
	padding: 20px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #eee;
}

.cbdh-brand-logo img {
	width: 40px;
	height: 40px;
	margin-right: 10px;
	border-radius: 8px;
	background-color: #4CAF50;
	object-fit: cover;
}

.cbdh-brand-name {
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

/* 导航菜单样式 */
.cbdh-nav-menu {
	padding: 10px 0;
}

.cbdh-nav-item {
	border-bottom: 1px solid #f5f5f5;
}

.cbdh-nav-link {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	color: #333;
	text-decoration: none;
	transition: all 0.2s ease;
	font-size: 16px;
}

.cbdh-nav-link:hover {
	background-color: #f1f8e9;
	color: #4CAF50;
}

.cbdh-nav-link i {
	margin-right: 14px;
	width: 24px;
	height: 24px;
	background-color: #f1f8e9;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4CAF50;
	font-style: normal;
}

.cbdh-nav-link:hover i {
	background-color: #4CAF50;
	color: white;
}

/* 菜单分隔线 */
.cbdh-menu-divider {
	height: 8px;
	background-color: #f8f9fa;
	margin: 5px 0;
}

/* 下载APP区域 */
.cbdh-download-app {
	margin: 15px;
	padding: 15px;
	background: linear-gradient(135deg, #4CAF50, #81C784);
	border-radius: 10px;
	color: white;
	text-align: center;
}

.cbdh-download-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}

.cbdh-download-desc {
	font-size: 13px;
	opacity: 0.9;
	margin-bottom: 12px;
}

.cbdh-download-btn {
	display: inline-block;
	padding: 8px 20px;
	background-color: white;
	color: #4CAF50;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.cbdh-download-btn:hover {
	background-color: #f1f8e9;
	transform: translateY(-2px);
}