/* General Reset */
body {
  margin: 0;
  padding:0;
  font-family: Arial, sans-serif;
  background-color:  rgb(230, 230, 230);
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
}

/* Navigation Bar Styles */
nav {
  display: flex;
  align-items: center;
  background-color: rgb(51, 51, 51);
  padding: 10px 20px;
  color: white;
  position: fixed;
  top: 0;
  width: 98%;
  z-index: 10000; 
}

/* Logo */
.logo {
width: 110px; 
height: 80px;
}

/* Navigation Links */
.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-grow: 1; /* Pushes navbar to take all the space */
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  transition: background-color 0.3s;
}

.navbar a.active, .navbar a:hover {
  background-color: rgb(85, 85, 85);
  border-radius: 5px;
}

.profile-link {
  margin-left: auto; /* Pushes auth links to the far right */
  display: flex;
  align-items: center;
}

.profile-img {
  width: 20px; /* Set desired size */
  height: 20px;
  border-radius: 50%; /* Makes the image round */
  object-fit: cover; /* Ensures the image stays in a circle without stretching */
  margin-left: auto; /* Moves the image to the left */
  width: 90px; 
  height: 80px;
}

/* Authentication Links (Sign Up/Login) */
.auth-links {
  margin-left: auto; /* Pushes auth links to the far right */
  display: flex;
  align-items: center;
}

.auth-links a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  padding: 8px 12px;
  border: 1px solid white;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s;
}

.auth-links a:hover a {
  background-color: white;
  color: #333;
}


h1 {
  text-align: center;
  font-size: 18px;
  color: #333;
  font-weight: bold;
  padding: 20px 0;
  }
h2 {
  padding: 20px 0;
  margin: 5px; 
}
  
p {
  text-align: left;
  font-size: 18px;
  color: #010101;
  padding: 10px 0;
  margin: 10px;
}

/* Table Styling */
table {
  width: 80%; /* Set the table width to 80% of the container or set a specific pixel width */
  border-collapse: collapse;
  margin: 20px auto; /* Centers the table horizontally */
  }

/*Forms*/

form {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;

  width: 100%;
  max-width: 400px;
  text-align: center;
}
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input, select, button {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.center-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
}
form {
  width: 100%;
  max-width: 100%;
  padding-right: 30px;
  padding-left: 10px;
  background-color: white;
  border-radius: 10px;
 
}