/* General styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.login-container {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
}

.logo {
  width: 80px;
  margin-bottom: 10px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hidden {
  display: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

input, select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 95%;
}

.btn {
  background: #964707;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover {
  background: #ff6804;
}

.error-message {
  color: red;
  font-size: 14px;
}
.dashboard-container {
  width: 80%;
  margin: auto;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #28a745;
  color: white;
}

button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  opacity: 0.8;
}
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}
.dashboard-container {
  width: 80%;
  margin: auto;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #28a745;
  color: white;
}

button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  opacity: 0.8;
}

#userFilter {
  padding: 8px;
  margin-bottom: 10px;
}
/* Sidebar Menu */
/* Sidebar Menu */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 100%;
  background: #333;
  color: white;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
  transform: translateX(0); /* Ensure it's visible by default */
}

.sidebar h2 {
  text-align: center;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  display: block;
}

.sidebar ul li a:hover {
  background: #444;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 10px;
  left: 10px;
}

/* Hide Sidebar by Default on Mobile */
@media (max-width: 768px) {
  .sidebar {
      transform: translateX(-100%);
      position: fixed;
  }
  .menu-toggle {
      display: block;
  }
  .sidebar.open {
      transform: translateX(0);
  }
}

/* Content Section */
.content {
  margin-left: 250px;
  padding: 20px;
}

@media (max-width: 768px) {
  .content {
      margin-left: 0;
  }
}

/* Hide Sections */
.hidden {
  display: none;
}
