body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #4c5544;
  color: white;
}

.navbar .nav-right {
  display: flex;
  align-items: center;
}

.btn {
  padding: 0.5rem 1rem;
  background-color: #7fad52;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #5da23c;
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-container h2 {
  color: #7fad52;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.error-text {
  color: #ff0000;
  margin-top: 1rem;
  text-align: center;
}

.content {
  padding: 2rem;
  text-align: center;
}
/* Add this new CSS rule */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Creates two equal-width columns */
  gap: 1rem; /* Adds spacing between the grid items */
  max-width: 800px; /* Optional: Sets a max width for the form */
  margin: 0 auto; /* Optional: Centers the form on the page */
}

/* Update this rule to target the inputs inside the form-grid */
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.navbar .nav-menu {
  display: none; /* Hide the menu by default */
  flex-direction: column;
  position: absolute; /* Position it for an overlay effect */
  top: 60px; /* Adjust based on navbar height */
  left: 0;
  width: 100%;
  background-color: #4c5544;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar .nav-menu.active {
  display: flex; /* Show the menu when the 'active' class is present */
}

.navbar .nav-menu a {
  padding: 0.75rem 2rem;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .nav-menu a:hover {
  background-color: #5da23c;
}

@media (min-width: 768px) {
  .hamburger-menu {
    display: none; /* Hide hamburger icon on larger screens */
  }

  .navbar .nav-menu {
    position: static;
    flex-direction: row;
    display: flex; /* Always show the menu on larger screens */
    background-color: transparent;
    box-shadow: none;
  }

  .navbar .nav-menu a {
    border-bottom: none;
  }
}

.hamburger-menu {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.back-link {
  color: white;
}
