.admin-header {
  height: 80px;
  background-color: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: var(--transition);
}

.menu-toggle:hover {
  background-color: var(--bg-color);
  color: var(--primary-color);
}

.welcome-msg h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--text-dark);
}

.welcome-msg p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
}

.search-bar input {
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 250px;
  font-size: 14px;
  background-color: var(--bg-color);
  transition: var(--transition);
  outline: none;
}

.search-bar input:focus {
  border-color: var(--primary-color);
  width: 280px;
  background-color: #fff;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.icon-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-dark);
  position: relative;
  transition: var(--transition);
}

.icon-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-color: var(--primary-light);
}

.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.profile-menu {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.profile-trigger:hover {
  background-color: var(--bg-color);
}

.avatar {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-info .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.profile-info .role {
  font-size: 12px;
  color: var(--text-muted);
}

.dropdown-icon {
  color: var(--text-muted);
}

.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  width: 200px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}

.dropdown-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background-color: var(--bg-color);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 4px 0;
}

.text-danger {
  color: var(--danger);
}

.text-danger:hover {
  background-color: #fee2e2;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .welcome-msg {
    display: none;
  }
  
  .search-bar {
    display: none;
  }
  
  .profile-info {
    display: none;
  }
}
