body {
	background-image: url('/assets/images/bg_image10.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
}

.navbar {
	background-color: #ffffff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#mainNavbar .logo-wrapper {
	height: 50px;
	overflow: visible;
	display: flex;
	align-items: center;
}

#mainNavbar .logo-img {
	height: 60px;
	max-width: 220%;
	border-radius: 10px;
	object-fit: contain;
}

#mainNavbar .nav-link {
	color: rgb(255, 141, 28);
	font-weight: 900;
	margin-right: 20px;
}

.profile-container {
	display: flex;
	align-items: center;
	gap: 12px;
}

.navbar .profile-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: #ff6f00;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
	position: relative;
	cursor: pointer;
}

#mainNavbar .custom-login-btn {
	background-color: rgb(255, 70, 70);
	border: 1px solid black;
	color: white;
}

.logout-btn {
	background: rgb(255, 70, 70);
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	color: white;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logout-btn:hover {
	background: rgb(255, 70, 70);
}

.mess-card {
	border-radius: 18px;
	background: white;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mess-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.text-gradient {
	background: linear-gradient(to right, rgb(225, 0, 0), rgb(255, 74, 74));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 1.5rem;
	font-weight: 700;
}

.custom-btn {
	background-color: rgb(255, 70, 70);
	color: white;
	border: 1px solid black;
	padding: 6px 14px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.3s ease;
	text-decoration: none;
}

.custom-btn:hover {
	background-color: rgb(230, 50, 50);
}

.menu-card {
	border-radius: 12px;
	box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	cursor: pointer;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.menu-card:hover {
	box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
	transform: translateY(-5px);
}

.menu-image {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.card-body {
	padding: 12px 16px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.menu-name {
	font-weight: 700;
	font-size: 1.1rem;
	color: #222;
	margin-bottom: 4px;
}

.menu-description {
	font-size: 0.85rem;
	color: #666;
	height: 40px;
	/* limit height, ellipsis */
	overflow: hidden;
	text-overflow: ellipsis;
}

.price-tag {
	font-weight: 700;
	font-size: 1rem;
	color: #ff5c00;
}

.no-break {
	word-break: break-word;
}

/*==============================Mobile View==============================*/
@media (max-width: 768px) {
	.mess-card .d-flex {
		flex-direction: column;
	}

	.action-buttons {
		margin-top: 1rem;
	}
}

/* ======= Mobile Sidebar (Visible only on small devices) ======= */
@media (max-width: 768px) {
	.mobile-sidebar {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 1050;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}

	.sidebar-toggle {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 28px;
		height: 20px;
		cursor: pointer;
		background: none;
		border: none;
		padding: 0;
		z-index: 1060;
	}

	.sidebar-toggle .bar {
		height: 3px;
		width: 100%;
		background-color: rgb(0, 0, 0);
		border-radius: 2px;
	}

	.sidebar-content {
		display: none;
		margin-top: 10px;
		background: #ffffff;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
		border-radius: 10px;
		padding: 10px;
		width: 160px;
		text-align: right;
	}

	.sidebar-content .sidebar-link {
		display: block;
		padding: 10px;
		color: #000;
		font-weight: 600;
		text-decoration: none;
		border-radius: 6px;
		transition: background 0.2s;
	}

	.sidebar-content .sidebar-link:hover {
		background: #ffe0cc;
	}

	.sidebar-content .logout-link {
		width: 100%;
		text-align: right;
		background: none;
		border: none;
		color: #ff3e3e;
		cursor: pointer;
		font-weight: 600;
		padding: 10px;
	}
}

/* Hide mobile sidebar wrapper on screens wider than 991px */
@media (min-width: 992px) {
	.mobile-only {
		display: none !important;
	}
}