body {
  background-color: #f8f9fa;
}

/* Top navbar card style */
.top-navbar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sidebar style */
.sidebar {
  background-color: #fff;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  padding-top: 70px; /* offset navbar height */
  box-shadow: 2px 0 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: width 0.3s ease;
}

.sidebar.collapsed {
  width: 70px;
}

.sidebar a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sidebar a i {
  margin-right: 10px;
  min-width: 20px;
  text-align: center;
}

.sidebar.collapsed a span {
  display: none; /* hide text when collapsed */
}

.sidebar a:hover {
  background-color: #f1f1f1;
  border-radius: 8px;
}

/* Main content adjustment */
.content {
  margin-left: 250px;
  padding: 20px;
  transition: margin-left 0.3s ease;
}

.content.collapsed {
  margin-left: 70px;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
