.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 2001;
}

.header-left {
  display: flex;
  align-items: center; /* Center items vertically */
  gap: 12px;
}

#sidebarToggle {
  display: block;
}

@media (min-width: 768px) {
  #sidebarToggle {
    display: none;
  }
}

.logo {
  height: 30px;
}

.title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 30px; /* Match the height of the logo */
  margin-bottom: 0;
}

.menu-icon {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted-foreground);
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.search-box {
  background: var(--card);
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  color: var(--muted-foreground);
}

.search-box i {
  margin-right: 8px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
}

.header-right {
  display: none;
  align-items: center;
  gap: 20px;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .header-right {
    display: flex;
  }
}

.header-right i {
  font-size: 1.2rem;
  cursor: pointer;
}

.notification-icon {
  position: relative;
}

.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger);
  color: var(--danger-foreground);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 50%;
}

.user-avatar {
  font-size: 1.6rem;
  color: var(--muted-foreground);
}
