.nav-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.searchBar {
  display: flex;
  gap: 8px;
  padding: 16px;
}

.refresh-btn {
  // 只针对当前模块的refresh-btn按钮进行样式设置
  &.ant-btn {
    height: 38px !important;
    width: 40px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    min-width: 40px !important;
    flex-shrink: 0 !important;
  }
}

.bg {
  padding-bottom: 20px;
}

.taskList {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px;
}

.emptyCard {
  text-align: center;
  padding: 48px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.taskCard {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 20px 16px 12px 16px;
}

.taskHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.taskTitle {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

.taskActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.taskInfoGrid {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;

  > div {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

.taskFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
  border-top: 1px dashed #eee;
  padding-top: 8px;
  margin-top: 8px;
}

// CardMenu 样式
.menu-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  color: #666;

  &:hover {
    background: #f5f5f5;
  }
}

.menu-dropdown {
  position: absolute;
  right: 0;
  top: 28px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
  min-width: 120px;
  padding: 4px;
  border: 1px solid #e5e5e5;
}

.menu-item {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
  font-size: 14px;
  gap: 8px;
  transition: background 0.2s;

  &:hover {
    background: #f5f5f5;
  }

  &.danger {
    color: #ff4d4f;

    &:hover {
      background: #fff2f0;
    }
  }
}

@media (max-width: 600px) {
  .taskCard {
    padding: 12px 6px 8px 6px;
  }
  .taskInfoGrid {
    flex-direction: column;
    gap: 8px;
  }
}
