/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  color: #333;
}

.forgot-form {
	display: none;
	margin-top: 20px;
}

/* Header Title Styling */
.header-title {
  background-color: #f8f9fa;
  color: #333;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Space between logo and text */
}

.header-title h1 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.header-title .logo {
  height: 32px; /* Match logo height to text size */
  width: auto;
}

/* Menu Header Styling */
.menu-header {
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 2px solid #ddd;
  display: flex;
  justify-content: center;
}

.menu-header ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu-header ul li {
  position: relative;
}

.menu-header ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  padding: 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.menu-header ul li a:hover {
  color: #007BFF;
}

/* Dropdown Styling */
.menu-header ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.menu-header ul li .dropdown li {
  width: 150px;
}

.menu-header ul li .dropdown li a {
  padding: 12px;
  color: #333;
  font-weight: normal;
}

.menu-header ul li .dropdown li a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover */
.menu-header ul li:hover .dropdown {
  display: block;
}

/* Center and Style Main Body */
main {
  max-width: 1800px; /* Increased width */
  margin: 40px auto; /* Center horizontally */
  padding: 20px; /* Increased padding */
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
  border-radius: 8px;
}

/* Footer Styling */
footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  border-top: 2px solid #ddd;
  margin-top: 20px;
}

/* Login Page Styling */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.login-container label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-container button {
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #0056b3;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

//* Logout Button Styling */
.logout-form {
    display: inline-block;
    margin-left: 20px;
}

.logout-button {
    background-color: #f4f4f9; /* Match main body grey */
    color: #333; /* Dark text for contrast */
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, border 0.3s ease;
}

.logout-button:hover {
    background-color: #e0e0e5; /* Slightly darker grey on hover */
    border: 1px solid #aaa;
}
