
* {
  	box-sizing: border-box;
  	font-family: "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
.login body {
  	background-size: cover;
  	  	margin: 0;  	
}
.login {
  	width: 400px;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);

  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	background-color: rgba(255, 255, 255, 0.4);
	box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding: 20px 0 20px 0;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	padding: 0 15px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #28c768;
  	transition: background-color 0.2s;
}


.navtop {
	background: linear-gradient(135deg, #2f3947 0%, #3a4556 100%);
	height: 70px;
	width: 100%;
	border: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: relative;
}

.navtop::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #3274d6 0%, #28c768 100%);
}

.navtop div {
	display: flex;
	margin: 0 auto;
	max-width: 1200px;
	width: 90%;
	height: 100%;
	padding: 0 20px;
	align-items: center;
}

.navtop .logo {
	width: 96px;
	height: 96px;
	margin-right: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.navtop .logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
	transition: transform 0.3s ease;
}

.navtop .logo:hover img {
	transform: scale(1.05);
}

.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}

.navtop div h1 {
	flex: 1;
	font-size: 28px;
	padding: 0;
	margin: 0;
	color: #ffffff;
	font-weight: 300;
	letter-spacing: 1px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.navtop div a {
	padding: 0 25px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: 500;
	font-size: 15px;
	transition: all 0.3s ease;
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
}

.navtop div a:not(.logo)::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 3px;
	background-color: #28c768;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.navtop div a:not(.logo):hover::before {
	width: 80%;
}

.navtop div a i {
	padding: 0 8px 0 0;
	font-size: 18px;
	transition: transform 0.3s ease;
}

.navtop div a:not(.logo):hover {
	color: #ffffff;
	transform: translateY(-1px);
}

.navtop div a:hover i {
	transform: scale(1.1);
}

/* Add a subtle animation on page load */
@keyframes slideDown {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.navtop {
	animation: slideDown 0.5s ease-out;
}


body.loggedin {
	background-color: #f3f4f7;
}
.content {
	width: 1000px;
	margin: 0 auto;
	color: #404040;
}
.content h2 {
	margin: 0;
	padding: 25px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #404040;
}
.content > p, .content > div {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 25px 0;
	padding: 25px;
	background-color: #fff;
}
.content > p table td, .content > div table td {
	padding: 5px;
}
.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}
.register {
	width: 60%;
	max-width: 400px; /* Ensures form items are one per line, similar to .login */
	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
	margin: 100px auto;
}
.register h1 {
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);

  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.register form {
	background-color: rgba(255, 255, 255, 0.4);
	box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding: 20px 0 20px 0;
}
.register form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
 	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.register form input[type="password"], .register form input[type="text"], .register form input[type="email"], .register form input[type="phone"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	padding: 0 15px;
}
.register form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
  	margin-top: 20px;
  	background-color: #3274d6;
 	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.register form input[type="submit"]:hover {
	background-color: #c72868;
  	transition: background-color 0.2s;
}

.button {
  	color: #ffffff;
  background-color: #4480f0;
  border: solid 2px black;
  padding: .375em 1.125em;
  font-size: 1rem;
  transition: background-color 0.2s;
  box-shadow: 0 0px 0px hsla(190deg, 15%, 5%, .2);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.button:hover {
	background-color: #18b758;
  	transition: background-color 0.2s;
}
