
body {
    margin: 1.5rem;
    background-color: #fafafa;
    background-image: url("../img/nature2.webp");
    background-attachment: fixed;
}
.card {
    border-radius: 8px;
}
.dashboard-btn,
.logout-btn {
  position: absolute;
  top: 20px;
  /* Common button styling */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Positioning: Dashboard button is left of the logout button */
.dashboard-btn {
  right: 150px; /* Adjust for spacing */
  background-color: #2196F3; /* Blue */
}

.dashboard-btn:hover {
  background-color: #1976D2; 
  transform: translateY(-1px);
}

.dashboard-btn:active {
  background-color: #1565C0;
  transform: translateY(1px);
}

/* Logout button to the far right */
.logout-btn {
  right: 20px;
  background-color: #f44336; /* Red */
}

.logout-btn:hover {
  background-color: #d32f2f;
  transform: translateY(-1px);
}

.logout-btn:active {
  background-color: #b71c1c;
  transform: translateY(1px);
}

.card-header {
    background-color: #0d6efd;
    color: #fff;
}
.table thead th {
    background-color: #f8f9fa;
    white-space: nowrap;
}
.table-container {
    margin-bottom: 50px;
}
.filter-links {
    margin-bottom: 15px;
}
.table td, .table th {
    vertical-align: middle;
}
.bx-edit {
    font-size: 1.2rem;
    color: #0d6efd;
}
.bx-trash {
    font-size: 1.2rem;
    color: #dc3545;
}
.sort-icons a {
    text-decoration: none;
    margin-left: 3px;
    color: #666;
}
.sort-icons a:hover {
    color: #000;
}
