/* General Styles */
body {
  font-family: 'Arial', sans-serif; /* Base font */
  margin: 0;
  padding: 0;
  background-color: #f4f4f4; /* Light gray background */
  color: #333; /* Default text color */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  height: 100vh; /* Full viewport height */
  margin: 0; /* Remove default margin */
}

.panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center content */
  margin: 0 auto; /* Center the panel */
  max-width: 1200px; /* Maximum width */
}

/* Page Header Styles */
.page-header {
  padding: 1.2rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff; /* White background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.logo img {
  width: 11.3rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  justify-content: center;
}

.nav-menu li {
  margin-right: 3.2rem;
}

.nav-menu a {
  text-transform: capitalize;
  padding: 1rem;
  font-size: 1.8rem;
  color: #8e8e8e;
}

.nav-menu a.active {
  color: #002e5b !important;
}

.logout-item {
  margin-left: auto;
}

.menu-toggle {
  display: none;
}

/* Login Panel Styles */
.login-panel {
  background: white; /* White background for the login panel */
  padding: 2rem;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
  margin: auto; /* Center the panel */
}

.header {
  text-align: center; /* Center logo */
  margin-bottom: 1.5rem; /* Space below header */
}

.title {
  font-size: 2.4rem; /* Title font size */
  font-weight: 600; /* Bold title */
  margin-bottom: 1.5rem; /* Space below title */
}

.input-group {
  margin-bottom: 1.5rem; /* Space between input fields */
  width: 100%; /* Ensure input fields take full width */
}}

.form-control {
  width: 100%; /* Full-width inputs */
  padding: 0.8rem; /* Inner spacing */
  border: 1px solid #ccc; /* Light gray border */
  border-radius: 4px; /* Slightly rounded borders */
  box-sizing: border-box; /* Include padding in width calculation */
}

.form-control:focus {
  border-color: #0056b3; /* Change border color on focus */
  outline: none; /* Remove default outline */
}

.btn {
  background-color: #0056b3; /* Button background color */
  color: white; /* Button text color */
  padding: 0.8rem; /* Inner spacing */
  border: none; /* Remove default border */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor */
  width: 100%; /* Full-width button */
  font-size: 1.6rem; /* Button text size */
  box-sizing: border-box; /* Include padding in width calculation */
}

.btn:hover {
  opacity: 0.9; /* Slightly fade on hover */
}

/* Error Message */
#errorMessage {
  color: red; /* Red color for error messages */
  margin-top: 1rem; /* Space above error message */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-header {
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-start; /* Align items to the start */
  }

  .nav-menu {
    display: none; /* Hide menu by default on mobile */
    flex-direction: column; /* Stack vertically */
  }

  .menu-toggle {
    display: block; /* Show toggle button on mobile */
    margin-top: 1rem; /* Space above button */
  }

  .nav-menu.active {
    display: flex; /* Show menu when active */
  }

  .login-panel {
    width: 90%; /* Responsive width for login panel */
    margin: 2rem auto; /* Center with margin */
  }
}

.login-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-img img {
  max-width: 100%; /* Ensure the image is responsive */
  height: auto; /* Maintain aspect ratio */
}

