/* Center the login form vertically and horizontally */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Ensure the form is centered vertically */
  background-color: #3666A7; /* Dark gray background color for the entire page */
  margin: 0;
   font-family: Arial, sans-serif; /* Set font to Arial */
}

/* Common styles for both forms */
.login-wrap,
.register-wrap {
  background-color: #ffffff; /* White background color for the form */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  max-width: 400px;
  width: 100%; /* Ensure the form is full-width within the container */
  text-align: center; /* Center the form content */
}

/* Input and button styles */
input[type="text"],
input[type="password"],
button {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box; /* Ensure the input width includes padding and border */
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

button {
  background: #3498db;
  color: white;
  font-weight: 500;
  cursor: pointer;
}

button:hover {
  background: #2980b9;
}

/* Error message styles */
.error {
  text-align: center;
  color: #e74c3c;
  font-size: 14px;
  margin-top: 10px;
}

/* Link styles */
a {
  text-decoration: none;
  color: #3498db;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}
/* Your existing CSS styles for top header can be applied here */

body {
  margin: 0;
  padding: 0;
}

.top-header {
  background: #3374FF;
  color: #ffffff;
  width: 100%;
  height:50px;
  position: fixed; /* Fixed position to keep it at the top */
  top: 0; /* Stick it to the top of the viewport */
  left: 0;
  z-index: 100; /* Ensure it appears above other content */
}

.menu {
  display: flex;
  justify-content: center;
}

.menu-list {
  list-style: none;
  display: flex;
  margin: 5;
  padding: 0;
  width: 100%; /* Full width */
  justify-content: space-around; /* To evenly distribute menu items */
}

.menu-list li {
  margin: 0;
  text-align: center;
}

a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 10px; /* Adjust padding to reduce space between items */
}