/* Modern Navigation Menu Design */

.left-menu-container {
	font-family: 'Roboto', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.left-menu-content {
	height: 100%;
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
	padding: 0;
}

/* Close Icon */
.close-icon {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 20px 16px 16px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.close-icon:hover {
	transform: scale(1.1);
}

.close-icon vaadin-icon {
	color: #333;
	transition: color 0.3s ease;
}

.close-icon:hover vaadin-icon {
	color: var(--theme-primary-color, #C72C28);
}

/* Menu Items */
.left-menu {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	width: calc(100% - 24px);
	min-height: 48px;
	margin: 4px 12px;
	padding: 12px 16px;
	cursor: pointer;
	color: #333;
	text-align: left;
	border-radius: 12px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
	background: transparent;
	border: none;
}

.left-menu:hover {
	background: linear-gradient(135deg, rgba(199, 44, 40, 0.08) 0%, rgba(199, 44, 40, 0.12) 100%);
	transform: translateX(4px);
	box-shadow: 0 2px 8px rgba(199, 44, 40, 0.15);
}

.left-menu:active {
	transform: translateX(4px) scale(0.98);
}

/* Icon Styling */
.left-menu vaadin-icon {
	color: var(--theme-primary-color, #C72C28);
	min-width: 24px;
	min-height: 24px;
	transition: all 0.3s ease;
}

.left-menu:hover vaadin-icon {
	transform: scale(1.1);
}

/* Menu Text */
.left-menu-text {
	flex: 1;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: #2c3e50;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	box-sizing: border-box;
	transition: color 0.3s ease;
}

.left-menu:hover .left-menu-text {
	color: var(--theme-primary-color, #C72C28);
}

/* Submenu Text */
.left-submenu-text {
	flex: 1;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #5a6c7d;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	box-sizing: border-box;
	transition: color 0.3s ease;
}

.left-menu:hover .left-submenu-text {
	color: var(--theme-primary-color, #C72C28);
	font-weight: 500;
}

/* Customer Info Section */
.left-menu:first-of-type {
	background: linear-gradient(135deg, var(--theme-primary-color, #C72C28) 0%, #d93832 100%);
	color: white;
	margin: 16px 12px 20px;
	padding: 16px;
	box-shadow: 0 4px 12px rgba(199, 44, 40, 0.25);
}

.left-menu:first-of-type:hover {
	background: linear-gradient(135deg, #b32822 0%, #c72c28 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(199, 44, 40, 0.35);
}

.left-menu:first-of-type vaadin-icon {
	color: white;
}

.left-menu:first-of-type .left-menu-text {
	color: white;
	font-weight: 600;
}

/* Bullet Icons for Submenu */
.bulletsIconPadding {
	min-width: 6px;
	min-height: 6px;
	max-width: 6px;
	max-height: 6px;
	margin-left: 4px;
	margin-right: 4px;
}

/* Divider between sections */
.left-menu + .left-menu {
	margin-top: 4px;
}

/* Login Menu Special Styling */
.left-menu:nth-child(3) {
	border: 2px solid var(--theme-primary-color, #C72C28);
	background: white;
}

.left-menu:nth-child(3):hover {
	background: var(--theme-primary-color, #C72C28);
}

.left-menu:nth-child(3):hover .left-menu-text {
	color: white;
}

.left-menu:nth-child(3):hover vaadin-icon {
	color: white;
}

/* Center utility */
.center-div {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Scrollbar Styling */
.left-menu-container::-webkit-scrollbar {
	width: 6px;
}

.left-menu-container::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.left-menu-container::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 10px;
}

.left-menu-container::-webkit-scrollbar-thumb:hover {
	background: var(--theme-primary-color, #C72C28);
}

/* Responsive adjustments */
@media (max-width: 800px) {
	.left-menu {
		min-height: 44px;
		padding: 10px 14px;
	}

	.left-menu-text {
		font-size: 14px;
	}

	.left-submenu-text {
		font-size: 13px;
	}
}
