.navbar {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: white;
	padding: 0.5rem;
	width: 100%;
	box-sizing: border-box;
}

.navbar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 0 auto;
	/* Centers the content */
}

.navbar-logo {
	width: 8vw;
	height: auto;
}

.navbar-title {
	font-size: 1.5rem;
	font-weight: bold;
	font-style: italic;
	color: #ec814b;
	text-align: center;
	flex-grow: 1;
	margin: 0 1rem;
	white-space: nowrap;
	/* Prevents breaking text into multiple lines */
}

.navbar-login {
	font-size: 1rem;
}

.login-link {
	color: #ec814b;
	text-decoration: none;
	font-weight: bold;
	padding: 0.5rem 1rem;
	border: 1px solid #ec814b;
	border-radius: 0.3rem;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.login-link:hover {
	background-color: rgb(255, 176, 98);
	color: white;
}

.navbar-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 2rem;
	color: #ec814b;
	cursor: pointer;
}

.navbar-menu {
	list-style: none;
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: 1200px;
	/* Limits width for large screens */
	box-sizing: border-box;
}

.navbar-menu li {
	margin: 0 0.5rem;
}

.navbar-menu a {
	text-decoration: none;
	font-size: 1rem;
	color: #ec814b;
	padding: 0.5rem 1rem;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-menu a:hover {
	color: white;
	background-color: rgb(255, 176, 98);
	border-radius: 0.3rem;
}

/* Vertical Side Pane Menu */
.side-pane-menu {
	width: 0;
	/* Initially hidden */
	position: fixed;
	top: 10px;
	/* Slight margin from the top */
	left: 0;
	background-color: white;
	/* White background */
	overflow: hidden;
	/* Prevent horizontal scroll */
	transition: 0.3s;
	/* Smooth slide animation */
	padding: 10px 0;
	/* Inner padding for the menu */
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	border: 1px solid #ddd;
	border-radius: 0 10px 10px 0;
}

/* Dynamically Set the Height Based on Menu Content */
.side-pane-menu.show {
	width: 250px;
	/* Set the width of the pane when opened */
	height: auto;
	/* Adjust height based on the menu content */
}

/* Links in the Side Pane */
.side-pane-menu a {
	padding: 10px 15px;
	text-decoration: none;
	font-size: 16px;
	/* Smaller font size */
	color: #ec814b;
	display: block;
	transition: 0.3s;
}

.side-pane-menu a:hover {
	background-color: #ec814b;
	color: white;
}

/* Close Button */
.side-pane-menu .closebtn {
	position: absolute;
	top: 5px;
	right: 10px;
	font-size: 20px;
	/* Adjusted font size for close button */
	color: #ec814b;
	text-decoration: none;
	cursor: pointer;
}


/* Responsive Styles */
@media screen and (max-width: 768px) {
	.navbar-title {
		font-size: 1rem;
	}

	.navbar-logo {
		width: 12vw;
	}

	.navbar-menu {
		flex-direction: column;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease-in-out;
	}

	.navbar-toggle {
		display: block;
	}

	.navbar-title {
		display: none;
		/* Hides tagline on smaller screens */
	}

	.navbar-menu.show {
		max-height: 100vh;
	}

	.navbar-menu li {
		margin: 0.5rem 0;
	}

	.navbar-menu a {
		font-size: 1.2rem;
	}

	/* Vertical Side Pane Menu */
	.side-pane-menu {
		height: 100%;
		/* Full height */
		width: 0;
		/* Initially hidden */
		position: fixed;
		/* Fixed Sidebar */
		top: 0;
		left: 0;
		background-color: white;
		/* White background */
		overflow-x: hidden;
		/* Prevent horizontal scroll */
		transition: 0.3s;
		/* Smooth slide animation */
		padding-top: 60px;
		/* Space for the close button */
		box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
		z-index: 1000;
	}

	/* Links in the Side Pane */
	.side-pane-menu a {
		padding: 10px 20px;
		text-decoration: none;
		font-size: 18px;
		color: #ec814b;
		display: block;
		transition: 0.3s;
	}

	.side-pane-menu a:hover {
		background-color: #ec814b;
		color: white;
	}

	/* Close Button */
	.side-pane-menu .closebtn {
		position: absolute;
		top: 0;
		right: 15px;
		font-size: 36px;
		color: #ec814b;
		text-decoration: none;
		cursor: pointer;
	}

	.side-pane-menu a {
		font-size: 14px;
		/* Adjusted font size for small screens */
		padding: 8px 12px;
	}

	.side-pane-menu .closebtn {
		font-size: 18px;
	}
}

/* User Avatar - Circular Initials */
.user-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ec814b 0%, #d66a35 100%);
	color: white;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 2px 8px rgba(236, 129, 75, 0.3);
	transition: all 0.2s ease;
}

.user-avatar:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(236, 129, 75, 0.4);
	color: white;
}

@media screen and (max-width: 768px) {
	.user-avatar {
		width: 36px;
		height: 36px;
		font-size: 0.8rem;
	}
}