body {
  font-family: Arial, sans-serif;
  display: flex;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
}

.container {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
  margin-bottom: 20px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  align-items: center;
}

.options a,
.login-btn {
  text-decoration: none;
  padding: 15px 40px;
  background-color: #3498db;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer; /* Makes the button look clickable */
  min-width: 200px;
  text-align: center;
}

.options a:hover,
.login-btn:hover {
  background-color: #2a81bb;
}

.options a.logout-btn {
  padding: 10px 20px;
  background-color: #e04b2d;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer; /* Makes the button look clickable */
}

.options a.logout-btn:hover {
  background-color: #9a331f;
}

.btn-primary {
  background-color: #2ecc71;
  border: none;
}

.btn-primary:hover {
  background-color: #239f57;
  border: none;
}

#flash-container {
  position: fixed; /* Ensure it stays at the top */
  top: 20px; /* Position it from the top */
  width: 100%; /* Take up the full width of the viewport */
  text-align: center; /* Center the flash messages */
  z-index: 1000; /* Ensure it's on top of other content */
}

.flash-message {
  display: inline-block; /* Make the flash message only as wide as its content */
  top: 20px;
  padding: 10px 20px;
  color: white;
  border: #9a331f;
  background-color:rgb(227, 138, 3);
  border-width: thick;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0.9;
  transition: opacity 0.2s ease-in;
  transition: opacity 0.5s ease-out;
}

/* Different category colors (optional) */
.flash-message.error { background-color: #e04b2d; }
.flash-message.success { background-color: #2ecc71; }


.admin-container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 250px;
  background-color: #fefefe;
  color: #272727;
  padding: 20px;
}

.sidebar a {
  display: block;
  color: #272727;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin-bottom: 10px;
}

.sidebar a:hover {
  background-color: #2a81bb;
  color: white;
}

.container-fluid {
  height: 100vh; /* Full viewport height */
  display: flex; /* Flexbox layout */
}

.sidebar {
  background-color: #f8f9fa; /* Light background */
  border-right: 1px solid #f1f1f1; /* Right border */
  min-width: 250px; /* Minimum width for the sidebar */
  flex-shrink: 0; /* Prevent the sidebar from shrinking */
  height: 100%; /* Full height */
  overflow-y: auto; /* Scrollable if content is long */
}

.main-content {
  flex-grow: 1; /* Takes up remaining space */
  overflow-y: auto; /* Allow scrolling if content is too long */
  padding: 20px; /* Padding around the content */
}

.table-container {
  text-align: center;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.data-table {
  width: 100%; /* Ensure the table is responsive and full width */
  border-collapse: collapse; /* Clean up borders */
}

.data-table th, .data-table td {
  padding: 10px; /* Padding for table cells */
  text-align: left; /* Left align text */
  border: 1px solid #ddd; /* Border for table cells */
}

/* 
.sidebar {
  border: 2px solid red;
}

.main-content {
  border: 2px solid blue;
}

.table-container {
  border: 2px solid green;
} */
