/* Reset default margins */
body {
	margin: 0;
	font-family: Arial, sans-serif;
	min-height: 100%;
	min-height: 100vh;
}

/* Top Bar Container */
.topBar {
	background-color: #333; /* Dark background */
	color: white;
	padding: 10px 20px;
	display: flex;
	justify-content: space-between; /* Spacing between logo and links */
	align-items: center;
	position: sticky; /* Optional: keeps bar at top on scroll */
	top: 0;
	z-index: 1000;
}

.bottomBar {
	background-color: #333; /* Dark background */
	color: white;
	padding: 0px 5px;
	justify-content: space-between; /* Spacing between logo and links */
	align-items: center;
	position: absolute;
	right: 0;bottom:0;left:0;
}

/* Logo/Brand Styling */
.topBar .logo {
	font-size: 1.5rem;
	font-weight: bold;
	text-decoration: none;
	color: white;
}

/* Navigation Links Container */
.topBar .nav-links {
	display: flex;
	gap: 15px; /* Space between links */
}

/* Individual Link Styling */
.topBar .nav-links a {
	color: white;
	text-decoration: none;
	padding: 5px 10px;
	transition: background-color 0.3s;
}

.topBar .nav-links a:hover {
	background-color: #555;
	border-radius: 4px;
}

#errorPopup, .popup, .error {
	background-color: rgb(255 0 0 / 75%);
	padding: 1em 1em 1em 1em;}

.close-btn, span {
	/* float: right; */
}
#e, p {	
	margin-top: 1.5em;
	color: #fff;
}

/* Responsive Design for Mobile */
@media (max-width: 600px) {
	.topBar {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.bottomBar {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.topBar .nav-links {
		flex-direction: column;
		width: 100%;
		margin-top: 10px;
		gap: 5px;
	}
	
	.topBar .nav-links a {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
}
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; }
/*
input { width: 100%; padding: 8px; box-sizing: border-box; }
*/ 
button { padding: 10px 20px; background: #007BFF; color: white; border: none; cursor: pointer; }
input[type="text"], input[type="password"], input[type="email"] { width: 15%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
input[type="submit"] { width: 100%; background: #007bff; color: #fff; padding: 10px; border: none; border-radius: 4px; cursor: pointer; }
.error { color: red; font-size: 0.9em; }
/* .content-wrapper { display: flex; justify-content: center; align-items: center; min-height: 30vh; } */
.content-wrapper { justify-content: center; align-items: center; min-height: 30vh; }
.error { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; box-shadow: 0 2px 10px rbga(0, 0, 0, 2); }

/* CSS for the Popup */
#messagePopup {
	display: none; /* Hidden by default */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border: 2px solid #009933;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	z-index: 1000;
	text-align: center;
	min-width: 300px;
}
#messagePopup .close-btn {
	margin-top: 15px;
	padding: 8px 16px;
	background-color: #009933;
	color: white;
	border: none;
	cursor: pointer;
	border-radius: 3px;
}
#messagePopup .close-btn:hover {
	background-color: #007a29;
}
